Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to know how to change permissions for all my files. I don't understand why some come with ''read'' only... I'm the only one that uses the PC, so the max permissions would be good!

I ran the command chmod go+r *

But just made everything readable only...

Help guys? I want to read, write and execute all my files.

share|improve this question
    
you can use midnight commander or using command sudo chown -R youruser yourdirectory to change permission. –  Muhammad Sholihin Mar 8 '13 at 3:21

1 Answer 1

You have read write access to all files in your home directory.

To access system files use sudo/gksu (gksu is for graphical applications such as your file browser and editor).

See:

https://help.ubuntu.com/community/RootSudo

https://help.ubuntu.com/community/FilePermissions

Changing the permission of files outside your home directory will almost certainly break your system.

share|improve this answer
    
I only need Home, Media and Host folders to be read, write and execute man! But thanks :) –  Tiago Rocha Mar 7 '13 at 18:51
    
I doubt you need executable permissions on those files. Read the file permissions link I gave you. for shared directories, IMO, it is best to use acl. See askubuntu.com/questions/52584/shared-folders-for-all-users –  bodhi.zazen Mar 7 '13 at 19:01
    
maybe not executeble, but definitely read and write... –  Tiago Rocha Mar 7 '13 at 19:14
    
From your question(s) it seems you are new to Linux / Ubuntu. Please take a look at the links I gave you and come back with specific questions(s). The general syntax is going to be chown -R owner:group /Media and / or chmod -R 555 /Media/* and / or using acl. –  bodhi.zazen Mar 7 '13 at 19:17
1  
bodhi.zazen you are right, the permission don't work because of my hdd... It's a FAT or NTFS! I need a EXT2 or EXT3. No wonder the system was getting really slower... damn! and now that I was starting to enjoy the comand line. Oh well, thank you all of the help! –  Tiago Rocha Mar 7 '13 at 20:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.