9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] temporary bit prevents scp from file creation
@ 2004-09-02 13:20 Heiko Dudzus
  2004-09-02 20:27 ` jmk
  2004-09-02 20:28 ` jmk
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Dudzus @ 2004-09-02 13:20 UTC (permalink / raw)
  To: 9fans

I am astonished how one affects the other. But scp can't place a file
into a local directory (with temporary bit).

term% chmod +t /usr/heiko/stuff
term% scp dudzus@tty.freeshell.org:~/Einladung-ET.ps stuff/
scp: can't create stuff/: 'stuff/' create without DMDIR
term%

But:
term% chmod -t /usr/heiko/stuff
term% scp dudzus@tty.freeshell.org:~/Einladung-ET.ps stuff/
term%

Not really a hard problem, but perhaps worth a note.


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

* Re: [9fans] temporary bit prevents scp from file creation
  2004-09-02 13:20 [9fans] temporary bit prevents scp from file creation Heiko Dudzus
@ 2004-09-02 20:27 ` jmk
  2004-09-02 20:28 ` jmk
  1 sibling, 0 replies; 3+ messages in thread
From: jmk @ 2004-09-02 20:27 UTC (permalink / raw)
  To: 9fans

On Thu Sep  2 09:29:31 EDT 2004, heiko.dudzus@gmx.de wrote:
> I am astonished how one affects the other. But scp can't place a file
> into a local directory (with temporary bit).
> 
> term% chmod +t /usr/heiko/stuff
> term% scp dudzus@tty.freeshell.org:~/Einladung-ET.ps stuff/
> scp: can't create stuff/: 'stuff/' create without DMDIR
> term%
> 
> But:
> term% chmod -t /usr/heiko/stuff
> term% scp dudzus@tty.freeshell.org:~/Einladung-ET.ps stuff/
> term%
> 
> Not really a hard problem, but perhaps worth a note.

I've fixed it, as well as lnfs and nntpfs.
They all forgot that Qid.type is a bimask and not a value.

--jim


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

* Re: [9fans] temporary bit prevents scp from file creation
  2004-09-02 13:20 [9fans] temporary bit prevents scp from file creation Heiko Dudzus
  2004-09-02 20:27 ` jmk
@ 2004-09-02 20:28 ` jmk
  1 sibling, 0 replies; 3+ messages in thread
From: jmk @ 2004-09-02 20:28 UTC (permalink / raw)
  To: 9fans

	>They all forgot that Qid.type is a bimask and not a value.

That should be "bitmask".


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

end of thread, other threads:[~2004-09-02 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-02 13:20 [9fans] temporary bit prevents scp from file creation Heiko Dudzus
2004-09-02 20:27 ` jmk
2004-09-02 20:28 ` jmk

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).