Adding USB Drive to fstab For Apache /www Directory on Raspberry Pi

by jnewmaster

Apache permissions issue encountered while moving apache /var/www directory to /media/usbstick on the Raspberry Pi with Debian

Solution at http://ubuntuforums.org/archive/index.php/t-1448092.html

sudo blkid to find UUID of device
sudo mkdir /media/usbstick
vi /etc/fstab and add line
UUID=3C52-C8C5 /media/usbstick vfat user,umask=000,utf8,flush,noauto 0 0

(Make sure to replace the UUID in the line above above with your devices UUID)

Credit for solution goes to Morbius1 at ubuntuforums.org

Advertisements