Table 5.5: File (Web site translator) and Directory Permission Options Option

Table 5.5: File and Directory Permission Options Option Parameters Function Default Scope map archive boolean Preserve DOS archive attribute in user execute bit (0100). yes Share map system boolean Preserve DOS system attribute in group execute bit (0010). no Share map hidden boolean Preserve DOS hidden attribute in world execute bit (0001). no Share create mask (create mode) numeric Sets the maximum permissions for files created by Samba. 0744 Share directory mask (directory mode) numeric Sets the maximum permissions for directories created by Samba. 0755 Share force create mode numeric Forces the specified permissions (bitwise or) for directories created by Samba. 0000 Share force directory mode numeric Forces the specified permissions (bitwise or) for directories created by Samba. 0000 Share force group (group) string (group name) Sets the effective group for a user accessing this share. None Share force user string (username) Sets the effective username for a user accessing this share. None Share delete readonly boolean Allows a user to delete a read-only file from a writable directory. no Share 5.3.2.1 create mask The argument for this option is an octal number indicating which permission flags may be set at file creation by a client in a share. The default is 0755, which means the Unix owner can at most read, write, and optionally execute his or her own files, while members of the user s group and others can only read or execute them. If you need to change it for non-executable files, we recommend 0644, or rw-r–r–. Keep in mind that the execute bits may be used by the server to map certain DOS file attributes, as described earlier. If you re altering the create mask, those bits have to be part of the create mask as well. 5.3.2.2 directory mask The argument for this option is an octal number indicating which permission flags may be set at directory creation by a client in a share. The default is 0755, which allows everyone on the Unix side to at most read and traverse the directories, but allows only you to modify them. We recommend the mask 0750, removing access by world users. 162
You want to have a cheap webhost for your apache application, then check apache web hosting services.

Leave a Reply