public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* setfacl(2.4.0.13): options --no-mask and --mask
@ 2015-12-20 11:29 Houder
  2015-12-20 12:17 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Houder @ 2015-12-20 11:29 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setfacl(2.4.0.13): options --no-mask and --mask
  2015-12-20 11:29 setfacl(2.4.0.13): options --no-mask and --mask Houder
@ 2015-12-20 12:17 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2015-12-20 12:17 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

On Dec 20 12:29, Houder wrote:
> 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?

Duh.  I really screwed this up, right?  I'll fixed that and upload
a 0.14 test release in a bit.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-20 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 11:29 setfacl(2.4.0.13): options --no-mask and --mask Houder
2015-12-20 12:17 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).