Public bug reported: After upgrading the house server to 12.04 vsftpd no longer accepts uploads to / in a chroot account.
This is needed because the Brother Multi Function Printer has a scan to ftp function (which rocks, just scan and forget about the documents) which uploads such file names as this: Fri Jun 1 13:03:28 2012 [pid 3] [mfpscan] FAIL UPLOAD: Client "192.168.1.8", "/scan__000227.pdf", 0.00Kbyte/sec There is no newer firmware and I can't seem to persuade it to not specify / in the filename. When loging into the server this message is produced: OOPS: vsftpd: refusing to run with writable root inside chroot() OOPS: priv_sock_get_cmd Googeling this there seems to be multiple patches to work around the problem (resulting in the "allow_writeable_root" in the submitted vsftpd.conf), but none of them are applied on 12.04 it seems. strings on the binary does not give me any hope that any other configuration directive has been added for this. I understand the reason for the security patch that produces this problem, but it seems quite acceptable since there is anonymous login and the ftp server is not reachable from the internet. This would be the case for most people using vsftpd for this purpose. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: vsftpd 2.3.5-1ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic i686 ApportVersion: 2.0.1-0ubuntu7 Architecture: i386 Date: Fri Jun 1 18:03:49 2012 ProcEnviron: TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: vsftpd UpgradeStatus: Upgraded to precise on 2012-05-21 (10 days ago) mtime.conffile..etc.vsftpd.conf: 2012-06-01T13:19:03 ** Affects: vsftpd (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007510 Title: vsftpd does not allow upload to chroot root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1007510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs