Cambiar el directorio del propietario Linux
sudo chown -R username:group directory
Super Skylark
sudo chown -R username:group directory
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
sudo chown newUser file.txt
<!--
This is to change permissions for a directory in linux :
755 is better but for local operations you shoul be ok using 777
the -R is to apply to all containing folders. It stands for recursive.
-->
<!-- 755 is safer -->
chmod 755 -R folder-Name
<!-- 777 is mighty and powerful ;) -->
chmod 777 -R folder-Name