Change folder permissions
I have a folder and i can't paste anything or save anything in it. Can i change permissions in terminal?
web3
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 10
Solved Threads: 1
Yes. What directory are you trying to put the data in? Paste the output of:
ls -ald /path/to/dir
ls -ald /path/to
ls -ald /path
ls -ald /
Also what user are you logged in as? You can find out by typing id .
You can granteveryone read/write access to the directory but that is usually a bad idea.
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
I am only user i installed ubuntu 9.10 yesterday and can you give me the code to grant everyone read/write access.
web3
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 10
Solved Threads: 1
* This is dangerous from a security standpoint
chmod -R a+rwx /path/to/dir
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735