LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Folder Permissions (https://www.linuxquestions.org/questions/linux-networking-3/folder-permissions-419220/)

HeReigns 02-24-2006 04:29 PM

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

pcweirdo 02-26-2006 01:21 AM

Quote:

Originally Posted by HeReigns
*** NOTE: I have not restarted smb/nmb ***
<snip>
write list = @users
read list = @users

1. Restart the service four times, reboot the computer, reinstall the operating system and pray to the SATA gods.
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.

HeReigns 02-27-2006 10:30 AM

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

pcweirdo 02-28-2006 04:37 AM

Quote:

Originally Posted by pcweirdo
I know bugger all about samba, except what I learnt off their howto's on samba.org.

I'm going to pull a swifty on you because I have horrible time management skills.

* 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.

HeReigns 03-07-2006 04:33 PM

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!

pcweirdo 03-08-2006 03:36 AM

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.