EnforcerMP
Cadet
- Joined
- Feb 11, 2024
- Messages
- 1
Hello everyone,
I am trying to build a TrueNAS Scale server for home use (so no Active Directory or LDAP issues to worry about in this context), and I'm using Cobia (version 23.10.1.1, to be exact). Both Linux and Windows machines need to be able to access the files, so this pretty much forces me to use SMB shares. However, I am encountering an issue regarding permissions.
If I am not mistaken, the following is standard practice in the Unix permission world:
I tried to perform the steps mentioned in this thread (which involve using auxiliary share parameters to set the create mask), but I ran into a few issues:
Thank you for your consideration.
I am trying to build a TrueNAS Scale server for home use (so no Active Directory or LDAP issues to worry about in this context), and I'm using Cobia (version 23.10.1.1, to be exact). Both Linux and Windows machines need to be able to access the files, so this pretty much forces me to use SMB shares. However, I am encountering an issue regarding permissions.
If I am not mistaken, the following is standard practice in the Unix permission world:
- Directories need to have (at least) the execute bit set if the files they contain are to be accessible in any way
- On the other hand, files should only have the execute bit set if they are actually executable files
- Both files and directories have their execute bit set, which means that files that are not actually executable (such as office documents, pictures, audio files, and videos) can be executed as programs
- Neither files or directories have their execute bit set, which means that I cannot access directories that I create
I tried to perform the steps mentioned in this thread (which involve using auxiliary share parameters to set the create mask), but I ran into a few issues:
- To the best of my knowledge, the use of auxiliary parameters seems discouraged unless strictly necessary
- Perhaps as a way to illustrate (1), the auxiliary parameters field has been removed from both the share configuration and the SMB service configuration screen
- Trying to set the create mask using either the CLI or the File Mask field in the Advanced Settings section of the SMB service configuration screen does not seem to work (its default value is 0666 which should accomplish what I want, but it seems to be ignored when I create a file via the share).
Thank you for your consideration.