Restricting access
Ray Strode
halfline at hawaii.rr.com
Sat Sep 8 12:25:47 PDT 2001
> Actually to be more specific, I want to restrict access on a hard drive
> formatted for windows..is this possible? I know its possible on a
> non-windows-formatted drive.
mount /dev/[drive] /mnt/[mountpoint] -t vfat -o\
uid=`cat /etc/passwd | grep [username] | awk -F: '{print $3}'`,\
gid=`cat /etc/passwd | grep [username] | awk -F: '{print $4}'`,\
umask=077
should do the trick i suspect (untested)
--Ray
More information about the LUAU
mailing list