Closed jbrzusto closed 6 years ago
vsftp server won't follow symlinks out of the user's chroot jail, and /media/SD_card is a symlink to /dev/sdcard, which walks free
/dev/sdcard
/etc/fstab
/dev/sdcard /media/SD_card none rw,bind 0 0
sudo rm /media/SD_card sudo mkdir /media/SD_card
After a reboot, this will make the entire SD card (including SGdata, but also config and OS image file, but not OS tree itself) visible via FTP.
/etc/cron.d/update-XXX
2018 SGPi release includes this fix.
Temporary Workaround for Users
Diagnosis:
vsftp server won't follow symlinks out of the user's chroot jail, and /media/SD_card is a symlink to
/dev/sdcard
, which walks freeTODO for Developers
/etc/fstab
:After a reboot, this will make the entire SD card (including SGdata, but also config and OS image file, but not OS tree itself) visible via FTP.
/etc/cron.d/update-XXX