* RE: [9fans] Beginner question on how to change owner of files in fossil
@ 2004-03-09 18:05 Tiit Lankots
0 siblings, 0 replies; 6+ messages in thread
From: Tiit Lankots @ 2004-03-09 18:05 UTC (permalink / raw)
To: 9fans
> Is there any immediately usable command similar to chown for use on a
> srv -AWP mounted tree?
chgrp
^ permalink raw reply [flat|nested] 6+ messages in thread
* [9fans] Beginner question on how to change owner of files in fossil
@ 2004-03-09 17:39 plan9
2004-03-09 17:52 ` andrey mirtchovski
0 siblings, 1 reply; 6+ messages in thread
From: plan9 @ 2004-03-09 17:39 UTC (permalink / raw)
To: 9fans
Hi,
some time ago I upgraded my machines from kfs to fossil/venti using
the homegrown kernel (as described on the wiki page, this was before
the fossil/conf times) that uses a fossil without srv -AWP support.
In order to do a pull from sources, I created a special admin user,
who is a member of the sys group.
So, obviously, lots of new files that I have pulled subsequently are
now owned by my admin user. And this leads to those annoying "cannot
change attributes" messages during pulls. I have now rebuilt my
kernel using the latest, greatest fossil.
What is the most straightforward way of reverting all files owned by
my admin user to sys? I have so far attempted doing just a pull, this
has no effect, bar giving me the usual warning. I have attempted a
pull -s, which has absolutely no effect whatsoever, doesn't pull
anything as far as I can tell. I have attempted removing the
offending files, but a pull only reports that it won't update "locally
removed files", and an explicit pull -s of an explicit deleted file
has no effect at all (again).
Any ideas?
Do I have to build a special purpose fossil that allows srv -AWPp?
Thank you very much in advance,
Robby
PS I am having difficulties using the pcf and pccpuf kernels, but I
haven't yet played around enough to figure out what I might be doing
wrong. I just get a screen full of lots of 80...=something and a dump
of the registers. I'll play some more.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] Beginner question on how to change owner of files in fossil
2004-03-09 17:39 plan9
@ 2004-03-09 17:52 ` andrey mirtchovski
2004-03-09 18:03 ` plan9
0 siblings, 1 reply; 6+ messages in thread
From: andrey mirtchovski @ 2004-03-09 17:52 UTC (permalink / raw)
To: 9fans
use the -AWP /srv/replica and just chmod there.. you can look at
/dist/replica/client/plan9.log for ownership information or,
alternatively, look at /n/sources/plan9/...
with plan9.log you can script it quite easily -- it has original
user/group for every file you've pulled...
andrey
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] Beginner question on how to change owner of files in fossil
2004-03-09 17:52 ` andrey mirtchovski
@ 2004-03-09 18:03 ` plan9
2004-03-09 18:11 ` rog
0 siblings, 1 reply; 6+ messages in thread
From: plan9 @ 2004-03-09 18:03 UTC (permalink / raw)
To: 9fans
Hi,
> use the -AWP /srv/replica and just chmod there.. you can look at
As far as I can tell, chmod does not support changing the owner of a
file. I know I could do it by building a special fossil to allow srv
-AWPp and then use '[ fsys name ] wstat file elem uid gid perm length'
inside a con.
Is there any immediately usable command similar to chown for use on a
srv -AWP mounted tree?
Thanks,
Robby
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-03-09 18:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-09 18:05 [9fans] Beginner question on how to change owner of files in fossil Tiit Lankots
-- strict thread matches above, loose matches on Subject: below --
2004-03-09 17:39 plan9
2004-03-09 17:52 ` andrey mirtchovski
2004-03-09 18:03 ` plan9
2004-03-09 18:11 ` rog
2004-03-09 18:10 ` plan9
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).