If chown can change groups, why was chgrp created?
So there’s chown which lets you change the owner and group of files and/or directories. But there’s also chgrp which only changes the group. Why was chgrp created? Isn’t it redundant?
So there’s chown which lets you change the owner and group of files and/or directories. But there’s also chgrp which only changes the group. Why was chgrp created? Isn’t it redundant?
Is there a command or flag to clone the user/group ownership and permissions on a file from another file? To make the perms and ownership exactly those of another file?
my chmod doesn’t work properly.
I have created a really really short life temporary directory that I wanted to share between some users for a few hours : /some/path/tmp
Steps to reproduce: