LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba directory ownership problems in domain mode (https://www.linuxquestions.org/questions/linux-networking-3/samba-directory-ownership-problems-in-domain-mode-133229/)

calpha 01-09-2004 07:42 PM

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/



All times are GMT -5. The time now is 09:10 PM.