Coda File System

Re: Changing ownership of coda-mounted directories?

From: Bill Gribble <grib_at_cs.utexas.edu>
Date: 26 May 1999 18:40:24 -0500
"Peter J. Braam" <braam_at_cs.cmu.edu> writes:
> You should add user grib to the Coda protection database using pdbtool on
> the SCM.  Set it's userid to what it is on Linux.  Let me know if that
> helps.
> 

I had already done this (see transcript below).  This fixes some
circumstances, but not all.  I don't understand what the difference is
between case 1 and case 2, other than that root isn't in the pdb.

What am I overlooking? 

Thanks,
Bill Gribble


   glare:/coda# cd /coda
   glare:/coda# ls -l
   total 2
   drwxr-xr-x   2 coda-adm nogroup       512 May 23 14:38 home
   glare:/coda# grep grib /etc/passwd
   grib:x:1000:1000:Bill Gribble,,,:/home/grib:/bin/bash
   glare:/coda# pdbtool
   pdbtool> list
   [ snip ] 
   USER grib
     *  id: 1000
     *  belongs to no groups
     *  cps: [ 1000 ]
     *  owns no groups
   pdbtool> quit
   glare:/coda# cd home
   glare:/coda/home# cfs lsmount /coda/home/grib
   Mount point for volume "glare-grib"
   glare:/coda/home# cfs lsmount /coda/home/grib/temp
   Not a mount point

   CASE 1:
   --------

   glare:/coda/home# ls -l
   total 4
   drwxrwxrwx   3 root     nogroup       512 May 26 13:06 grib
   glare:/coda/home# chown grib grib
   glare:/coda/home# ls -l
   total 4
   drwxrwxrwx   3 grib     nogroup       512 May 26 13:06 grib
  
   CASE 2:
   --------

   glare:/coda/home# cd grib
   glare:/coda/home/grib# mkdir temp
   glare:/coda/home/grib# ls -l
   total 2
   -rw-r--r--   1 grib     nogroup         0 May 26 13:05 foo
   drwxr-xr-x   2 coda-adm nogroup      2048 May 26 13:06 temp
   glare:/coda/home/grib# chown grib temp
   chown: temp: Invalid argument
   
Received on 1999-05-26 19:41:39