Skip to content

mnalis/libfakeaccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This LD_PRELOAD shared library is used to override vsftpd requiring chroot
to be non-writeable, and Debian wheezy missing option
allow_writable_root=YES

So, we fake access(2) check for "/", W_OK to return "false" always.

For example, on Debian system you can edit /etc/init.d/vsftpd and before
starting daemon put

LD_PRELOAD="/usr/local/lib/libfakeaccess.so"
export LD_PRELOAD

About

fake access(2) syscall, for allowing vsftpd writeable chroot when root is public_html

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors