Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 18, 2011 7:17 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
I recently offered a F\OSS project I work with to move their site from their old crappy host to my Linode. They jumped on that right away.

I have a slight OCD for security, and I only want them to be able to mess with the files and configuration for their site. However, since their site is being run by the same web server daemon as my site, the files are owned by the same user and group. Is it possible to do this via sudo, or possible run two instances of my server daemon (nginx), each owned by a different user/group? So far, in my searches around the web, I haven't found a way to do this.

_________________
Kris the Piki Geeker


Top
   
 Post subject:
PostPosted: Sun Sep 18, 2011 7:30 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
Just started running the permissions system in Linux through my head, and something I just thought of: If I change the group on the files for the other site and I leave the user set to my nginx user, would this mess with nginx's ability to correctly serve the site? If not, I can easily add the people for the other project to said group and give their group rwx permissions for their site.

_________________
Kris the Piki Geeker


Top
   
 Post subject:
PostPosted: Sun Sep 18, 2011 7:50 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
Piki wrote:
Just started running the permissions system in Linux through my head, and something I just thought of: If I change the group on the files for the other site and I leave the user set to my nginx user, would this mess with nginx's ability to correctly serve the site? If not, I can easily add the people for the other project to said group and give their group rwx permissions for their site.


That should work just fine.

The more common way I've see it done is the opposite of that, user owns the files and the web server user has group access. However, it sounds like you have multiple users, so your proposal makes sense.


Top
   
 Post subject:
PostPosted: Sun Sep 18, 2011 7:59 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
Yes, I am allowing access to official members of the project, so there will be multiple users. Just wanted to make sure this wouldn't mess with nginx :)

_________________
Kris the Piki Geeker


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group