Did you know that you usually cannot use chown command if you are not root? This command is theoretically possible to be used by other users, but even then, it's little tricky.
You can use chomod command on any file, only if you are owner (or if you are in group? I need to check this), but you can chown only on file you are not owner and wanted to take it.
It's not possible to push ownership of file to any other person, only to take it for yourself (if you have write rights to it). But anyway for AIX you need root to use this command.So either sudo to root or modify sudo command list for your users or yourself.
Maybe now I will use that command more properly ... and even when I'm not switched to root.
No comments:
Post a Comment