Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-07-12 09:43:32

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 252
Website

777 on images & files

Hello,
I have some troubles with the /images and /files folders. If I keep them on 755, Txp raises an error (not writable). If I set them to 777, it’s ok, but….
I wrote to the hosting maintainer, they say they can’t do anything.

Any suggestion?
Thanks

Offline

#2 2011-07-12 11:56:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: 777 on images & files

Switch to different hosting unless you’re on a VPS or dedicated server where you are the only user.

Offline

#3 2011-07-12 15:07:53

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

Re: 777 on images & files

I shall echo Ruud. 755 (rwxr-xr-x) is typically the loosest permission you should use on a shared server.

Out of curiosity (if it’s shared hosting), which method is used to run PHP and who is the owner of your directories? Commonly on shared server directories should be owned and PHP run by your own shared hosting account user.

Offline

#4 2011-07-12 15:53:41

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 252
Website

Re: 777 on images & files

Thanks Jukka,
how to I get the info you are pointing out? Php method and directories owner?…

Offline

#5 2011-07-12 16:04:42

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

Re: 777 on images & files

Manaus wrote:

how to I get the info you are pointing out? Php method and directories owner?…

I was just asking out of my own curiosity. Not that telling me would solve any possible permission role problems your hosting provider has, it’s all up to them unfortunately.

Anyways as you asked, you can (possibly) find the method PHP is run-as by looking at Textpattern’s diagnostics report (search for PHP api line or similar), and you can check the owner directories with shell or FTP client.

Offline

#6 2011-07-12 16:14:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: 777 on images & files

I’ll guess: mod_php

Offline

#7 2011-07-12 16:35:40

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

Re: 777 on images & files

ruud wrote:

I’ll guess: mod_php

Yep, most likely.

Offline

#8 2011-07-12 16:39:48

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 252
Website

Re: 777 on images & files

API found, it’s apache2handler
Owner not (yet) …

Offline

Board footer

Powered by FluxBB