By domineaux on
I was manually removing a Drupal Site
I removed the entire site, except the Garland theme has owner/group = 99 99
When I try to CHMOD permissions to 777 or anythng that will allow deletion it is not permitted.
I cannot delete any of the files in the garland theme folder as they all have same owner/group 99 99
How can I change the permisisons on those files to delete them?
I'm also wondering how the heck the owner/group got to 99 99
I sure didn't do it on purpose.
Thanks
Comments
The folder/file was probably
The folder/file was probably created by a script. I've had similar problems when Drupal created a theme's color folder or D6 creates a files folder. Then you are technically not the owner and do not have permission to change it.
If you are in a shared hosting environment, I believe you would have to have your host make you the owner of the folder/file.
You have to be root.
or whatever uid 99 is, which I am going to guess is nobody or apache.
When a CMS like Drupal creates files and directories it does it as the user/group of the webserver process.
There are ways to do it by writing a PHP script, but I don't have any handy.
The Group UID 99 and Owner
The Group UID 99 and Owner UID 99 is Nobody or apache from what I've been reading.
This is a pretty well ignore problem since most of the time you can just get your hosting support to fix the permissions.
I see Group and Owner permissions could be a security issue, if they are not properly setup.
I won't try to explain, but as I keep working with this little twit problem... I'm thinking I want to be able to control this better.
Not being able to delete the folders with GUID 99 and OUID 99 bothers me.
I've had a bunch of sites hacked over the past couple months, so anything security wise makes my ears perk up. LOL
--------------------------
Currently, I am studying the CRON job stuff. I think CRON scripts is probably a lot more effective way of preserving security and keeping my sites updated.
If you know any links to information that is easy reading (not crammed full of technical jargon) about the use of Cron I'd appreciate if you would tell me about it.
I just don't have the time to learn all the techie stuff about Linux
This being the case... Is
This being the case...
Is there a way to create a cron script that will run often enough to keep owner/group permissions in the owner name?
Here you have a solution via
Here you have a solution via php script:
http://drupal.org/node/231401
Good luck
Great thanx!
Great thanx!