|
File and Directory Permissions-Based Controls
Directory permission-based controls, if misused, can result in considerable difficulty in diagnosing the causes of
misconfiguration. Use them sparingly and carefully. By gradually introducing each, one at a time, undesirable side
effects may be detected. In the event of a problem, always comment all of them out and then gradually reintroduce
them in a controlled way.
Refer to
File and Directory Permission Based Controls for information
regarding the parameters that may be used to set file and directory permission-based access controls.
Table15.3.File and Directory Permission-Based Controls
Control Parameter |
Description, Action, Notes |
create mask |
Refer to the smb.conf man page.
|
directory mask |
The octal modes used when converting DOS modes to UNIX modes when creating UNIX directories.
See also directory security mask.
|
dos filemode |
Enabling this parameter allows a user who has write access to the file to modify the permissions on it.
|
force create mode |
This parameter specifies a set of UNIX-mode bit permissions that will always be set on a file created by Samba.
|
force directory mode |
This parameter specifies a set of UNIX-mode bit permissions that will always be set on a directory created by Samba.
|
force directory security mode |
Controls UNIX permission bits modified when a Windows NT client is manipulating UNIX permissions on a directory.
|
force security mode |
Controls UNIX permission bits modified when a Windows NT client manipulates UNIX permissions.
|
hide unreadable |
Prevents clients from seeing the existence of files that cannot be read.
|
hide unwriteable files |
Prevents clients from seeing the existence of files that cannot be written to. Unwritable directories are shown as usual.
|
nt acl support |
This parameter controls whether smbd will attempt to map UNIX permissions into Windows NT ACLs.
|
security mask |
Controls UNIX permission bits modified when a Windows NT client is manipulating the UNIX permissions on a file.
|
|
|