You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 22-05-2014 07:58:14

cjones
Contributors
Registered: 19-05-2014
Posts: 3

Permissions structure?

Hi

As well as good practice, what is the required permissions structure to allow all features (cache/compress) and editing to work?

I know its easy to just blat the whole structure with 777 but what should each path and individual file be for correct and secure operation?

Thanks
Chris

Offline

#2 22-05-2014 08:03:57

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Permissions structure?

all folders and files except cache (and config, if you want to change some settings) can be read-only. smile

Offline

#3 22-05-2014 08:13:31

cjones
Contributors
Registered: 19-05-2014
Posts: 3

Re: Permissions structure?

Hm.. I'm getting some unexpected issues then.

http://domain/admin/code-editor.php?p=../config/tiles.php

And all I get is:
1     <?php

Unless the /* comments in tiles.php file is messing it up?

Offline

#4 23-05-2014 14:25:55

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Permissions structure?

/* Comments should not be the problem.

Your config dir if writable?
When you make everything writable, it does work again? If so, you could try changing permissions in smaller batches to see which dir messes up. But the cache and config dir are the only ones that need writing permissions. Maybe the problem is not because of the permissions?

Offline

#5 23-05-2014 14:34:09

cjones
Contributors
Registered: 19-05-2014
Posts: 3

Re: Permissions structure?

Weird, if I view source on the editor page, all the text is there, its just not being displayed on screen.

I'm not really that bothered as I always ssh in, just wanted to know how it should be.

Offline

Board footer

Powered by FluxBB