If you are running Workpress or Joomla or some other CMS long enough and start working with modules you may run into a common problem when you try removed or change them. There is why that happens and something you can do stuff to fix it.
The problem comes when the system running as user apache creates files. Then you the user has no access to them. It also means the system does not have access to change your files and that is a safety feature in some places.. But if you trying to remove stuff the program put in you could have problems. So what you need to do is, change the files as user apache.. I have a found a command shell program that does that..
Take the file http://coastlandtech.com/download/shcmd.txt name it something ending with a .php Put it in the www folder and open it with your browser. You can now use it to change the perms on the files of folders you need.
The login is set to myuser and apassw but you can/should change it in the code…
There are a only about 4 commands you need to know how to do that.
1. ls –l list will list the files .. ls –l will show them and their attributes
2. pwd PrintWorkingDirectory will tell you where you are.
3 chmod ChangeMode with set the files permissions.
4. cd Change Directory .. move to a new folder.
The other 3 that may come in handy you can use are
cp = copy
rm = remove
chown = ChangeOwner
You can get help with any of the command by adding /? at the end of the command…
like chmod /?
If you run into problems, just let me know..
Thanks
Dr.D

