Rename is allowed after setting ACL

VigneshDhanraj G vigneshdhanraj.g at gmail.com
Tue Sep 20 07:08:21 UTC 2016


In Windows, if i denied the permissions i am not able to rename.

getfacl output for cifs share-

getfacl /home/dhanraj/Picture.png

# file: home/dhanraj/Picture.png
# owner: nobody
# group: users
user::rw-
user:nobody:rw-
user:*vignesh*:---
group::rw-
group:users:rw-
mask::rwx
other::rw-

I denied permission for the user 'vignesh'  but still able to rename the
file 'Picture.png'.
Whereis in 4.0.9 renaming itself is denied for above set permission.


Regards,
Vigneshdhanraj G



On Tue, Sep 20, 2016 at 2:13 AM, Jeremy Allison <jra at samba.org> wrote:

> On Mon, Sep 19, 2016 at 01:30:16PM +0530, VigneshDhanraj G wrote:
> > Thanks,
> >
> > i have checked in old version of samba (4.0.9) rename is not allowed for
> > the file for which i denied the rwx permission for a particular user B.
> >
> > Now i am using 4.3.11
> >
> > Is this is the functionality change?
>
> Probably. We may have added a test that allows
> us to do "what Windows does" (tm:-).
>


More information about the samba-technical mailing list