New options: --preserve-root and --no-preserve-root.
authorJim Meyering <jim@meyering.net>
Sun, 12 Oct 2003 14:19:25 +0000 (14:19 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 12 Oct 2003 14:19:25 +0000 (14:19 +0000)
commit9be74f6f125b2be8ba563976728553fc56f2f1c5
tree7069afc127e48547c71bbb3326dc5762c1caf028
parent820a623d7d3e0d72f8e0b6905a251d0120ad8c65
New options: --preserve-root and --no-preserve-root.

(change_file_mode): Honor new option.
(change_file_mode): Strip trailing slashes on directory
argument passed to change_dir_mode.
(get_root_dev_ino): New function.
(main): Initialize global, root_dev_ino.
src/chmod.c