User permissions on Arch Linux setup
User permissions on Arch Linux setup
I configured a home NAS with Samba and inquired about setting individual user permissions for files. The NAS uses an ext4-formatted drive on Arch Linux.
Use chown and chmod to manage permissions, and as before, you typically handle groups for distinct permission configurations. Assign a folder or file to a specific group, and anyone required to access it should belong to that group.
When a folder lacks execution rights for the owner, listing becomes impossible. However, hiding certain files within a directory that users can access is generally not allowed, and you also can't conceal the directory's presence at the parent directory level.
It seems the files weren't displayed in the directory listing when Truenas Dirs was used without the appropriate permissions.
It’s probably possible to set up Samba at this setting, though it exceeds my current understanding—consult the documentation. It might be useful to use ACLs.