RE: [SLUG] permissions for FTP

From: Levi Bard (levi@bard.sytes.net)
Date: Wed Apr 14 2004 - 12:49:31 EDT


>>> I have VSFTP running and I'm looking for a simple way to grant a few
>>> developers write permissions to the devsite directory and not allow
>>> them
>>> to
>>> screw up the rest of the box. I'm struggling to understand how to set
>>> up
>>> the
>>> rights for the developers to read and write the directory. What do
>>> y'all
>>> think would be the easiest way?
>
>>So...do all the developers have separate user accounts? If so, I'd make
>> a
>>group "devs" and change the group ownership on the directory to devs,
>> then
>>make it group readable/writable.
>
> Okay I created a group called developers, then I:
> (The folder containing the website source is "devdir")
> #chgrp developers devdir
> the folder now shows up as owned by root by the group is developers
>
> I'm not use the right way to use chmod to set the permissions. I think
> I'm
> supposed to do this:
> # chmod -R 775 devdir
> Is that right? anything else to do?

I would make it 664 or 660, so things in the ftp dir can't be executed.
But maybe it doesn't matter that much.

Don't forget to add all your developers to that group.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:36:53 EDT