Install instructions are overly open with permissions

Found a bug? Tell us!!
Post Reply
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Install instructions are overly open with permissions

Post by Zugschlus »

Hi,

the s9y installation instructions say to chmod the entire installation directory 777, while it is actually only needed to have a few directories and files writeable by the web server. The s9y installation routine even checks file permissions and complains when needed permissions are missing.

It is though easily possible to start from a directory with a secure permission set and open up permissions as far as it is necessary to keep s9y installation from complaining. No need to open a security hole as big as 777 permissions on the entire installation.

In my opinion, the docs should be changed. The software is fine.

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Install instructions are overly open with permissions

Post by garvinhicking »

To which docs exactly are you referring to?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Install instructions are overly open with permissions

Post by Zugschlus »

garvinhicking wrote:To which docs exactly are you referring to?
http://www.s9y.org/36.html
docs/INSTALL

Serendipity doesn't ship world writeable, either. Or does tar honor umask when unpacking?

I cannot find the reference where chmod 777 is recommended, though.

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Install instructions are overly open with permissions

Post by garvinhicking »

Tar can honour umasks and permissions, AFAIK.

Thanks for the two links, I adjusted them!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply