Mixing FTP and HTTP file transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 16 Mar 2006 at 11:18am, John Hinton wrote

> How do I deal with this?
>
> A content management system which writes to a user's directory as user 
> apache.
>
> A customer that wants to be able to FTP through a FTP client and vsftpd those 
> same files up and down, which is presently set to work with only their 
> username.
>
> I don't want everything set 777 or even 707. Is there a way to allow a 
> particular user to download and upload files owned by apache, and I would 
> assume, when uploading, those files will need to be chown apache so the CMS 
> can access and update them?
>
> I'm looking for a best solution which is not going to be troublesome in the 
> future and which is not going to have adverse effects on security.

I always use ACLs in a case like that.  'man setfacl'.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux