PDA

View Full Version : Error uploading images.



gregr66
01-14-2006, 04:03 PM
Hello,

Still new to DA, however I have set up 4 sites so far, but out of the blue I can't ftp, upload through DA or upload images (through Dreamweaver) into the image directory on the 4th site.

I've had no problems before on the other sites, but keep getting "permission denied". When I go to the site's file manager in DA, the image directory UID/ GID is root/root, whereas all the othe folders are set at admin/admin.

Any ideas please, I'm lost where to find the errors and lack of images!

Thanks,
Greg

Aspegic
01-14-2006, 04:10 PM
You could use chown to change the uid/gid of the folder to admin/admin.

gregr66
01-14-2006, 05:08 PM
Thanks for getting back to me.

Can you please elaborate on how to do that? I'm fairly new to linux and the command prompt, but learning quickly.

I did find an easier way though. Jus renamed images to images_ and reulploaded directory. Strange how one directory was created like that.

Thanks,
Greg

nobaloney
01-14-2006, 05:16 PM
Yes, it's quite strange.

Are you the server administrator?

If so, you shell in as root, navigate to the parent directory, and then:

chown username:groupname dirname

where username & groupname are the user and group names you want the directory changed to, and dirname is the name of the directory.

Jeff