Dotclear

Vous n'êtes pas identifié(e).

Annonce

#1 2011-12-12 13:10:22

boris
Membre
Inscription : 2011-12-09

File and Folder Permissions

Should all folders be reset to 755? And files to 644?

Hors ligne

#2 2011-12-12 13:23:19

boris
Membre
Inscription : 2011-12-09

Re : File and Folder Permissions

I just read an older post 2008, and although my French is not so good any more :), with the help of Google translate I think it said that 777 permissions are unavoidable and don't represent a vulnerability with dotclear. I just wanted to confirm this.

Hors ligne

#3 2011-12-12 13:38:34

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : File and Folder Permissions

Some hosters will not allow 777 permissions anyway, I think that what you have is fine, although you may want protect a bit more the whole site by adding :

Options -Indexes

in your  .htaccess file ;)

Hors ligne

#4 2011-12-12 14:50:03

boris
Membre
Inscription : 2011-12-09

Re : File and Folder Permissions

Thanks for your reply.

You are correct that the hoster does not permit 777 permissions. I have found that both my /public and /cache are 777 and have changed them to 755. Will this disable the blog?

Hors ligne

#5 2011-12-12 14:52:54

boris
Membre
Inscription : 2011-12-09

Re : File and Folder Permissions

There are also numerous files in /cache which are 777, such as /cbfeed etc. Can those be changed to 755 without affecting the blog?

Hors ligne

#6 2011-12-12 14:59:12

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : File and Folder Permissions

My cache folder has 705 permissions, then I suppose 755 should work fine too ;)

Hors ligne

#7 2011-12-12 18:18:28

boris
Membre
Inscription : 2011-12-09

Re : File and Folder Permissions

Thank you :)

Hors ligne

#8 2016-07-10 09:47:52

Hazuki
Membre
Inscription : 2016-07-10

Re : File and Folder Permissions

Can anyone update on this information. I have just installed dotclear and there were some permissions issues during installation.
I have some directories set to 777 (cache, inc, themes) and I wonder if this is the way they should be. Can anyone with a working installation post their folder permissions? 777 seems a bit risky.

Hors ligne

#9 2016-07-10 10:13:25

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : File and Folder Permissions

755 -> /cache and /public and /themes

Hors ligne

#10 2016-07-10 11:02:46

Hazuki
Membre
Inscription : 2016-07-10

Re : File and Folder Permissions

Thank you very much.

Hors ligne

#11 2016-07-10 11:10:50

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : File and Folder Permissions

Le plugin Informations permet de voir si des dossiers requièrent des droits :
http://brol.info/divers/forumdc/plugin-info-1.8.7.zip

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map