0

I have a folder and i can't paste anything or save anything in it. Can i change permissions in terminal?

4
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by Crash~Override
0

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 grant everyone read/write access to the directory but that is usually a bad idea.

0

I am only user i installed ubuntu 9.10 yesterday and can you give me the code to grant everyone read/write access.

0

* This is dangerous from a security standpoint

chmod -R a+rwx /path/to/dir

Edited by sknake: n/a

0

login as root
then use the following command
chmod 777 filename to make it read,write and execute

0

sudo chmod 777 FILENAME

NOTE: This is really NOT recommended for all the files. Be extremely careful while using this.
alternatively you can do chmod 644 which will only give write permission to the root user and everyone else gest only read permission.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.