Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
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
Re: 777 on images & files
Thanks Jukka,
how to I get the info you are pointing out? Php method and directories owner?…
Offline
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
Re: 777 on images & files
I’ll guess: mod_php
Offline
Offline
Re: 777 on images & files
API found, it’s apache2handler
Owner not (yet) …
Offline
Pages: 1