43.8. Editing File Permission Settings

File shares have several settings related to the UNIX permissions, and ownership of files within them, that can be set globally or on a per-share basis. Because Windows clients and the SMB protocol have no concept of permissions, it is useful to have a way to set the defaults for new files and directories on a per-share basis. To do this, follow these steps:

1.
On the module's main page, click on the name of the share for which you want to set permissions, then click on the File Permissions icon on its editing page.
2.
In the New UNIX file mode field, enter the octal permissions (as used by the chmod command) that should be assigned to newly created files. For example, mode 600 would allow reading and writing ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.