ftpd in base
Sean Bruno
sbruno at freebsd.org
Sun May 20 17:08:35 UTC 2018
On 05/20/18 05:49, tech-lists wrote:
> Hi,
>
> context: 11.2-BETA2 #0 r333924/amd64
>
> I'm trying to get chrooted ftpd (in base) to write files uploaded to the
> user dir as mode 666 (umask 111). I have a line in inetd.conf that looks
> like this:
>
> ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -u 111
>
> The user logs in OK and uploads OK but the perms are always 644. There
> is no login.conf overriding this. The users shell is /usr/sbin/nologin
> as these are ftp-only accounts. This exact config works fine on linux
> (specifically ubuntu)
>
> Why is ftpd ignoring -u ? How can I fix?
>
> thanks,
Is it possible that you have 644 in login.conf? The man page for ftpd
seems to indicate that -u XXX will be overriden by login.conf settings.
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180520/896ad784/attachment.sig>
More information about the freebsd-stable
mailing list