Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th October 2008
Yuka Yuka is offline
Complete BSD nubcake
Join Date: Jul 2008
Posts: 31
Default permissions and FTP/HTTP

DISCLAIMER: I'm a bit new to FreeBSD and 'nix in general. I'm learning and I'm willing to learn/read whatever it takes to get where I can do what I need to do.

Alrighty, here's the deal.

I'm running a FreeBSD 7.0 box as my webserver. It's running Apache 2.2.x and Pure-FTPD (Not sure on the version, latest stable build from around May).

Problem is that the FTP accounts are run as ftpuser:ftpuser and the HTTP needs www:www as the owner. Files that get uploaded with FTP are owned by ftpuser:ftpuser and as you can probably tell, this causes a problem.

I tried making an FTP account that is www:www but alas, no luck. I can't get it to connect.

I'm looking to use this as a free webhosting platform for a closed group and if I have to constantly "massage" the permissions, even via cron, that isn't a good thing.

What's the best way to "fix" this issue? How can I set FTP to use www:www as the account? Or should I change apache to run as ftpuser:ftpuser?

Any help would be much appreciated! Thanks!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions error J05HYYY NetBSD Package System (pkgsrc) 1 7th October 2009 11:05 PM
Permissions for zzz / acpiconf Mantazz FreeBSD General 0 15th September 2009 10:43 PM
Apache response to "OPTIONS * HTTP/1.0" samile Other BSD and UNIX/UNIX-like 4 1st August 2008 09:59 PM
Pureftp and changing permissions disappearedng FreeBSD General 4 8th July 2008 12:47 AM

All times are GMT. The time now is 02:10 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick