[patch #3596] Sort directories before files in ls

2006-12-14 Thread Bert Wesarg
Follow-up Comment #6, patch #3596 (project coreutils): This is an enhancement for the actual implementation for the '--group-directories-first' option in ls, so that symbolic links to directories are handled as directories with this option enabled. (file #11524)

Re: --preserve-root option of chown, chmod, etc. warns but does not exit when running on / with recursion

2006-12-14 Thread Jim Meyering
[EMAIL PROTECTED] (Matthew M. Boedicker) wrote: The --preserve-root failsafe in chown, chmod, etc. does not exit when it should. It prints a warning and continues to recurse. ROOT_DEV_INO_WARN should pass a non-zero value as the first argument to error() to exit. Thanks again. I've fixed it.

FYI: new test for a hard-to-detect race fix, using gdb(!)

2006-12-14 Thread Jim Meyering
I couldn't think of any other way to test for this bug/fix. Using gdb and counting open_safer breakpoints is ugly and a little fragile -- and the test is skipped when there are no debugging symbols. But it's a lot better than nothing. Ideas for improvement welcome. 2006-12-14 Jim Meyering

rmdir problem in Molinux

2006-12-14 Thread M. David Frost
Hi, I'm a fairly new Linux user and computer literate, but not a geek. I've tried to remove an empty directory as follows (filename being the name of the directory that I'm trying to delete): rmdir filename (error message - directory not empty) rmdir -rf filename (error message -

Re: rmdir problem in Molinux

2006-12-14 Thread Brian Dessent
M. David Frost wrote: rmdir filename (error message - directory not empty) rmdir -rf filename (error message - invalid option -- r) When I type: dir filename the directory is empty. It may not be empty. ls doesn't show everything by default. Files that begin with . for