Centos Permissions

From rbachwiki
Revision as of 14:47, 5 February 2019 by Bacchas (talk | contribs)
Jump to navigation Jump to search

View your current username

whoami

View your group membership

groups

Change Group

chgrp sys file1
chgrp -R sys Desktop

Chown changes ownership and group ownership of a file

chown user1.root file1
chown -R user1.root Desktop