Lamp

Reply

Join Date: Oct 2009
Posts: 51
Reputation: web3 is an unknown quantity at this point 
Solved Threads: 0
web3 web3 is online now Online
Junior Poster in Training

Lamp

 
0
  #1
Oct 31st, 2009
I installed lamp.But i can't delete my index.html page and i can't save any page in that folder.I am using ubuntu 9.10.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 18
Reputation: SecurExpert is an unknown quantity at this point 
Solved Threads: 1
SecurExpert SecurExpert is offline Offline
Newbie Poster
 
0
  #2
Nov 2nd, 2009
Check the file permissions to make sure you have write permissions on the files and/or directories.
cd <directory> //go to home directory of the lamp server //
#find ./ -name '*' -exec chmod 777 {} ';'
#rm  <file> //delete the file you want //
You are now ready to write your files. Otherwise you must be superuser to do what you want to do.
Last edited by SecurExpert; Nov 2nd, 2009 at 2:31 am.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 97
Reputation: sureronald is an unknown quantity at this point 
Solved Threads: 16
sureronald sureronald is offline Offline
Junior Poster in Training
 
0
  #3
Nov 5th, 2009
Since you are using ubuntu (which is debian), it is good to remember to precede any action that requires root privileges by sudo
To delete the file, simply invoke
sudo rm <path_to_file_to_rm>
You can as well change the server persmission to be writable by you by doing
sudo chown -R <your_name> <path_to_lamp_server_folder>
In a real server, changing server permission to a regular user other than root is not advisable!

Happy Times!
Catch me here!
Reply With Quote Quick reply to this message  
Reply

Message:




Views: 724 | Replies: 2
Thread Tools Search this Thread



Tag cloud for *nix Software
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC