| | |
Lamp
![]() |
•
•
Join Date: Sep 2009
Posts: 18
Reputation:
Solved Threads: 1
0
#2 Nov 2nd, 2009
Check the file permissions to make sure you have write permissions on the files and/or directories.
You are now ready to write your files. Otherwise you must be superuser to do what you want to do.
cd <directory> //go to home directory of the lamp server // #find ./ -name '*' -exec chmod 777 {} ';' #rm <file> //delete the file you want //
Last edited by SecurExpert; Nov 2nd, 2009 at 2:31 am.
•
•
Join Date: May 2008
Posts: 97
Reputation:
Solved Threads: 16
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!
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!
![]() |
Other Threads in the *nix Software Forum
- Previous Thread: Installing software on Linux: source code
- Next Thread: please suggest good payment processor for credit cards
Views: 711 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for *nix Software
2005 apache bashscripting busybox cert codeplex debian dotnetnuke emacs forwarding free fsf gaming gnu government gpl lawsuits license linux ls mail make makefile mandriva microsoft mkisofsiso obama open opensource port postfix ps3 samba security server sflc sharing software source stallman subdirectory ubuntu unix vmware xbox





