[OpenAFS] "not updating unwritable cache ./config.cache"
Tim Carlson
tim.carlson@pnl.gov
Mon, 19 Nov 2001 10:17:26 -0800 (PST)
Client machine:
Redhat 7.1, kernel 2.4.14, OpenAFS 1.2.2
Solaris Transarc 3.6 servers
Now this has happened to me all the time and I have just ignored it until
now when one of our users started asking me about it. :)
I have an AFS directory in which I do builds when I am klog'ed as "admin"
roach102% pwd
/afs/msrc.pnl.gov/files/dist/src/readline-4.2/linux
roach103% fs la .
Access list for . is
Normal rights:
pnl_hosts rl
admin:appls rlidwka
system:administrators rlidwka
roach104% tokens
Tokens held by the Cache Manager:
User's (AFS ID 1) tokens for afs@msrc.pnl.gov [Expires Nov 26 18:42]
--End of list--
roach105% ../readline-4.2/configure
[snip]
checking configuration for building shared libraries... supported
not updating unwritable cache ./config.cache
creating ./config.status
creating Makefile
roach106%
roach106% ls -l
total 15
-rw-r--r-- 1 bin users 0 Nov 19 10:03 config.cache
-rw-r--r-- 1 bin users 8043 Nov 19 10:09 config.log
drwxr-xr-x 2 bin users 2048 Nov 19 10:09 doc
drwxr-xr-x 2 bin users 2048 Nov 19 10:09 examples
drwxr-xr-x 2 bin users 2048 Nov 19 10:09 shlib
-rw-r--r-- 1 bin users 1 Nov 19 10:03 stamp-h
So the config.cache file gets "touched" to start, but then fails to get
updated.
I did some experimenting and found that if I did a
umask 002
chmod 664 config.cache
and reran the configure, then the config.cache file did get updated.
roach49% id -a
uid=20679(tim) gid=100(users) groups=34501,36904,100(users)
So my uid is 20679, but file creation is being done as user "bin" since I
am klog'ed as admin.
Any ideas?
Thanks
Tim
Tim Carlson
Voice: (509) 531-1612
Email: Tim.Carlson@pnl.gov
EMSL UNIX System Support