944,200 Members | Top Members by Rank

Ad:
Nov 1st, 2009
0

Change folder permissions

Expand Post »
I have a folder and i can't paste anything or save anything in it. Can i change permissions in terminal?
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
web3 is offline Offline
75 posts
since Oct 2009
Nov 1st, 2009
0
Re: Change folder permissions
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.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Nov 1st, 2009
0
Re: Change folder permissions
I am only user i installed ubuntu 9.10 yesterday and can you give me the code to grant everyone read/write access.
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
web3 is offline Offline
75 posts
since Oct 2009
Nov 1st, 2009
0
Re: Change folder permissions
* This is dangerous from a security standpoint
chmod -R a+rwx /path/to/dir
Last edited by sknake; Nov 1st, 2009 at 2:44 pm.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Nov 9th, 2009
0
Re: Change folder permissions
login as root
then use the following command
chmod 777 filename to make it read,write and execute
Reputation Points: 11
Solved Threads: 0
Newbie Poster
josephkn is offline Offline
5 posts
since Feb 2009
Nov 10th, 2009
0
Re: Change folder permissions
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.
Reputation Points: 10
Solved Threads: 8
Junior Poster
Crash~Override is offline Offline
132 posts
since Oct 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: please suggest good payment processor for credit cards
Next Thread in Linux Applications and Software Forum Timeline: Apache2





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC