Coda File System

Problem with ACLs - I think!

From: Dermot Cassidy <dermot.cassidy_at_compaq.com>
Date: Tue, 10 Apr 2001 16:00:43 +0100
Hi,

I've setup a pair of coda servers and some clients on FreeBSD 4.2.
The clients can see the coda filesytem OK.  I've created an
additional replicated volume called 'rs.users' which I want to
mount at /coda/users.  The volume gets created OK and the
cfs mkmount command returns a success value.  I can even make
files in the newly mounted volume.  However, I can't list its
contents or change into the relevant directory.  I assume there
is something about ACLs that I don't understand, but my attempts
to change them don't work.  I'd appreciate any help you might
be able to give.

I've listed below the output from the createvol_rep command
(between dashed lines), then the transcript of a session, which
will illustrate the problem.  (1002 is the id of the coda internal
administrative user.)

I've spent a good while trawling through the documents, but
haven't found anything relevant.

Thanks in advance.

Dermot

--
Dermot Cassidy, Systems Engineer, A&O Group, Services Engineering,
  Compaq Customer Services, Ballybrit Business Park, Galway, Ireland.
    tel: +353-91-754678 / mailto:dermot.cassidy_at_compaq.com

-------------------------------------------------------------------------

createvol_rep rs.users E0000300 /vicepa
Servers are (butch sundance.ilo.cpqcorp.net )
HexGroupId is 7f000006
creating volume rs.users.0 on butch (partition /vicepa)
V_BindToServer: binding to host butch.ilo.cpqcorp.net
creating volume rs.users.1 on sundance.ilo.cpqcorp.net (partition /vicepa)
V_BindToServer: binding to host sundance.ilo.cpqcorp.net
Fetching volume lists from servers:
V_BindToServer: binding to host sundance.ilo.cpqcorp.net
GetVolumeList finished successfully
 sundance.ilo.cpqcorp.net - success
V_BindToServer: binding to host butch.ilo.cpqcorp.net
GetVolumeList finished successfully
 butch - success
V_BindToServer: binding to host butch.ilo.cpqcorp.net
VLDB completed.
<echo rs.users 7f000006        2 1000007 2000006 0 0 0 0 0 0 E0000300 >> /vice/db/VRList>
V_BindToServer: binding to host butch.ilo.cpqcorp.net
VRDB completed.
Do you wish this volume to be Backed Up (y/n)? [n] n

-------------------------------------------------------------------------
ilo102-/coda $ ctokens

Token held by the Cache Manager:

Local uid: 21128
Coda user id: 1002
Expiration time: Wed Apr 11 13:43:30 2001

ilo102-/coda $ pwd
/coda
ilo102-/coda $ ls -l
ilo102-/coda $ cfs mkmount /coda/users rs.users
ilo102-/coda $ echo $?
0
ilo102-/coda $ ls -l
total 0
lrw-r--r--  1 1002  nobody  10 Apr 10 14:58 users -> #rs.users
ilo102-/coda $ cfs listacl /coda/users
/coda/users: No such file or directory
ilo102-/coda $ touch /coda/users/junk
ilo102-/coda $ echo $?
0
ilo102-/coda $ ls -l users
lrw-r--r--  1 1002  nobody  10 Apr 10 14:58 users -> #rs.users
ilo102-/coda $ ls -l users/*
-rw-r--r--  1 1002  nobody  0 Apr 10 14:59 users/*
ilo102-/coda $ ls -l users/junk
-rw-r--r--  1 1002  nobody  0 Apr 10 14:59 users/junk
ilo102-/coda $ echo hello world >>users/junk
ilo102-/coda $ echo $?
0
ilo102-/coda $ cat users/junk
hello world
ilo102-/coda $ cd users
bash: cd: users: Not a directory
ilo102-/coda $ cfs setacl /coda/users 1002 rwidlak
/coda/users: Not a directory
ilo102-/coda $ ls -l
total 0
-rw-r--r--  1 1002  nobody  12 Apr 10 15:01 #rs.users
lrw-r--r--  1 1002  nobody  10 Apr 10 14:58 users -> #rs.users
ilo102-/coda $ 
Received on 2001-04-10 11:03:36