UIDs and GIDs

amchaos

New member
Joined
Mar 29, 2006
Messages
3
Location
Australia
Does anyone know how to change UID and GIDs? I have a directory that has a different UID and GID from the rest of my files. I can't seem to delete that directory.
 
I got errros saying:
Unable to delete /domains/[mydomain]/public_html/[mydirectory]. Write access to the directory /domains/[mydomain]/public_html/[mydirectory] is not allowed for the process's effective uid, or one of the directories in pathname did not allow search (execute) permission.

I have tried ssh to remove it. But it also said 'permission denied'. I have tried to chmod it, chown and chgrp it. but all got the same 'permission denied' error back.

Is there any other way?
 
Are you a server administrator?

If so you can log in to your server as root and delete the files.

If you're only a user or a reseller you don't have enough rights.

What is the UID? The GID? Numbers or names?

If numbers then they generally get there because an archive made on another system was unpacked in your domain space.

If names they could have been placed there by someone else but probably they're there for the same reason as above.

Jeff
 
I'm not quite sure what you mean by "root'. Is that asking whether I own the server or not? I'm using a webhost, and as I said, I have tried to delete the files, but I can't.

The files have the UID and GID of "apache". I've tried to change the files back using ssh, but I couldn't. Is there anything else I could do?
 
Only your webhosting company can delete files owned by apache. You should notify their support team.

You shouldn't post in Admin-Level Difficulties if you're not a system administer. It results in you getting help you can't use.

I've moved the thread to User-Level Difficulties.

Jeff
 
Back
Top