How can I change permissions for all subfolders and files in a Folder? [Solved]

Tags:

I just transfered all my personnal files from the mounted ntfs partition to my /home

But all the files folders and subfolders are ro how can I change them all to rw, without having to open every folder by hand to select everything?

Is it possible to expand all in the nautilus tree view?

For reference the folder containing everything is /home/fabre/data

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

How can I change permissions

$ chmod -R +rw /home/fabre/data

That will make everything in data, including data itself, readable and writable.

Re: Changing permissions

Do a "man chmod" and check up or the -R (recursive) switch.

So to change all of the files to have the owner have a RW permission, change into your home directory (or where ever) and do a "chmod -R u+rw *". That would change all files and directories to have the user (owner) have Read/Write permissions.

Just be careful with that -R switch -- it can bite (hard!) if not used properly.

Re: Changing permissions

Worked perfectly, thanks a million.

Will try to remember the chmod command for netx time

Syndicate content