[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

User / Group Permissions are Wrong

Hey there,

For some reason (and I really don't know what happened), user and group permissions of a specific directory on one of my sites isn't right. All my other directories, the user and group is serenade / serenade. But on this one directory, it's 99 / 99. This making it impossible to change, remove anything. I really don't know what to do.

Any and all comments are appreciated,
Thanks.
0
drumer901
Asked:
drumer901
  • 3
  • 2
2 Solutions
 
jax79sgCommented:
Do you have an administrator account to that folder?
If yes, take ownership of that folder through the following.
RIght click it , select properties
Select the Security tab
Click Advanced
Click the Owner tab
Select the new owner that you have access to,
Now reset the permissions for the folder (Eg: Remove 99/99 and add serenade/serenade.)

Now you should be able to do whatever you want.
0
 
chingmdCommented:
Somehow /somewhere the permissions got changed to UID 99 and GID 99.

So if you want to see your own UID/GID  use the command id.  You can also run ls -ln to see what it looks like in a dir listing.  I've typically seen this when the UID/GID no longer exsist.

If you are the admin of the machine, then check the /etc/group and /etc/passwd file to find out if there really is a uid of 99/gid of 99.    Then using the root account, change the permissions to the correct set.

chown serenade serenade <dir>

For the the directory and all files and dirs below it.  

chmod -R serenade serenade <dir>

If this is a hosted machine, then you will need to contact the admins of that box who have root to make the change.     AS well as have them find out what's up with the unknown UID.  




0
 
drumer901Author Commented:
Wow I think you really got something there, but I'm quite new to this. If you could give me detailed instructions, it could help me alot. And I have cpanel if that helps in any way...
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
chingmdCommented:
You are saying that you have cpanel.   I'm guess that this is a a hosted machine.

I would put in a ticket with your provider to find out what the directory is.  It may be a special directory that you are supposed to leave alone.
Is this directory available to people via the web interface?

At this point, I would want to know if this is a hosted environment, the OS, and if you have shell access to this machine.


0
 
drumer901Author Commented:
I'm hosting on one of my friend's server.
0
 
chingmdCommented:
If the data is yours, then you should contact your friend to runt he chown -R on the dir to you.  Or find out what it is so you can safely ignore it.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now