1

I'm wanting to use my Pi as a dashboard camera and I'm wanting motion to save its files to the usb but it doesn't have permissions to save to it. The usb is currently FAT32 so I can plug it into a Windows PC and see the files. If making it ext4 will fix this I'll do it. The motion daemon needs to have access to the usb without a user logging in as the Pi will be headless. I have tried setting user to nobody in the permissions but I get Operation not permitted errors, even running as root user.

Any help will be appreciated.

1 Answer 1

1

You need to set the mount options when mounting the stick to allow the motion user to write to the USB stick.
Try these fstab options
/dev/sda1 /opt/yourmountpoint vfat -o umask=000 0 0

1
  • Did everything except for the -o and it works great. Mounted it to /media/USBNAME but had to create the directory there first
    – 11chubby11
    Commented Nov 2, 2013 at 0:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.