On Tue, Mar 14, 2000 at 12:02:23PM -0500, Todd Suess wrote:
> 
> Hey gang,
> 
> I want to temporarily allocate some disk space I have spare on my /dev/hda1 
> partition (vfat)
> and link it to a symbolic link in a users directory so he can upload 
> files.  The setup
> works fine if I create links for all the files manually, but if the 
> directory is empty and he
> logs in and tries to upload he gets permission denied, because apparently 
> my /cdrive
> mount point and the /dev/hda1 itself is set to user root group root.  These 
> cannot (as far
> as I have been able to figure out so far anyway) be modified with the 
> normal chown/chgrp
> commands, so I am at a loss as to how to give a regular user write 
> permission via ftp
> to this device.  The contents of my fstab are as follows:
*fat is a very dumb crippled filesystem, it knows nothing of
permissions or symlinks or any other unix goodies. 

you have already got 2 replies about using the umask= mount options to
set global permissions, there is however another option if you want to
spend a bit of time on it:

get the umsdos package and mount the partition as umsdos instead of
vfat (you may lose long filenames im not sure) you may also need to
recompile the kernel with umsdos support. read the docs on umsdos, but
it pretty much is just a matter of running umsync (i think thats
right) in every directory where you need unix features, after you do
that chown/chgrp/chmod will work normally.

note that on win* you will see odd filenames, these store the unix
informations.

> 
> Any suggestions would be most appreiciated,
> 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Reply via email to