WoofyDugfock
  
 
 
  
 
 
Group: Members 
Posts: 146 
Joined: Sep. 2004 | 
  | 
Posted: Mar. 11 2005,08:15 | 
   | 
 
 
  
Thanks.  Guess a partition's not much good without a filesystem, so I do need mkdosfs.
  Not using pendrive/embedded so the easy way to get mkdosfs is to apt-get install dosfstools.
  RE: my second question -- I've been  writing an easy-to-use set of scripts to (u)mount up to 7 encrypted volumes using loop-aes via emelfm buttons.  This all works suprisingly well except that when I format my loop device with vfat or msdos and then umount, on mounting again I can only access the mount point directory as root. 
  It seems the usual code to grant permission to the user dsl (taken from the web), where $FILE is the encrypted container/device and /mnt/tmp is the mount point, is:
  chmod go= $FILE # Then after mounting on /mnt/tmp: chown dsl -R /mnt/tmp chmod go= -R /mnt/tmp # Then umount.
  This works fine for ext2 or ext3 but I get "permission denied" type errors on chown for vfat or msdos, and "pt-chown needs to be installed", whatever that is.
  (PS: the scripts seem to have to be run as root anyway because losetup requires root, but it would be nice to have the option of accessing a mount point directory as dsl if so desired - though it might be argued that an encrypted mount point should only be accessible as root for security reasons anyway?). 
  -------------- "We don't need no stinkin' Windows"
  http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
 |