Difference between revisions of "AFP"

From Alessandro's Wiki
Line 1: Line 1:


this is the protocol used for network file sharing in Apple systems (at leas for the latest ones)
this is the protocol used for network file sharing in Apple systems (at leas for the latest ones)
Line 9: Line 8:
=== user permissions ===
=== user permissions ===


* in /etc/netatalk/AppleVolumes.default we can set the default permissions we want the service to use.
* in /etc/netatalk/AppleVolumes.default we can set the file permissions to use for each service.
 
** example: we have a network with an all-users group and we want them to be able to overwrite each-other files. Others can read:
in my example we have a network with all users in a group and we want them to be able to overwite each-other files:
*** umask:002
 
*** dperm:0775
* umask:002
*** fperm:0664
* dperm:0775
** default linux behaviour, with read only to group users.
* fperm:0665
*** umask:002
 
*** dperm:0755
* here the complete line:
*** fperm:0644


* the complete line:
  /directory/shared/ "Awesome Share" options:usedots,upriv,noadouble,nohex cnidscheme:cdb umask:002 dperm:0775 fperm:0665
  /directory/shared/ "Awesome Share" options:usedots,upriv,noadouble,nohex cnidscheme:cdb umask:002 dperm:0775 fperm:0665



Revision as of 17:44, 7 October 2011

this is the protocol used for network file sharing in Apple systems (at leas for the latest ones)


HOWTO

user permissions

  • in /etc/netatalk/AppleVolumes.default we can set the file permissions to use for each service.
    • example: we have a network with an all-users group and we want them to be able to overwrite each-other files. Others can read:
      • umask:002
      • dperm:0775
      • fperm:0664
    • default linux behaviour, with read only to group users.
      • umask:002
      • dperm:0755
      • fperm:0644
  • the complete line:
/directory/shared/ "Awesome Share" options:usedots,upriv,noadouble,nohex cnidscheme:cdb umask:002 dperm:0775 fperm:0665


veto files

veto: recycled/desktop.ini/Folder.htt/Folder Settings/