"tahoe mkdir" doesn't accept $CAP/path arguments? #910

Open
opened 2010-01-16 22:00:04 +00:00 by zooko · 1 comment
zooko commented 2010-01-16 22:00:04 +00:00
Owner

I was trying to create a subdirectory of a directory using tahoe mkdir. I ran this command-line:

tahoe mkdir "URI:DIR2:nuiaen5vpvszo2n55ghewatdp4:cu5irq3movjgywuxw6ofviizu25qiz2srglg5voqymiryblkjhmq/Best of Bootie 2009 v.2"

It emitted this output:

URI:DIR2:zr6vjl4s7ltl23p4wojc4xiuoy:njhn5fkb4r5hjv7czuaqn5cbtyu4epnuibksxnwun2zp4y7pazpa

and exited with exit code 0.

But, it did not create a subdirectory:

$ tahoe ls --node-dir=~/.tahoe-testgrid/ URI:DIR2:nuiaen5vpvszo2n55ghewatdp4:cu5irq3movjgywuxw6ofviizu25qiz2srglg5voqymiryblkjhmq | grep Booty

So what did it do?

I was trying to create a subdirectory of a directory using `tahoe mkdir`. I ran this command-line: ``` tahoe mkdir "URI:DIR2:nuiaen5vpvszo2n55ghewatdp4:cu5irq3movjgywuxw6ofviizu25qiz2srglg5voqymiryblkjhmq/Best of Bootie 2009 v.2" ``` It emitted this output: ``` URI:DIR2:zr6vjl4s7ltl23p4wojc4xiuoy:njhn5fkb4r5hjv7czuaqn5cbtyu4epnuibksxnwun2zp4y7pazpa ``` and exited with exit code 0. But, it did not create a subdirectory: ``` $ tahoe ls --node-dir=~/.tahoe-testgrid/ URI:DIR2:nuiaen5vpvszo2n55ghewatdp4:cu5irq3movjgywuxw6ofviizu25qiz2srglg5voqymiryblkjhmq | grep Booty ``` So what did it do?
tahoe-lafs added the
code-frontend-cli
major
defect
1.5.0
labels 2010-01-16 22:00:04 +00:00
tahoe-lafs added this to the undecided milestone 2010-01-16 22:00:04 +00:00
zooko commented 2010-01-16 22:01:11 +00:00
Author
Owner

My guess is that it silently ignored the argument and created a new unlinked dir and returned the cap of it.

My guess is that it silently ignored the argument and created a new unlinked dir and returned the cap of it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#910
No description provided.