mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +02:00
Use -h where necessary to retain semantics.
This commit is contained in:
@@ -56,10 +56,10 @@ test "$VERBOSE" = yes && set +x
|
||||
touch f
|
||||
ln -s f symlink
|
||||
chgrp $g1 f
|
||||
chgrp $g2 symlink 2> /dev/null
|
||||
chgrp -h $g2 symlink 2> /dev/null
|
||||
|
||||
# This should not change the group of f.
|
||||
chgrp -c $g2 symlink 2> /dev/null
|
||||
chgrp -h -c $g2 symlink 2> /dev/null
|
||||
chgrp -c $g2 f
|
||||
|
||||
# This *should* change the group of f.
|
||||
|
||||
Reference in New Issue
Block a user