Bizarre Problem Crippling Superusers

I've encountered a strange problem after installing mambo/joomla, etc. I've found that many of the directories created by it and also when using it simply to upload and unzip files created files and directories that could not be affected by account owners and superusers.

Let's say you've got a domain myplace.com and you have a directory called mydir. In it you have two files, index.php and myfile.php. Even if permissions are set to 755, if you login through ftp with the owner/admin's account and try to delete, modify, move those files or directories, you are told that you don't have permission. Logging in via ssh yielded the same with stars next to the files and produced the same results even after switching to su and logging in as the su. I did add the accounts above to the wheel users group so this isn't a question of straight permissions.

The only way I could delete/modify those invisibly protected directories was to rm -rf them and manually upload. The problem now is copying what I have on my test site to the real site and moving the folders out of the one that tar made for me. Using FTP I get a permissions error. I used cpanel's file manager to move some of them, but I have 5 directories left that cannot be moved because of:

No such file or directory

Which makes no sense. Even the file manager sees the file or directory. I'm guessing this is the same permissions issue. Now I am loathe to think that there is even one file hiding somewhere that is set as improperly causing the move not to work but I don't think this is the case. Regardless, I'm the bloody su so should I be able to move things as easily as I can chmod them?

I hope some of you may have encountered this issue and beat it because it's killin' me. I also hope there is a way to set all files in a directory and their subdirectories to a certain permission level because of the toil of searching through numerous folders, files, etc....

Many thanks to all of you.

 

 

 

 

Top