Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <76203E8A442EE741A78129848BEEC692079917AB@sdex05.sd.intuit.com> From: "French, David" To: "'cygwin AT cygwin DOT com'" Subject: ACL problem (no inheritance) Date: Mon, 14 Apr 2003 15:21:01 -0700 MIME-Version: 1.0 X-WSS-ID: 1285EBC44575063-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit I am having a problem with ACL inheritance. I understand that the ACL work in Cygwin is based on the Solaris ACL's. The problem is, it is not inheriting in cygwin, but does under Solaris. My Cygwin DLL version is: cygwin1.dll - version 1.3.22-dontuse-21 I have included an example of the problem. As you can see getfacl shows the extended ACL info. The problem is new files and new directories do not get these when created. I have tried many things, including using setfacl to explicitly define a set of ACL info, in case this was somehow needed. In all cases I have tried, it never passes the ACL info on to the new file or directory. Is this a bug, or am I doing something wrong? Any help would be appreciated. --Dave dkf AT Baxter /cygdrive/d/winnt $ pwd /cygdrive/d/winnt dkf AT Baxter /cygdrive/d/winnt $ echo $CYGWIN ntsec binmode tty dkf AT Baxter /cygdrive/d/winnt $ getfacl . # file: . # owner: Administrators # group: SYSTEM user::rwx group::rwx group:Users:r-x group:Power Users:rwx mask:rwx other:r-x default:user::--- default:user:Administrators:--- default:group:SYSTEM:--- default:group:Users:--- default:group:Power Users:--- default:mask:rwx dkf AT Baxter /cygdrive/d/winnt $ ecgo $CYGWIN bash: ecgo: command not found dkf AT Baxter /cygdrive/d/winnt $ touch D dkf AT Baxter /cygdrive/d/winnt $ ls -l D -rw-rw-rw- 1 dkf None 0 Apr 14 14:54 D dkf AT Baxter /cygdrive/d/winnt $ getfacl D # file: D # owner: dkf # group: None user::rw- group::rw- mask:rwx other:rw- dkf AT Baxter /cygdrive/d/winnt $ rm D dkf AT Baxter /cygdrive/d/winnt $ mkdir D dkf AT Baxter /cygdrive/d/winnt $ getfacl D # file: D # owner: dkf # group: None user::rwx group::rwx mask:rwx other:rwx default:user::rwx default:group::rwx default:other:rwx dkf AT Baxter /cygdrive/d/winnt $ rmdir D dkf AT Baxter /cygdrive/d/winnt $ cd D: dkf AT Baxter /cygdrive/d $ cd temp dkf AT Baxter /cygdrive/d/temp $ getfacl . # file: . # owner: Administrators # group: None user::--- group::--- mask:rwx other:rwx default:other:rwx dkf AT Baxter /cygdrive/d/temp $ setfacl -m d:u::rwx,d:g::rwx,d:o:rwx,d:g:Users:r-x,o:rwx . dkf AT Baxter /cygdrive/d/temp $ getfacl . # file: . # owner: Administrators # group: None user::--- group::--- mask:rwx other:rwx default:group::rwx default:group:Users:r-x default:mask:rwx default:other:rwx dkf AT Baxter /cygdrive/d/temp $ touch D dkf AT Baxter /cygdrive/d/temp $ getfacl D # file: D # owner: dkf # group: None user::rw- group::rw- mask:rwx other:rw- dkf AT Baxter /cygdrive/d/temp $ rm D dkf AT Baxter /cygdrive/d/temp $ getfacl D getfacl: No such file or directory dkf AT Baxter /cygdrive/d/temp $ mkdir D dkf AT Baxter /cygdrive/d/temp $ getfacl D # file: D # owner: dkf # group: None user::rwx group::rwx mask:rwx other:rwx default:user::rwx default:group::rwx default:other:rwx -- David French, System Engineer Intuit, Inc. - Production Business Systems Phone 858-525-8867, Pager 858-621-1171 For production emergencies call the Intuit Operations Center (IOC) 24x7 at 858-525-7273 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/