chown command is used for changing ownership of files, for help run in terminal
chown --h
Usage: chown [OPTION]... [OWNER][:[GROUP]] FILE...
for example : if ownership of files under folder /home/xyzabc/Pictures (including subdirectories) has to be assigned to user "xyzabc"
sudo chown -R xyz /home/xyzabc/Pictures
where -R means recursive - operate on files and directories recursively
chown --h
Usage: chown [OPTION]... [OWNER][:[GROUP]] FILE...
for example : if ownership of files under folder /home/xyzabc/Pictures (including subdirectories) has to be assigned to user "xyzabc"
sudo chown -R xyz /home/xyzabc/Pictures
where -R means recursive - operate on files and directories recursively
No comments:
Post a Comment