Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-01-17 20:02:56

lithium002
Member
Registered: 2011-04-29
Posts: 25

FTP permission settings

I have run into a very weird FTP problem with Textpattern.

When uploading images via the admin panel, the image gets uploaded fine but the ‘Owner’ of the image is a ‘group’ that is different than the FTP user whose account it is.

For instance, when I upload an image through the admin panel, the owner of the image is ‘apache’, but the FTP account itself is ‘user’.

I don’t know how I can force textpattern to use the local FTP account and not upload images that way.

Is there a way to do this?

Offline

#2 2012-01-17 20:52:45

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: FTP permission settings

lithium002 wrote:

For instance, when I upload an image through the admin panel, the owner of the image is ‘apache’, but the FTP account itself is ‘user’.

Textpattern doesn’t use FTP to upload images. The files Textpattern, or we really should say PHP, creates will belong to the user that runs PHP. In your case PHP is most likely run as Apache’s module, and Apache is run as apache. So an uploaded file’s owner will be apache.

I don’t know how I can force textpattern to use the local FTP account and not upload images that way.

Short answer is no. You can’t force Textpattern to use any other user.

Offline

#3 2012-01-17 21:47:39

lithium002
Member
Registered: 2011-04-29
Posts: 25

Re: FTP permission settings

I H-A-T-E plesk.

Thanks Gocom!

Offline

Board footer

Powered by FluxBB