chmod 02751 foo' what can every user do to
foo? Consider both the case where
foois a directory, and the case where
foois a file.
foois a directory, then
foois a file, then
chmod 0 .' What does this do? How does one fix it?
chmod 700 .
chgrp, write commands that make a file '
bar' accessible to all students. What else has to be done, other than modifying '
chgrp student bar # requires user to be in student group. chmod 640 bar # readable to group.The other thing that one has to do is to make the containing directory (and all other directories above
barin its path) executable to student, via
chmod g+x .and similar ones for every directory above.
studentand that user