Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-11-29 11:51:14
- eagleeye
- New Member
- Registered: 2007-11-25
- Posts: 4
Folders and permissions required
I am looking at running TXP within our own hosted environment but can’t seem to get around the fact that the webserver user requires 777 permissions to the images and files folders. At least that’s what the Diagnostic page tells me. The obvious concern is that this allocates full access to the folders in question, and is deemed insecure in our environment. Can lesser permissions be assigned but still retain the functionality?
Offline
Re: Folders and permissions required
One way that I use for my /files/ directory (I don’t bother with /images/ though I think you can do the same for this one) is to place the directory above the public_html directory so it can’t be accessed from outside. You would need to modify the paths in admin but that’s simple enough.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Folders and permissions required
You need to set the permissions, so the webserver can read the images, but at the same time the TXP PHP scripts need read/write permission in the images folder and must be able to write new images.
Offline
Pages: 1