RE: RHEL4 - permissions/groups and Samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,
Thanks for all the replies.

I changed the sgid bit by: chmod -R ug=s www

Then I used Jim's method by changing my smb.conf to this:
[www]
        path = /var/www
        valid users = davisjar, herrmanb, leisse, nilesn, shearerh, harrisjm
        writeable = yes
        create mask = 0775
        force directory mode = 0775
        read only = No

Now when I edit a file via Samba:
Before: -rwSrwSr-x  1 nilesn   web_admin 1908 Jan 26 11:35 global.css
After:  -rwxrw-r--  1 davisjar web_admin 1909 Jan 26 11:49 global.css

Not sure what's wrong.  FYI my Samba version is samba-3.0.10-1.4E.9

Thanks again,
 
Jared Davis
Internet Administrator
Residential Life
University of Missouri-Columbia
100 Pershing Hall
(573) 884-3616

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Jim Canfield
Sent: Friday, January 26, 2007 8:49 AM
To: General Red Hat Linux discussion list
Subject: Re: RHEL4 - permissions/groups and Samba

   Andrei Pascal wrote:

 Jim,

 I surely hope you meant the SGID bit (chmod g+s), not the sticky one -
 though the sticky bit might be a good idea as well (chmod +t).


  

   Correct!  Sorry for any confusion.

   Jim
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux