Folder Permissions
Running a samba server in a W2k environment.
Having trouble with configuring permissions on a shared samba network folder. I added a new folder, then added a new group, then changed permissions and group to match the necessary permissions - 770. folder name = managers group name = managers I editted /etc/group and added the users who will need access to the folder. Some managers are able to access the folder while others are not. *** NOTE: I have not restarted smb/nmb *** Below is the smb.conf file... printcap name = /etc/printcap log file = /var/log/samba-log.%m lock directory = /var/lock/samba share modes = yes ;security = share security = domain workgroup = abc wins support = true encrypt passwords = yes netbios name = ezekial-b netbios aliases = doc usr load printers = yes preserve case = yes oplocks = false utmp = yes ;profile acls = yes ;utmp consolidate = yes password server = xyz [documents] comment = network documents path = /raid/smb/doc browseable = yes write list = @users read list = @users read only = no public = yes directory mode = 6775 veto files = /*Ne*:/~$*.doc/ force create mode = 0765 force directory mode = 0777 force group = users |
Quote:
2. Have you been banned from Steam? Check your console. 3. Ignore the above advice and restart smb/nmb. 4. Why does the 'write list' line say 'users' and not 'managers'? I know bugger all about samba, except what I learnt off their howto's on samba.org. -pcweirdo. |
pcweirdo,
In regards to your first two suggestions, that's too funny! Thanks for the laugh! In regards to "write list = @users" - all employees are in the users list including the managers who cannot access the new folder. In a nutshell the directory structure looks like this...would this configuration prevent certain managers from accessing the folder? /raid/smb/documents = users /raid/smb/documents/managers = managers |
Quote:
* Where is the users list set? Is this some samba built-in entity? * When I hit this kind of thing, I generally start chmod'ing things to 777 (global rwx) and see if it works that way. My keyboard here at home feels really nice today; it could be because the man who had my desk before me at work caked it with food scraps... Let it be a little inspiration to take care of your keyboard. -pcweirdo. |
PCWeirdo,
Sorry for the long delay, got side tracked on another project. Turns out the setting I had worked after restarting smb. So that's answer...in almost every case if something doesn't work...restart it...smile. Thanks for your input! |
Well there you go. Glad I could be of, uh, input.
Take care now, -pcweirdo. |
All times are GMT -5. The time now is 08:15 PM. |