* [9fans] how is it done on sources?
@ 2003-07-03 14:56 andrey mirtchovski
2003-07-03 15:09 ` Fco.J.Ballesteros, nemo
2003-07-04 4:38 ` Russ Cox
0 siblings, 2 replies; 7+ messages in thread
From: andrey mirtchovski @ 2003-07-03 14:56 UTC (permalink / raw)
To: 9fans
how do you manage to change all file owners to sys/sys on sources without
running fossil in 'allow' mode?
also, what is the difference between 755 and 644, as illustrated in this
replica/pull snippet (why does 644 work, while 755 doesn't):
a 386/bin/xmr 775 sys sys 1039758616
warning: cannot set uid on /n/boot/386/bin/xmr
a 386/bin/xms 775 sys sys 1039758617
warning: cannot set uid on /n/boot/386/bin/xms
a 386/bin/yacc 775 sys sys 1045538096
warning: cannot set uid on /n/boot/386/bin/yacc
a 386/bin/zip 775 sys sys 1045538096
warning: cannot set uid on /n/boot/386/bin/zip
a 386/include/ape/float.h 664 sys sys 969656988
a 386/include/ape/math.h 664 sys sys 1046282351
a 386/include/ape/stdarg.h 664 sys sys 944946040
a 386/include/ape/ureg.h 664 sys sys 944946041
a 386/include/u.h 664 sys sys 1042604326
a 386/include/ureg.h 664 sys sys 944946012
thanx, andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] how is it done on sources?
2003-07-03 14:56 [9fans] how is it done on sources? andrey mirtchovski
@ 2003-07-03 15:09 ` Fco.J.Ballesteros, nemo
2003-07-03 15:24 ` andrey mirtchovski
2003-07-04 2:07 ` boyd, rounin
2003-07-04 4:38 ` Russ Cox
1 sibling, 2 replies; 7+ messages in thread
From: Fco.J.Ballesteros, nemo @ 2003-07-03 15:09 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
755 is rwxr-xr-x
644 is rw-r--r--
regarding sys, I don't know how they do it. I use the command allow
to put fossil temporarily in allow mode for the user doing the update.
(has to be done in the console, though).
[-- Attachment #2: Type: message/rfc822, Size: 2948 bytes --]
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] how is it done on sources?
Date: Thu, 3 Jul 2003 08:56:29 -0600 (MDT)
Message-ID: <Pine.LNX.4.44.0307030853030.18814-100000@fbsd.cpsc.ucalgary.ca>
how do you manage to change all file owners to sys/sys on sources without
running fossil in 'allow' mode?
also, what is the difference between 755 and 644, as illustrated in this
replica/pull snippet (why does 644 work, while 755 doesn't):
a 386/bin/xmr 775 sys sys 1039758616
warning: cannot set uid on /n/boot/386/bin/xmr
a 386/bin/xms 775 sys sys 1039758617
warning: cannot set uid on /n/boot/386/bin/xms
a 386/bin/yacc 775 sys sys 1045538096
warning: cannot set uid on /n/boot/386/bin/yacc
a 386/bin/zip 775 sys sys 1045538096
warning: cannot set uid on /n/boot/386/bin/zip
a 386/include/ape/float.h 664 sys sys 969656988
a 386/include/ape/math.h 664 sys sys 1046282351
a 386/include/ape/stdarg.h 664 sys sys 944946040
a 386/include/ape/ureg.h 664 sys sys 944946041
a 386/include/u.h 664 sys sys 1042604326
a 386/include/ureg.h 664 sys sys 944946012
thanx, andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] how is it done on sources?
2003-07-03 15:09 ` Fco.J.Ballesteros, nemo
@ 2003-07-03 15:24 ` andrey mirtchovski
2003-07-04 2:07 ` boyd, rounin
1 sibling, 0 replies; 7+ messages in thread
From: andrey mirtchovski @ 2003-07-03 15:24 UTC (permalink / raw)
To: 9fans
On Thu, 3 Jul 2003, Fco.J.Ballesteros wrote:
> 755 is rwxr-xr-x
> 644 is rw-r--r--
>
the question is 'why does replica/pull behave differently when the only
difference between any two files in question is in their execution bits?'
i'm not explaining myself well, i know...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] how is it done on sources?
2003-07-03 15:09 ` Fco.J.Ballesteros, nemo
2003-07-03 15:24 ` andrey mirtchovski
@ 2003-07-04 2:07 ` boyd, rounin
2003-07-04 2:44 ` andrey mirtchovski
1 sibling, 1 reply; 7+ messages in thread
From: boyd, rounin @ 2003-07-04 2:07 UTC (permalink / raw)
To: 9fans
> 755 is rwxr-xr-x
> 644 is rw-r--r--
my random theory is that _all_ the changes are applied (in some
cases this works) rather than the minimal set. i'm assuming it builds
a wstat from the line and sends it off.
in 'allow' mode you shouldn't get any opposition.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] how is it done on sources?
2003-07-04 2:07 ` boyd, rounin
@ 2003-07-04 2:44 ` andrey mirtchovski
2003-07-04 3:01 ` Scott Schwartz
0 siblings, 1 reply; 7+ messages in thread
From: andrey mirtchovski @ 2003-07-04 2:44 UTC (permalink / raw)
To: 9fans
On Fri, 4 Jul 2003, boyd, rounin wrote:
> my random theory is that _all_ the changes are applied (in some
> cases this works) rather than the minimal set. i'm assuming it builds
> a wstat from the line and sends it off.
>
> in 'allow' mode you shouldn't get any opposition.
>
it's just weird and relatively inconsistent. the lowest common denominator
that i got was that all files from (/386/bin /rc/bin /acme/bin) are
complaining...
i managed to "fuxx0r" (pardon my language) my venti while investigating
where this'll take me. ended up learning more about venti/fossil than i
wanted to (see my previous message -- that's where i'm at right now)...
andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] how is it done on sources?
2003-07-04 2:44 ` andrey mirtchovski
@ 2003-07-04 3:01 ` Scott Schwartz
0 siblings, 0 replies; 7+ messages in thread
From: Scott Schwartz @ 2003-07-04 3:01 UTC (permalink / raw)
To: 9fans
| it's just weird and relatively inconsistent. the lowest common denominator
| that i got was that all files from (/386/bin /rc/bin /acme/bin) are
| complaining...
Those are all union mounts, right? Maybe that's part of the explanation.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] how is it done on sources?
2003-07-03 14:56 [9fans] how is it done on sources? andrey mirtchovski
2003-07-03 15:09 ` Fco.J.Ballesteros, nemo
@ 2003-07-04 4:38 ` Russ Cox
1 sibling, 0 replies; 7+ messages in thread
From: Russ Cox @ 2003-07-04 4:38 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
they're not all sys/sys on sources.
do an ls -l and you'll see. they're sys/sys
in the replica logs, which is what gets used
to update your own machines.
run replica/pull as a special user that is a
member of group sys and drop the -u flag.
that's the easiest way to update a fossil
system.
the second easiest is to allocate an allowed
console using srv -A.
[-- Attachment #2: Type: message/rfc822, Size: 3038 bytes --]
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] how is it done on sources?
Date: Thu, 3 Jul 2003 08:56:29 -0600 (MDT)
Message-ID: <Pine.LNX.4.44.0307030853030.18814-100000@fbsd.cpsc.ucalgary.ca>
how do you manage to change all file owners to sys/sys on sources without
running fossil in 'allow' mode?
also, what is the difference between 755 and 644, as illustrated in this
replica/pull snippet (why does 644 work, while 755 doesn't):
a 386/bin/xmr 775 sys sys 1039758616
warning: cannot set uid on /n/boot/386/bin/xmr
a 386/bin/xms 775 sys sys 1039758617
warning: cannot set uid on /n/boot/386/bin/xms
a 386/bin/yacc 775 sys sys 1045538096
warning: cannot set uid on /n/boot/386/bin/yacc
a 386/bin/zip 775 sys sys 1045538096
warning: cannot set uid on /n/boot/386/bin/zip
a 386/include/ape/float.h 664 sys sys 969656988
a 386/include/ape/math.h 664 sys sys 1046282351
a 386/include/ape/stdarg.h 664 sys sys 944946040
a 386/include/ape/ureg.h 664 sys sys 944946041
a 386/include/u.h 664 sys sys 1042604326
a 386/include/ureg.h 664 sys sys 944946012
thanx, andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-07-04 4:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 14:56 [9fans] how is it done on sources? andrey mirtchovski
2003-07-03 15:09 ` Fco.J.Ballesteros, nemo
2003-07-03 15:24 ` andrey mirtchovski
2003-07-04 2:07 ` boyd, rounin
2003-07-04 2:44 ` andrey mirtchovski
2003-07-04 3:01 ` Scott Schwartz
2003-07-04 4:38 ` Russ Cox
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).