Hi,
In Unix, by the command of, for example,
, we define the default file privileges when the users created files and folders.
I use Netatalk to share server files more conveniently and easily. However, I found that the default file and folder privileges assigned by Netatalk were: rwxr-sr-x
I searched the Internet and found the default file and folder privilege assigned from Netatalk would be modified by the command of afpd -m, however, when I tested this command on my machine it did not work. I used this command.
In Unix, by the command of, for example,
Code:
umask -S u=rwx,g=rwxs,0=rx
I use Netatalk to share server files more conveniently and easily. However, I found that the default file and folder privileges assigned by Netatalk were: rwxr-sr-x
Code:
thsiung@home-server:~$ ls -li /data/www/html
total 12
8126465 drwxr-xr-x 6 thsiung thsiung 4096 Feb 19 20:54 documents
11010590 drwxr-s--- 3 thsiung thsiung 4096 Feb 20 18:45 test
11141134 drwxr-sr-x 3 thsiung thsiung 4096 Feb 20 18:48 test_2
I searched the Internet and found the default file and folder privilege assigned from Netatalk would be modified by the command of afpd -m, however, when I tested this command on my machine it did not work. I used this command.
Code:
thsiung@home-server:~$ afpd -m 0022