Change the file owner or group in Linux

Change the owner of a file or folder:

chown newowner filename

Change the group of a file or folder:

chgrp newgroup filenameorfoldername



Posted 02/09/2010
blog comments powered by Disqus