Netatalk CentOS 8 Network Share
Netatalk CentOS 8 Network Share
octlabs / centos_afpd.md
Last active 3 years ago • Report abuse
Star
Code Revisions 3
centos_afpd.md
Also with cloud hub to store files local for faster access and not to have to store the data on all end devices.
Linux Users: cloud, employee1, employee2, employee3 ... all with same gid=100(users)
Prepare
Set privilges to cloud user wen sync by client to use valid create mask
vi /etc/profile
/etc/netatalk/afp.conf
[Global]
hostname = omega
uam list = uams_dhx2.so
disconnect time = 3
sleep time = 2
log file = /var/log/netatalk.log
zeroconf = yes
save password = no
[Homes]
basedir regex = /home
home name = $u
[cloud]
path = /vol1/cloud
valid users = employee1, employee2, employee3
file perm = 0660
https://gist.github.com/octlabs/904a346c778beba6c528aca4266d7efe 1/2
2023/10/30 23:29 Netatalk CentOS 8 network share
directory perm = 4770
[customers]
path = /vol1/shares/customers
valid users = employee1, employee2
file perm = 0660
directory perm = 4770
[projects]
path = /vol1/shares/projects
valid users = employee4, employee5
file perm = 0660
directory perm = 4770
crontab
https://gist.github.com/octlabs/904a346c778beba6c528aca4266d7efe 2/2