Mail Archives: cygwin/2015/12/20/06:30:04
| X-Recipient: | archive-cygwin AT delorie DOT com
|
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:mime-version:content-type
|
| :content-transfer-encoding:date:from:to:subject:message-id; q=
|
| dns; s=default; b=OGK3Q/cpVaj6W00SESBoLPw90FgxF4Txq7EwLTHzePg+Nr
|
| eNtZjgrQEPBiTs+qnP/A2sPJxdB/hbHRGZ5PU2JZbozxzF1Lle2PhU3Ptnzy+hTM
|
| VnGU4i3mxmTpqG4QCIP1W7CLGB+FVQ0dxQLtSSNvu1mr7mCDmr2rBIW3DaqW0=
|
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:mime-version:content-type
|
| :content-transfer-encoding:date:from:to:subject:message-id; s=
|
| default; bh=kLYAjdiTvXzAiQlNBcgUMsiL5xQ=; b=wk9rGmhW/4VqX7c8dOaQ
|
| H0GMdgvqRI/tL3pbJ2dGhkEDMT/enn/sIafFjiDMfMztBCGlVGV4FgYcFF5q2ATz
|
| sIvTdFsWdSkmh4RNXPMmHTXWYQbj2ldBMRQvo9+AVE0IO1GEztl6/Z9lp1FkVKGb
|
| 0hW1ke453qSJQ85AjdPbbC0=
|
| 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
|
| Authentication-Results: | sourceware.org; auth=none
|
| X-Virus-Found: | No
|
| X-Spam-SWARE-Status: | No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:CYGWIN_, Hx-languages-length:1634, seven, Seven
|
| X-HELO: | lb1-smtp-cloud6.xs4all.net
|
| MIME-Version: | 1.0
|
| Date: | Sun, 20 Dec 2015 12:29:41 +0100
|
| From: | Houder <houder AT xs4all DOT nl>
|
| To: | cygwin AT cygwin DOT com
|
| Subject: | setfacl(2.4.0.13): options --no-mask and --mask
|
| Message-ID: | <9926d2141214179786b3a7b569797a6c@xs4all.nl>
|
| X-Sender: | houder AT xs4all DOT nl (tIDUEuSKcXa0+626Z9mnKg==)
|
| User-Agent: | XS4ALL Webmail
|
Hi Corinna,
Euh ... I do not pretend to be familiar (less understand) with the
features
that go into 2.4.0 (as I have no need for them) ...
... but, by just browsing the source code of setfacl and by just looking
at
the user interface of setfacl ... See below.
Regards,
Henri
Source code of setfacl (2.4.0.13):
struct option longopts[] = {
{"remove-all", no_argument, NULL, 'b'},
{"delete", required_argument, NULL, 'x'},
{"file", required_argument, NULL, 'f'},
{"remove-default", no_argument, NULL, 'k'},
{"modify", required_argument, NULL, 'm'},
{"no-mask", required_argument, NULL, 'n'}, <==== no_argument?
{"mask", required_argument, NULL, '\n'}, <==== no_argument?
{"replace", no_argument, NULL, 'r'},
{"substitute", required_argument, NULL, 's'},
{"help", no_argument, NULL, 'h'},
{"version", no_argument, NULL, 'V'},
{0, no_argument, NULL, 0}
};
const char *opts = "bd:f:hkm:nrs:Vx:";
-----
%% uname -a
CYGWIN_NT-6.1-WOW Seven 2.4.0(0.292/5/3) 2015-12-19 21:08 i686 Cygwin
%% touch foo.txt
%% setfacl --no-mask -m g:Replicator:rw- foo.txt
Usage: setfacl [-n] {-f ACL_FILE | -s acl_entries} FILE...
setfacl [-n] {[-bk]|[-x acl_entries] [-m acl_entries]} FILE...
[snip]
Try 'setfacl --help' for more information.
%% setfacl --no-mask Corinna -m g:Replicator:rw- foo.txt <==== ?
%%
%% setfacl --mask -m g:Replicator:rw- foo.txt
Usage: setfacl [-n] {-f ACL_FILE | -s acl_entries} FILE...
setfacl [-n] {[-bk]|[-x acl_entries] [-m acl_entries]} FILE...
[snip]
Try 'setfacl --help' for more information.
%% setfacl --mask Corinna -m g:Replicator:rw- foo.txt <==== ?
%%
=====
--
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 -