LinuxQuestions.org
Help answer threads with 0 replies.
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 01-09-2004, 07:42 PM   #1
calpha
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
samba directory ownership problems in domain mode


Samba server running fine in a w2k environment in domain mode. All users are authenticated correctly.

Here's the setup:
PDC:
User:
flash
chris
anna

Under Linux, I created a group named smb
then i did a useradd -g smb flash (chris, then anna)

then a smbpasswd -a for each of those users

So, what that should mean is that all my samba users are members of the same group, smb.

So I've got this folder named Downloads , that should be a completely open public folder. I set the bits on it as chmod 2777 /shared/Downloads -R

chown :smb /shared/Downloads -R

create mask in smb.conf = 2777

yet, if chris creates a folder, flash & anna can see it, but it is owned by chris, and they can't write to it. It functions more like a public user home directory then a true public folder.

What am I doing wrong?
smb.conf
Code:
[Downloads]
        comment = Shared Downloads
        path = /shared/Downloads
        read only = No
        create mask = 2777
ownership -lah
Code:
drwxr-sr-x    5 flash  smb          4.0K Feb  4  2003 911 BootCD/
drwxr-sr-x    8 flash  smb          4.0K Aug 14 22:21 Crystal/
drwxrwsr-x   11 root     smb          4.0K Sep  1 22:28 downloads/
drwxr-sr-x    3 flash  smb          4.0K Sep  2 21:39 from td-main/
drwxr-sr-x    4 flash  smb          4.0K Aug 14 22:30 FROM TDR-MAIN/
drwxr-sr-x    4 chris   smb          4.0K Nov  4 21:03 Linux/
drwxr-sr-x    2 anna smb          4.0K Jan  9 16:40 myDLs/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
connecting samba to a windows 2003 active directory domain Jcrofton Linux - Networking 8 09-17-2006 06:07 PM
ownership of directory lsu420luv Linux - General 1 06-09-2005 04:36 PM
Samba 3 in MS Active Directory domain psychobyte Linux - Software 3 10-16-2004 04:14 PM
Samba 3 domain member or W2k Active Directory Navtive Mode treedstang Linux - Networking 2 07-30-2004 10:04 PM
Samba security "permissions" in DOMAIN mode tisource Linux - Networking 3 05-09-2002 09:41 PM


All times are GMT -5. The time now is 02:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration