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

RE: RHEL4 - permissions/groups and Samba

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:
        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 redhat com [mailto:redhat-list-bounces redhat com] 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:


 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.

redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=subscribe

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