[Hudlug] file permissions in Samba

Anne Wilson cannewilson at tiscali.co.uk
Wed Nov 19 13:48:13 GMT 2003


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?




More information about the Hudlug mailing list