[Hudlug] file permissions in Samba

Simon Fox-Jones simon at techteach.co.uk
Wed Nov 19 14:05:35 GMT 2003


Both users A and B are added to the group office and the permisions were are
set so that the group is RWX on the file in question , yet each time either
of the users uses the file they seem to take ownership and then change the
group permissions to R only, its very bizzare

-----Original Message-----
From: hudlug-bounces at mailman.lug.org.uk
[mailto:hudlug-bounces at mailman.lug.org.uk]On Behalf Of Anne Wilson
Sent: Wednesday, November 19, 2003 1:48 PM
To: HudLUG - Huddersfield Linux User Group
Subject: Re: [Hudlug] file permissions in Samba


On Wednesday 19 Nov 2003 1:38 pm, Simon Fox-Jones wrote:
> Dear all
>
> I have a problem with permissions
>
> I have a red hat 9 server running Samba for windows 2000 machines
>
> The profiles for the machines seems ok.
>
> I have set the General share to be be RWX root and RW group, Office
>
> One of the shared files will not keep it's permisions
>
> i.e
>
> A share of General mapped to be the general drive for the win200
> clients On the general drive is a folder called quickbooks
> One of the files need to be accesed by 2 users A and B
>
>
> each of the users can access the file and it works..... however
>
> If A accesses the file, afterwards the file permisions for the
> group is read only for the group and he becomes the owner.
>
> I then set the permissions back to owner RWX and group RW and B can
> use the file.
>
> Again when I next look at the file B has become RWX as owner and
> the group is read only
>
> I want A and B to have RWX for the file
>
>
> Does this make any sense to anyone???
>
If I understand what you are doing, I would go about it rather
differently.  I would create a group called 'accounts' and add to it
all the users that need access to quickbooks.  If you then set the
appropriate files with rwx for group, it won't matter which one has
used it last.  HTH

Anne
--
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


_______________________________________________
Hudlug mailing list - next meeting: 7 Oct 2003 2000 HOS
Hudlug at mailman.lug.org.uk  Questions to: hudlug-owner at mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/hudlug




More information about the Hudlug mailing list