linux chown example
3:55 PM in Linux, Programming by Vic Russell
chown
chown – change owner of file system resources on Linux/Unix systems
To change the owner of a file name ‘myfilename.jsp’, do the following:
sudo chown jamessmith myfilename.jsp
To change ownership AND group for All directories and files below the current working directory:
sudo chown -R jamessmith:wheel ./ .*
It IS a CAPITAL R ( – Recursive) and there is a space between the ‘./’ and the ‘.*‘