Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2007-11-29 12:20:14

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#3 2007-11-29 12:56:25

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

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

Board footer

Powered by FluxBB