[Samba] File permissions

mjb at SRINC.biz mjb at SRINC.biz
Wed Dec 3 17:56:26 GMT 2008


755 root.matt

I changed that to 755 root.root and changed the file permissions to 770 
bek.trusted (matt is part of the 'trusted' group).  Now I can open the 
file, but can't delete it.. I expected to be able to open it and delete 
it.. 




"John Drescher" <drescherjm at gmail.com> 
12/03/2008 11:49 AM

To
mjb at srinc.biz
cc
samba at lists.samba.org
Subject
Re: [Samba] File permissions






On Wed, Dec 3, 2008 at 12:42 PM,  <mjb at srinc.biz> wrote:
> Greetings,
>
> I'm running into a file permission issue.
>
> I have a share called "data" configured simply as:
>
> [data]
>         read only = no
>         path = /mnt/data
>
> For test purposes, I have a file called "t.jpg".
>
> -rwx------ 1 bek  bek    63793 2008-12-03 11:17 t.jpg
>
> I'm logged in as "matt" on my local computer.  If I try to open this 
file,
> I can't (which is what I expected).  However, I can delete this file..
> why?
>

What are the permissions of the folder that this file is in?

John



More information about the samba mailing list