The
If you're not the root user on your Unix or Linux system -- or even if you are -- be very careful with the
chown
command is most commonly used by Unix/Linux system administrators who need to fix a permissions problem with a file or directory, or many files and many directories.If you're not the root user on your Unix or Linux system -- or even if you are -- be very careful with the
chown
and chgrp
commands. Once you grant ownership of files to another user on your Unix/Linux system, guess what? You don't own them any more. This can lead to all sorts of nasty problems, such as not being able to delete the files.
Fortunately the
chown
and chgrp
commands are commonly used by Unix system administrators (Unix 'root' users) and this isn't usually much of a problem, but I thought I better warn you about it anyway, as it can create a mess.
No comments:
Post a Comment