Change folder permissions

Reply

Join Date: Oct 2009
Posts: 44
Reputation: web3 is an unknown quantity at this point 
Solved Threads: 0
web3 web3 is offline Offline
Light Poster

Change folder permissions

 
0
  #1
30 Days Ago
I have a folder and i can't paste anything or save anything in it. Can i change permissions in terminal?
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,215
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 573
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast
 
0
  #2
30 Days Ago
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.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 44
Reputation: web3 is an unknown quantity at this point 
Solved Threads: 0
web3 web3 is offline Offline
Light Poster
 
0
  #3
30 Days Ago
I am only user i installed ubuntu 9.10 yesterday and can you give me the code to grant everyone read/write access.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,215
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 573
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast
 
0
  #4
30 Days Ago
* This is dangerous from a security standpoint
chmod -R a+rwx /path/to/dir
Last edited by sknake; 30 Days Ago at 2:44 pm.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3
Reputation: josephkn is an unknown quantity at this point 
Solved Threads: 0
josephkn josephkn is offline Offline
Newbie Poster
 
0
  #5
22 Days Ago
login as root
then use the following command
chmod 777 filename to make it read,write and execute
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 87
Reputation: Crash~Override is an unknown quantity at this point 
Solved Threads: 5
Crash~Override Crash~Override is offline Offline
Junior Poster in Training
 
0
  #6
21 Days Ago
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.
Reply With Quote Quick reply to this message  
Reply

Message:



Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC