clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Oct. 03 2006,17:05 |
|
You can change the owner and group of the files on a vfat partition using the uid=dsl and gid=staff options, either from mount or by adding them into the /etc/fstab entry for the device.
mount /dev/hda1 /mnt/test -t vfat -o uid=dsl,gid=staff
I was able to get monkey to serve up a web page from a FAT drive by first mounting the drive as shown above (so that the files were all dsl/staff), creating a link in my home directory, and then copying that link into /opt/monkey/htdocs:
Code Sample | mount /dev/hda1 /mnt/test -t vfat -o uid=dsl,gid=staff cd /home/dsl ln -s /mnt/test/myfile.html newfile.html sudo cp newfile.html /opt/monkey/htdocs |
|