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

Re: RHEL4 - permissions/groups and Samba

use SGID for the directory


chgrp web_admin /var/www/html
chmod g+s /var/www/html

now check.

On 1/25/07, Gareth Llewellyn <gareth llewellyn itvision net> wrote:

Hope this helps:

-----Original Message-----
From: redhat-list-bounces redhat com
[mailto:redhat-list-bounces redhat com] On Behalf Of Davis, Jared Scott
Sent: 25 January 2007 16:53
To: General Red Hat Linux discussion list
Subject: RHEL4 - permissions/groups and Samba

I have multiple users editing documents in the www/html folder.  I set
up a group called web_admin that contains said users.  All of the files
under the web root are owned by my local account and the group is
web_admin.  We are using Samba to connect to the box.  The problem is as

I have a file:

-rwxrwxr-x  1 nilesn   web_admin  977 Jan 25 06:52 menu.css

When a user (davisjar) edits that file via Samba, the
permissions/owner/group change to this:

-rwxr--r--  1 davisjar davisjar   977 Jan 25 10:47 menu.css

Of couse I need the permissions and owner/group to stay the same.  Is
this a problem with Samba, i.e. some config option, or something else?


Jared Davis

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

Nilesh Vaghela
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.

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