I appreciate the help but this is not a Linux environment. You'll want rwx or r-x on directories.Īlso, any user can delete any file if they have write and execute on the file's directory, regardless of the permission modes or ownership of the file. If you set a directory permission to r-x, the user will be able to read the directory contents, and cd to the directory, but will not be able to remove, or create entries, in the directory. Write and execute on a directory means that the user can create, delete, rename and link entries in the directory. But "w"rite is not operative unless the user also has execute permission on the directory. Write permission on a directory allows users to create files (including subdirectories), in the directory. Absent "x" on a directory, a user won't be able to cd into the directory. The execute permission bit in Linux controls directory access. I setup a TEST first to make sure this was going to work at it failed miserably. We don't want them to create sub folders in the main shared folder, so they all have read access to it to map the drive and rw to the folders they need access to. We setup security groups for each folder and added users according to what folders they should have access to. Any help would be appreciated.Įach sub folder needs to have separate permissions. I tried it on another QNAP with out windows ACL turn on and got the same results. We have advanced folder permissions turn on and windows ACL turn on. The permissions are showing the same on the QNAP gui and in windows explorer. I have check the effective permissions and they have full control. The drive maps no problem, the user can open the folders they have rw access to and cannot open the other folders, they also cannot write to the folder the have rw access to. Each sub folder needs to have separate permissions. Currently all user have access to all folders. I tried doing a chmod and chgrp but that didn't seem to have any impact.We have a shared folder in our QNAP for "Finance Users" We have security group that all "Finance Users" are in and we use that to map the drive in a GPO. If I open my samba share as root then I can write to the folders. Permissions when viewed from ubuntu desktop "drwxr-xr-x 0 root root" Permissions on the server when viewed from the server "drwxrwxrwx 4 Craig Craig" Attempted to write a file and it says that I don't have write permissions.Mounted the samba share from linux desktop.Created a user and password in samba "smbuseradd -a craig" set the password.Created a user in ubuntu server (craig).I definitely have it misconfigured but I cannot find out how. Below is my smb.conf, the filesystem permissions, and the steps I followed. To me it looks like I have the correct permissions. For some reason I cannot write to my samba share. I have setup Samba between two linux boxes (Ubuntu Desktop 12.10 and Ubuntu Server 12.04).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |