Corinna Vinschen
ef1e66cfbf
* setfacl.c (addmissing): New function to add missing acl entries to
...
a modified acl per the rules set by aclcheck.
(setfacl): Call addmissing unless action is Delete.
2014-09-03 12:44:05 +00:00
Corinna Vinschen
451e1f4879
* setfacl.c (getaclentry): Fix previous fix again. Allow lone 'm' as
...
well as any lone default entry if action is Delete. Fix comments.
(usage): Align usage text.
2014-09-03 09:32:53 +00:00
Corinna Vinschen
89d195a7d1
* setfacl.c (getaclentry): Fix return value in case of a lone 'm' if
...
action is Delete. Drop requirement for a trailing colon if action is
Delete.
2014-09-03 08:57:20 +00:00
Corinna Vinschen
9845fcbb6b
* setfacl.c (usage): Drop outdated note that default ACEs are not
...
taken into account.
2014-08-31 19:20:04 +00:00
Christopher Faylor
1b23b30b29
Clean up whitespace.
2011-12-17 23:39:47 +00:00
Corinna Vinschen
92b499acff
* Align usage output, version output, as well as usage and version
...
option handling to use the same style throughout all Cygwin utils.
Throughout use program_invocation_short_name to refer to current
process name in Cygwin executables.
* utils.sgml: Align documentation to above change. Add missing
sections for getconf, ldd, and setmetamode.
* strace.cc (proc_child): Avoid compiler warning.
2011-10-10 14:57:48 +00:00
Corinna Vinschen
1122b3e64e
* setfacl.c (getaclentry): Allow extra colon in mask and other entries.
2011-04-18 10:23:21 +00:00
Corinna Vinschen
471bbbe240
* setfacl.c (strchrnul): Drop local implementation.
2011-03-28 21:21:03 +00:00
Corinna Vinschen
d7b90bae79
* setfacl.c (strchrnul): New function.
...
(getaclentry): Rewrite.
2010-12-11 20:47:01 +00:00
Corinna Vinschen
19ac72547f
* setfacl.c (getaclentry): Allow to delete default entries for the
...
owner and owner group.
2009-11-29 14:28:29 +00:00
Corinna Vinschen
05e6f7b2b9
* mkpasswd.c (current_user): Don't use HOMEDRIVE/HOMEPATH to generate
...
user's homedir.
* mkgroup.c: Accommodate ctype changes.
* mkpasswd.c: Ditto.
* setfacl.c: Ditto.
* ssp.c: Ditto.
2009-05-06 11:54:24 +00:00
Corinna Vinschen
3ad8ec8546
* setfacl.c (setfacl): Change from void to int. Return 2 in case of
...
error.
(main): Return with error code from setfacl.
2008-05-22 18:56:26 +00:00
Christopher Faylor
14a4d5989a
bad_keywords
2006-01-18 15:57:56 +00:00
Corinna Vinschen
a5ba4027f4
* getfacl (main): Remove extern declaration of optind.
...
* setfacl (main): Remove extern declaration of optarg and optind.
2003-09-11 07:55:51 +00:00
Joshua Daniel Franklin
aa275fe010
* cygcheck.cc (usage) Add description output.
2003-04-26 21:52:03 +00:00
Corinna Vinschen
3903b47b79
* mkgroup.c: Fix copyright date.
...
* mkpasswd.c: Ditto.
* setfacl.c: Ditto.
Fix ChangeLog typos.
2003-01-15 10:08:37 +00:00
Corinna Vinschen
e410614acf
* setfacl (usage): Remove double ":" for mask and other.
2003-01-10 11:39:19 +00:00
Corinna Vinschen
2b3ddfcd26
* setfacl.c (main): Place a single : after other and mask.
...
* getfacl.c (getaclentry): Allow both : and :: for other and mask.
(main): Remove extraneous break.
2002-12-15 10:09:35 +00:00
Corinna Vinschen
2d06bd1109
* setfacl.c (getperm): Set only `other' permission bits.
...
(getaclentry): Set a_id to -1 by default.
2002-11-24 18:07:30 +00:00
Corinna Vinschen
7c4f9b9a05
* setfacl.c (usage): Add missing LF.
2002-11-08 10:22:58 +00:00
Joshua Daniel Franklin
98467dae59
Add final newlines to utils
2002-09-15 19:24:37 +00:00
Corinna Vinschen
f1b53fa94c
* setfacl.c (usage): Standardize usage output. Change return type to
...
static void.
(print_version): New function.
(longopts): Added longopts for all options.
(main): Accommodate changes in usage function and new version option.
2002-05-24 14:40:14 +00:00
Corinna Vinschen
56c29a3c87
* getfacl.c (username): New function.
...
(groupname): Ditto.
(usage): Ditto. Add more user friendly help text.
(main): Add -n and --help option. Print names instead of IDs
unless -n option is given.
* setfacl.c (getperm): Tolerate whitespace and comment chars in input.
(getaclentry): Fix several input string misdetections.
(getaclentries): Allow - as input file name to read from stdin.
Tolerate whitespace and comment chars in input.
(usage): Add more user friendly help text.
(main): Add --help option.
2001-11-04 17:24:24 +00:00
Corinna Vinschen
ce63785554
* getfacl.c: Add copyright hint.
...
* setfacl.c: Ditto.
* strace.cc: Ditto.
2001-03-05 17:55:23 +00:00
Christopher Faylor
ce475802f8
* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
...
with g++. Fixup output for some compilations.
* cygcheck.cc: Respond to compiler warnings.
* dumper.cc (main): Ditto.
* parse_pe.cc (exclusion::sort_and_check): Ditto.
* setfacl.cc (getaclentry): Ditto.
2000-10-28 05:39:38 +00:00
Christopher Faylor
1fd5e000ac
import winsup-2000-02-17 snapshot
2000-02-17 19:38:33 +00:00