9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] u9fs -u <user>
@ 2004-09-10 21:47 Enache Adrian
  2004-09-14  4:27 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Enache Adrian @ 2004-09-10 21:47 UTC (permalink / raw)
  To: 9fans

how is the -u switch supposed to work when u9fs is run as root ?

term% 9fs 172.16.13.1 unix
post...
term% touch unix/heyya
term% ls -l unix/heyya
--rw-r--r-- M 71 root adi 0 Sep 10 00:24 unix/heyya
                 ^^^^

the userchange() function has been changed to always succeed without
doing anything at all when 'defaultuser' is set - is that right ?

thanks,
Adi


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] u9fs -u <user>
  2004-09-10 21:47 [9fans] u9fs -u <user> Enache Adrian
@ 2004-09-14  4:27 ` Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2004-09-14  4:27 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> how is the -u switch supposed to work when u9fs is run as root ?

it's supposed to work when u9fs is *not* run as root.
it's meant for personal use on machines where you 
can't run as root.

> term% 9fs 172.16.13.1 unix
> post...
> term% touch unix/heyya
> term% ls -l unix/heyya
> --rw-r--r-- M 71 root adi 0 Sep 10 00:24 unix/heyya
>                  ^^^^
> 
> the userchange() function has been changed to always succeed without
> doing anything at all when 'defaultuser' is set - is that right ?

yes, but only because it means something other than
what you expect it to mean.

russ


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-14  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-10 21:47 [9fans] u9fs -u <user> Enache Adrian
2004-09-14  4:27 ` 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).