[CentOS] Permissions question

mups.cp mups.cp at gmail.com
Mon Oct 1 16:37:17 UTC 2007

I think the 'force user' and 'force group' diretives are the right
answer for you question. Set this on your samba share and set the user
and group you want to maintain the owner and group permissions.

On 10/1/07, Todd Cary <todd at aristesoftware.com> wrote:
> My www directory is owned by "apache" and the group is "todd" and the
> permissions are 775.
> My Windows computers use Samba and they log into Linux with "todd".
> Under the www directory there are various directories which may have a
> group belonging to a user e.g. "viewpoint".  Using this example, there
> is a directory under www (acutally called httpd), "viewpoint" that is
> owned by "apache" and is a member of the "viewpoint" group.  "todd" is
> also a member of  the "viewpoint" group.
> Now this is the problem I do not know how to correct:  if "todd" using
> Samba creates a directory in "viewpoint", the owner and group is "todd"
> with 755 permissions.  Now if the "viewpoint" user tries to write to the
> directory, he does not have adequate permissions.
> Maybe I have not setup the owners and groups correctly.  maybe there is
> something I need to do with how Samba interacts with the server.
> Any suggestions will be appreciated...
> Todd
> --
> Ariste Software
> 2200 D Street Ext
> Petaluma, CA 94952
> (707) 773-4523
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

More information about the CentOS mailing list