Frequently Asked Questions: Difference between revisions

Jump to navigation Jump to search
Safety and correctness. chown affects the target of a symbolic link by default. -h disables the behavior. without -h, we might be updating permissions for a file on another device. I had a few MBs of symlinks to correct.
(Marked this version for translation)
(Safety and correctness. chown affects the target of a symbolic link by default. -h disables the behavior. without -h, we might be updating permissions for a file on another device. I had a few MBs of symlinks to correct.)
Line 68: Line 68:
<!--T:49-->
<!--T:49-->
Next, change group ownership from $USER to the project group, for example:
Next, change group ownership from $USER to the project group, for example:
  chown -R $USER:def-professor ~/projects/def-professor/$USER/
  chown -h -R $USER:def-professor -- ~/projects/def-professor/$USER/


<!--T:50-->
<!--T:50-->
1

edit

Navigation menu