[PATCH] Patches required for POSIX ACL support of GPOs

Jeremy Allison jra at samba.org
Fri May 11 15:27:48 MDT 2012


On Fri, May 11, 2012 at 12:57:41PM +0200, steve wrote:

> Hi Jeremy
> 
> Yes of course. Sorry. Here are the steps I used as root in /data:
> 
> mkdir reports
> chmod 0770 reports
> chgrp staff reports
> chmod g+s reports
> setfacl -d -Rm g::rwx reports
> 
> ls -l
> total 4
> drwxrws---+ 2 root staff 4096 May 11 09:03 reports
> 
>  getfacl reports
> # file: reports
> # owner: root
> # group: staff
> # flags: -s-
> user::rwx
> group::rwx
> other::---
> default:user::rwx
> default:group::rwx
> default:other::---
> 
> Linux clients work fine. We get rw-rw according to the acl when we
> create a file in the share.
> On windows, we can only edit the file if we are the owner of it. The
> group rw acl is not working.

Ok, so far so good. What you missed out :

"when we> create a file in the share"

When *who* created a file in the share. Create via Windows
or create via local Linux ?

You showed me the ACL on the share directory - great. What
are the ACLs on the created files you're trying to access ?

Where are the debug level 10 logs from smbd showing the
access failing ?

The information you've provided is a good start, but
still incomplete. Please create a new bug in bugzilla.samba.org
and I'll help you through the process of you getting me
what data I need in order to get it fixed.

This is detailed enough that we should stop spamming
the list with your specific problem.

Jeremy.


More information about the samba-technical mailing list