delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/10/20:51:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B736284.7010202@tlinx.org>
Date: Wed, 10 Feb 2010 17:51:00 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: setfacl -- upgrade? and/or add 'chacl'?
X-Stationery: 0.5.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Would it be possible to replace the setfacl in cygwin with the one
available in linux -- it's alot more powerful:

NAME
       setfacl - set file access control lists
SYNOPSIS
       setfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_file] file ...
       setfacl --restore=file
---
Notably it has "-R" for recursive
(full manpage avail on http://linux.die.net/man/1/setfacl)
----
Of course the 'chacl' command would be nice or better,
too. It's a bit more user friendly, IMO...:-).

( http://linux.die.net/man/1/chacl )

-d/D for directory ACLS, 
-r/R for only file acls
-b/B to change both file&dir ACLs
-l for list
-r for recursive

(only 1 command needed -- just use "list"; after all, with a
"get" operator, what do you "do" with the acl after you "get"
it"...not very intuitive if you ask me; sounds like it 
was written to mimic a system call -- not designed for humans)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019