[Nix-dev] [PATCHES] vsftpd and filesystems

Bryce L Nordgren bnordgren at gmail.com
Thu Feb 23 23:52:44 CET 2012


The following two patches are to address some issues I had trying to setup
an ftp server with btrfs.

vsftpd.patch :
Patched to create an "upload" directory with the correct permissions if
cfg.anonymousUser is true and cfg.anonymousUploadEnable is also true.
Previously, an upload directory would have to be manually created. Also, I
added an "additionalConfig" parameter to contain any additional text which
needs to be added to "vsftpd.conf".

filesystems.patch:
Fixed for use with BTRFS filesystems. The fix involves doing a "modprobe
btrfs" and "btrfs device scan" prior to mountall.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120223/289b20ff/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsftpd.patch
Type: text/x-patch
Size: 1761 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120223/289b20ff/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filesystems.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120223/289b20ff/attachment-0001.bin 


More information about the nix-dev mailing list