summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-24Skip this test on reiserfs, since that file system lacks d_type support.Jim Meyering
2006-07-23Update to reflect recent changes to coreutils.texi.Paul Eggert
2006-07-23(Mode Structure, Symbolic Modes, Numeric Modes): Be more carefulPaul Eggert
about distinguishing file mode bits from permissions bits, and about execute versus search permission. The FreeBSD command is chflags, not chrflags.
2006-07-22(Mode Structure): The restricted deletion flagPaul Eggert
restricts only unprivileged users.
2006-07-22(What information is listed): Clarify that the restricted deletionPaul Eggert
flag is another name for the sticky bit.
2006-07-22Split closeout into close-stream and closeout.Paul Eggert
2006-07-22(close_stdout): Use new function close_stream.Paul Eggert
2006-07-22Initial revision.Paul Eggert
2006-07-22(gl_PREREQ): Require gl_CLOSE_STREAM.Paul Eggert
2006-07-21* src/su.c (usage): Correct typo in --help output: s/commmand/command/Jim Meyering
Reported by Tim Waugh. Also remove the comment duplicating much of --help output.
2006-07-21*** empty log message ***Jim Meyering
2006-07-21(FILE_TYPE_INDICATOR_OPTION): Reposition this new name so the list remains ↵Jim Meyering
alphabetized.
2006-07-21mention yesterday's other ls bugfixJim Meyering
2006-07-21*** empty log message ***Jim Meyering
2006-07-21Fix another bug: ls --indicator-style=file-type would callJim Meyering
stat for a symlink, even though it wasn't always needed. In some cases, that unnecessary stat would cause ls to fail. * src/ls.c (gobble_file): Don't treat symlinks specially (in requiring a stat syscall). Remove the offending exclusion. * NEWS: Mention the fix. * tests/ls/stat-dtype: New file/test, for the above fix. Also exercises the new df feature, below.
2006-07-20* src/df.c (main): Fail and don't print the headers if noJim Meyering
file system is processed. This makes it easy to test whether a specified directory is on a file system of a given type or types. Otherwise, applications would have had to parse df's output. E.g., is "." either ext3 or reiserfs: df -t ext3 -t reiserfs .
2006-07-20*** empty log message ***Jim Meyering
2006-07-20(file-type): New test:Jim Meyering
For 5.97 and earlier, --file-type acted like --indicator-style=slash.
2006-07-20Fix a bug: ls --file-type worked like --indicator-style=slash,Jim Meyering
rather than like --indicator-style=file-type. (FILE_TYPE_INDICATOR_OPTION): New enum member. (long_options): Map "file-type" to FILE_TYPE_INDICATOR_OPTION, not to 'p'. (decode_switches): Handle new case: FILE_TYPE_INDICATOR_OPTION.
2006-07-20*** empty log message ***Jim Meyering
2006-07-20[ME_REMOTE]: Filter out cifs.Jim Meyering
Reported by Toralf Förster in <http://bugs.gentoo.org/141012>.
2006-07-20*** empty log message ***Jim Meyering
2006-07-20*** empty log message ***Jim Meyering
2006-07-20(ME_REMOTE): Compare strchr's result to NULL, not 0, for better readability.Jim Meyering
2006-07-19* src/ls.c (print_dir): Give a better diagnostic for failed opendir.Jim Meyering
2006-07-19*** empty log message ***Jim Meyering
2006-07-19(EXTRA_DIST): Add build-aux/vc-list-files.Jim Meyering
2006-07-19*** empty log message ***Jim Meyering
2006-07-19Command line args correspond to an "include" list, not an exclude list.Jim Meyering
2006-07-19tweak spacing to align backslashesJim Meyering
2006-07-17In comment: bits bits -> bits.Paul Eggert
2006-07-17Regenerate.Paul Eggert
2006-07-17Regenerate.Paul Eggert
2006-07-17Fix typo in previous checkin; some file names were wrong.Paul Eggert
2006-07-17chmod, install, and mkdir now leave setgid and setuid bitsPaul Eggert
of directories alone unless you specify them explicitly. install and mkdir now implement X correctly. install now creates parent directories with mode 755, without changing their owner or group.
2006-07-17Add a test for the X bug.Paul Eggert
2006-07-17Remove re_protect case that no longer applies.Paul Eggert
GNU chmod now behaves like other versions of chmod.
2006-07-17Do the setgid test instead of bailing.Paul Eggert
2006-07-17(main): Adjust to new mode_adjust API.Paul Eggert
2006-07-17(main): Adjust to new mode_adjust API.Paul Eggert
2006-07-17(struct mkdir_options): New struct.Paul Eggert
(announce_mkdir, make_ancestor): New functions. (main): Use them. Adjust to mode_adjust API change. Stick with umask 0. Use make_dir_parents for all the work.
2006-07-17Include mkancesdirs.h.Paul Eggert
(announce_mkdir, make_ancestor): New functions. (DEFAULT_MODE): New macro, specifying initial value of 'mode'. (mode): Use it. (dir_mode, dir_mode_bits): New vars. (main): Set dir modes separately from nondir, so that the X op of -m works correctly. (main): Remove cwd_errno cruft, since make_dir_parents no longer affects cwd. Adjust to new make_dir_parents API. (install_file_in_file_parents): 2nd arg is now char *, not char const *. Use mkancesdirs instead of rolling our own code. (change_attributes): Don't worry about AFS, since that kludge should not be needed any more.
2006-07-17(process_file): Adjust to mode_adjust API change.Paul Eggert
2006-07-17(gl_PREREQ): Require gl_MKANCESDIRS.Paul Eggert
2006-07-17(gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.Paul Eggert
Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed. Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
2006-07-17Remove; no longer needed.Paul Eggert
2006-07-17(gl_MACROS): Remove gl_AFS.Paul Eggert
2006-07-17(mode_adjust): New API.Paul Eggert
2006-07-17(octal_to_mode): New function.Paul Eggert
(struct mode_change): New member mentioned. (make_node_op_equals): New arg mentioned. All callers changed. (mode_compile): Keep track of which mode bits the user has explicitly mentioned. (mode_adjust): New arg DIR, so that we implement the X op correctly. New arg PMODE_BITS, to keep track of which mode bits the user mentioned; it treats S_ISUID and S_ISGID speciall. All callers changed.
2006-07-17Adjust to new make_dir_parents API.Paul Eggert