Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/chmod.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/coreutils/chmod.c
r2725 r3232 14 14 /* BB_AUDIT GNU defects - unsupported long options. */ 15 15 /* http://www.opengroup.org/onlinepubs/007904975/utilities/chmod.html */ 16 17 //usage:#define chmod_trivial_usage 18 //usage: "[-R"IF_DESKTOP("cvf")"] MODE[,MODE]... FILE..." 19 //usage:#define chmod_full_usage "\n\n" 20 //usage: "Each MODE is one or more of the letters ugoa, one of the\n" 21 //usage: "symbols +-= and one or more of the letters rwxst\n" 22 //usage: "\n -R Recurse" 23 //usage: IF_DESKTOP( 24 //usage: "\n -c List changed files" 25 //usage: "\n -v List all files" 26 //usage: "\n -f Hide errors" 27 //usage: ) 28 //usage: 29 //usage:#define chmod_example_usage 30 //usage: "$ ls -l /tmp/foo\n" 31 //usage: "-rw-rw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" 32 //usage: "$ chmod u+x /tmp/foo\n" 33 //usage: "$ ls -l /tmp/foo\n" 34 //usage: "-rwxrw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo*\n" 35 //usage: "$ chmod 444 /tmp/foo\n" 36 //usage: "$ ls -l /tmp/foo\n" 37 //usage: "-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" 16 38 17 39 #include "libbb.h"
Note:
See TracChangeset
for help on using the changeset viewer.