Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-09-2004, 08:42 PM   #1
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:

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?
        comment = Shared Downloads
        path = /shared/Downloads
        read only = No
        create mask = 2777
ownership -lah
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/


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

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

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