Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

chmod problems

Recommended Posts

it takes ALONG time for me (and my 56k modem) to upload products via admin. in contrasts, via FTP i usually get rates of around 18kb/s.

therefore i would like to update my catalog via catalog/temp


however, when i try to replace the files in ftp, this happens

227 Entering Passive Mode (66,227,56,18,227,50).

Opening data connection IP: PORT: 58162.

STOR EP1051305080.txt

550 EP1051305080.txt: Permission denied


i have tried to change the chmod, but it just goes back to normal again. is this because it's a .txt file?


please help



Link to comment
Share on other sites

I have a similar problem because files I FTP are owned by me, but files that I upload through the admin belong to nobody, so I can't delete or overwrite them using FTP.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites



There is a fix for the ownership of files problem around somewhere.....Sorry, I don't know exactly where though......Try a search for chmod or chown or maybe both.......

Link to comment
Share on other sites

i have found a way to overcome my dilemar


instaed of going via ftp, for some reason you can change chmod values by doing it through your server directly, so if your host has some sort of control panel where you can view and make changes you can do it this way. if not,


...Try using a php script to change the permissions on it. PHP scripts still run as nobody, so you should be able to change it to 666 so you can get write access to it. Once you do, I would copy the info to a file with a different name, delete this one, and then rename the new one back to the original name. That will give you ownership on the file.








echo(chmod("/path/to/file", 0666));






You'll see true (or 1) in your browser if it worked, false (or 0) if it didn't

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...