apnafaidag Posted November 17, 2009 Share Posted November 17, 2009 Hi every body, Can any person tell me about nobody permission error. I found lastnight i update few files. suddenly all my images disappear wheni check at ftp they have 99 onwer ( means nobody rights) When i talked with server hosting they told me it is code error whihc done this .Please eny one help me what happend sith code why my files get nobody ownership indtead of username. Regard Imtiaz Link to comment Share on other sites More sharing options...
MrPhil Posted November 17, 2009 Share Posted November 17, 2009 Did you somehow do a "chown" rather than a "chmod", and reassign ownership to some bogus ID number (becoming "nobody")? Did this only happen to files you updated, or were other files' ownership changed? Were you using some script to do updates? There shouldn't be anything in osC that would change owner, so I'm guessing that it's a system hiccup. Does your hosting service control panel (e.g., cPanel or Plesk) file manager confirm the changed ownership? You're going to have to tell your host support what happened, and have them chown the files back to you. Provide them with a list in a file, or even a shell script that they could run (all set up and ready to go). That eases their workload (increasing the chances that they'll do it for free) and reduces the chances of their making an error. Normally, once you lose ownership of a file or directory, you can't use chown to get them back yourself -- the "superuser" has to do it. #!/bin/bash chown myID.myGroup /path/filename1 chown myID.myGroup /path/filename2 ...etc... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.