LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2006, 04:29 PM   #1
HeReigns
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
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
 
Old 02-26-2006, 01:21 AM   #2
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Rep: Reputation: 15
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.
 
Old 02-27-2006, 10:30 AM   #3
HeReigns
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
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
 
Old 02-28-2006, 04:37 AM   #4
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Rep: Reputation: 15
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.
 
Old 03-07-2006, 04:33 PM   #5
HeReigns
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
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!
 
Old 03-08-2006, 03:36 AM   #6
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Rep: Reputation: 15
Well there you go. Glad I could be of, uh, input.

Take care now,
-pcweirdo.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
folder permissions steve007 Linux - Newbie 1 06-30-2005 12:46 PM
folder permissions Godsmacker777 Linux - Newbie 4 12-02-2004 10:26 PM
Folder permissions help Seventh Linux - Newbie 2 04-22-2004 05:56 PM
Folder Permissions DB03 Linux - Newbie 5 04-18-2004 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration