I have a usb device FAT32 attached to my pi on which raspbian is installed. I mount it on
/mnt/sdcard1 ls -l command in /mnt gives me drwxr-xr-x 4 root root 32768 Jan 1 1970 sdcard1
I have an fstab edited like this
proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 # This is added to mount usb automatically /dev/sda1 /mnt/sdcard1 vfat defaults 0 0 # This is to bind usb as a sub directory of ipcam user, so that it has access to usb /mnt/sdcard1 /home/ipcam/sdcard none bind 0 0
What happens is when I use ftp client and login as ipcam it can write anywhere in the /home/ipcam directory but not in the /home/ipcam/sdcard What's going on ?
My ftp server running is vsftpd