I'm trying to set up FTP on a Mac Mini (Mountain Lion, non-server version). I'm trying to chroot a user to another directory than the user's home directory. Let's call him aaron, homedir = /Users/aaron and desiered chroot upon ftp-login = /some/other/dir.
- I've added aaron to /etc/ftpchroot
- I've added the following line to /etc/ftpd.conf
- - chroot aaron /some/other/dir
As far as I can understand, that should put aaron in /some/other/dir. But when loggin in, aaron is chrooted in /Users/aaron! Why? Can't [pathformat] be a normal path (see https://developer.apple.com/library...d.conf.5.html#//apple_ref/doc/man/5/ftpd.conf )?
- I've added aaron to /etc/ftpchroot
- I've added the following line to /etc/ftpd.conf
- - chroot aaron /some/other/dir
As far as I can understand, that should put aaron in /some/other/dir. But when loggin in, aaron is chrooted in /Users/aaron! Why? Can't [pathformat] be a normal path (see https://developer.apple.com/library...d.conf.5.html#//apple_ref/doc/man/5/ftpd.conf )?