In all likelihood this is a repeat question, but I seem to be currently experiencing difficulties forming a search query to locate an answer.
I have a vfat partition mounted to
/data containing all of my media, i.e.
/data/websites, etc. The
websites sub-directory is (soft) sym-linked to from
/var/www such that my Apache2 installation uses the directory as its default
fstab entry is currently set to mount
/data using my user/user-group (
uid=1000,gid=1000) such that I can freely make changes to any file without further hassle.
However, I need the
/data/websites directory to be mounted with the
www-data user (
uid=33,gid=33) such that Apache and my web-documents may create, modify, and delete files in the directory. My user is a member of the
www-data group (
gid=33) such that I may also make changes to the files in the directory.
chown are out of the question as they simply have no effect on a mounted vfat partition. How can I mount
/data/websites with a different owner/group (
uid=33,gid=33) while leaving the rest of the
/data mount owned by my user (