Date: Wed, 1 Apr 2009 16:18:39 -0600 From: Joshua Gimer <jgimer@gmail.com> To: "Vasadi I. Claudiu Florin" <claudiu.vasadi@gmail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: ftp with .... ? Message-ID: <cf939bff0904011518u33055d3cn58f78b76f59831b5@mail.gmail.com> In-Reply-To: <op.uro7k913flcvyi@da1-desktop-x64> References: <op.uroc83zeflcvyi@da1-desktop-x64> <cf939bff0903311753n778971c5r1b4691d4f895b4a9@mail.gmail.com> <op.uro7k913flcvyi@da1-desktop-x64>
next in thread | previous in thread | raw e-mail | index | archive | help
What user is your ftp daemon running as? On Wed, Apr 1, 2009 at 2:08 AM, Vasadi I. Claudiu Florin <claudiu.vasadi@gmail.com> wrote: > On Wed, 01 Apr 2009 03:53:09 +0300, Joshua Gimer <jgimer@gmail.com> wrote: > >> Are you sure that the suid bit will not provide the functionality that >> you require? > > It provides it, but only half of it. Did "chmod g+s /mnt" and "chmod u+s > /mnt" but when I create a file with "ftpadmin" through a ftp the file has > ftpadmin:wheel (Parent directory belongs to root:wheel). Maybe it cannot > change to root ? That would be strainge, seing how samba can do it (then > again samba has a module for this) > >> I would make sure that the proper user owns the directory > > They are > >> and then set its suid bit (chmod u+s /mnt/) > > Already did that. > > -- Thx Joshua Gimer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf939bff0904011518u33055d3cn58f78b76f59831b5>