[TriLUG] private key permission/ownership on removable USB device

Tanner Lovelace clubjuggler at gmail.com
Mon Feb 28 13:44:02 EST 2005


On Mon, 28 Feb 2005 12:48:01 -0500, Mack.Joseph at epamail.epa.gov
<Mack.Joseph at epamail.epa.gov> wrote:
> Joseph Mack PhD, High Performance Computing & Scientific Visualisation
> LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
> Federal Contact - John B. Smith 919-541-1087 - smith.john at epa.gov
> 
> trilug-bounces at trilug.org wrote on 02/28/2005 12:06:07 PM:
> 
> > Here's the way I did that for my machines:
> >
> > 1) Leave the key drive a fat file system.
> 
> I hoped not to have to do this :-( Why can't you use ext3?
> 
> Do you need fat so you can use the uid/gid below (your "2")

No, you need fat because it doesn't store the uid/gid in the
filesystem.  Ext2/3/other unix filesystems do, so they won't
work.  Because you have different uid/gids on different machines,
the uid/gid can _not_ be stored in the filesystem if you want
it to work.  By storing the data in a fat file system, you can
specify the uid/gid to impose upon the filesystem when
you mount it.  Because they're stored on disk for ext2
filesystems you cannot.  
 
> how do you do it with ext2?

You would need someway to change all the uid/gids stored
on the disk each time you mounted the filesystem.  For
your small filesystem, this wouldn't be too hard, but it would
be another step and it's unlikely that you could easily automate
it everywhere.

Cheers,
Tanner
-- 
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
http://www.freeiPods.com/?r=8127171
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.



More information about the TriLUG mailing list