You are not logged in.

#1 2013-08-20 22:22:14

Ledti
Member
Registered: 2010-07-31
Posts: 122
Website

/srv/http/ and the http user

I recently got a VPS and set up darkhttpd on it. The default permissions for /srv/http had me a little confused:

drwxr-xr-x 2 root root 4.0K Mar 14 15:20 http

I'm a bit new at this, but I ended up making the follow permission changes:

drwxrwxr-x 2 root http 4.0K Aug 20 18:00 http

... and added my user to the http group, which seems sane to me.

I've searched around but have been unable to find any relevant mention of the http user/group being used in conjunction with /srv/http. Is this a good approach to permissions for /srv/http? And if so, should I file a feature request to make it the default?

Offline

#2 2013-08-21 11:30:17

wrm
Member
From: Europe
Registered: 2005-06-09
Posts: 19

Re: /srv/http/ and the http user

This is appropriate configuration/permission changes that you've made. About making /srv/http part of http group by default - it's a users preference. Some people run their httpd services under http user, some - dont.


knowledge is p0wer..

Offline

#3 2013-08-21 11:54:36

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,096
Website

Re: /srv/http/ and the http user

I would have opted to make a subdirectory in /srv/http owned by http...

Offline

Board footer

Powered by FluxBB