Changing Permissions of a Folder

Post date: 04-Dec-2008 11:27:41

Hi there... An usual problem when one is using Linux is the subject of permissions. For ex., when I bought my Laptop and fill it with information somehow certain folder were identified with the root user, so I couldn't copy anything inside them.

SOLUTION

Open a Konsole and write the command line

[> sudo chown -R new-user /path/to/folder

sudo: executes the command line as super-user

chown: changes the owner of the folder

-R: executes the command recursively to the subfolders and files into the one especified in ``/path/to/folder"

new-user:: is the login name of the person who will be the new owner of the folder.