• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help! Samba Question for Linux!!!

Dragnov

Diamond Member
I have Samba up and running and I can access everything. It's set to allow writeable permissions, but it only works for the root folder (of the specific folder address that is shared.) It doesn't allow me to write into any of the subfolders. Anybody know the solution? Thanks.
 
Check the permissions on the files, if you can write somewhere in the share it's most likely not a samba problem.
 
Try setting recursive permissions on the parent folder using the chmod command with the -R switch; Samba doesn't automagically inherit file and folder permissions from the parent folder.
 
Samba doesn't automagically inherit file and folder permissions from the parent folder.

With the inherit permissions (S) setting it will.

From smb.conf(5) man page:

inherit permissions (S)
The permissions on new files and directories are normally governed by create mask, directory mask,
force create mode and force directory mode but the boolean inherit permissions parameter overrides this.

New directories inherit the mode of the parent directory, including bits such as setgid.

New files inherit their read/write bits from the parent directory. Their execute bits continue to be
determined by map archive , map hidden and map system as usual.

Note that the setuid bit is never set via inheritance (the code explicitly prohibits this).

This can be particularly useful on large systems with many users, perhaps several thousand, to allow a
single [homes] share to be used flexibly by each user.

See also create mask , directory mask, force create mode and force directory mode .

Default: inherit permissions = no
 
Thanks guys. As Nothinman knew it wasn't a samba problem. I had to use the chmod to allow read, write, and executeable access recursively to everyone. All is working now. Appreciate your help.
 
Back
Top