If you have been trying to edit, delete, or overwrite some files in your Dolphin setup, but receive a permission denied, upload failed, or similar this might be what you have been looking for.

If you are not able to upload, overwrite, edit, delete, etc. files or folders with your ftp client like filezilla, fireftp, net2ftp, leechftp, winscp, etc. there is a possibility that your hosts server has php compiled as apache module.

What happens when files and folders are created by a php script such as Dolphin with a server running in this manner is files will get owned by the server rather than by your account name.

When this happens if you try to delete, edit, change, overwrite, etc. a file with a ftp client that was actually created by the script you will receive a permission denied, failed, or similar message in your ftp client program.


You might see an error message similar to this:


Upload Failed



You can ask your host to change the owner of the file for you. Most will do this for you if you don't have a bunch of them on a regular basis. If you are frequently asking them to change this for you they may eventually suggest a fee.

This only happens to a file or folder created by the script, and it's not just Dolphin it's any php script.

It is only present on servers that have php compiled as an apache module. Suphp, cgi, fast-cgi are not effected.

In your ftp client if you enable the owner/group column to be visible, files and folders that you cannot change will say something like 99 or (99 99).


Enable Owner Group View




Files are 99'd:


Files 99




The files and folders you can change with your ftp client should say the name of your account in the owner/group column.

Things that will cause files and folders to get 99'd in Dolphin:
Files uploaded as a Dolphin member such as pictures, movies/videos, music/mp3, Orca language files and folders related to compiling Orca language.

You will still be able to delete a picture if you want as a logged in Dolphin member that uploaded it, or in Dolphin Admin Panel. However, if you are trying to do anything with it by means of ftp client and your server is setup as apache module then you won't be able to.

To change the file from owner/group 99 back to your account name, where you can then edit and change it by means of ftp client is fairly simple if your host uses cpanel. If your host uses another control panel you may have to experiment.

To reset and change the 99'd file back to owner (your-account) using cpanel:

First download the file to your local pc with your ftp client.

Then login to your host "cpanel" and navigate to the file manager. In cpanel 11 you will find both "file Manager" and "Legacy File Manager". You can use either one. I prefer the Legacy File Manger because it is faster and doesn't mess up, freeze, or time out like the other one does sometimes.

So click on Legacy File Manger.


Cpanel File Manager



Go button in the pop-up.




Navigate to the location where the file you just downloaded with your ftp client was. Then click on upload.


Navigate to file location



Simply re-upload over-writing it back to the original location using cpanel's file manger. Be sure to check "overwrite existing files"


Overwrite existing files


Now refresh your ftp client screen and the file should change from 99 to the name of your account in the owner/group column.


No More 99


That's it.

Now you can overwrite, change, edit, whatever with your ftp client again.

This is a little time consuming, but so is asking your host to change ownership of the files and folders for you too. Some host aren't exactly prompt when you are in a hurry this could really save you some time.

It may not work for every host out there, but generally it does with cpanel 11 hosting.

Again this is only for php compiled as apache module servers. Suphp, cgi, fast-cgi, etc. servers are not effected. Files will not get 99'd on these setups so you don't even need to mess with it.

This is really helpful for Orca language files and folders that get 99'd when you click on the "en" to compile Orca language in Orca administration.

The drawback is that even if you reset them from 99'd to your-account ownership using this cpanel method the moment you click on the compile orca language (en) again in your Admin Panel they will get 99'd again.

But at least you will not have to ask your host to reset them for you.

If you don't need to do this or have no idea what I am talking about do not bother with this, you probably have no need to change ownership of a file or folder.

If you are trying to edit, change, delete, etc. files and you can't do it or receive permission denied or similar than this might be helpful to you.

This would be most helpful for those of you that have shared hosting. Vps and dedicated setups with root access would be able to do this at the root server level anyway.

I hope it makes sense and helps a few people.

Good Luck!

Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Sponsored Links