[tahoe-lafs-trac-stream] [tahoe-lafs] #1333: 'private/' subdir of BASEDIR should be created during 'tahoe create-alias' and friends

tahoe-lafs trac at tahoe-lafs.org
Thu Jan 20 03:42:58 UTC 2011


#1333: 'private/' subdir of BASEDIR should be created during 'tahoe create-alias'
and friends
--------------------------------+-------------------------------------------
     Reporter:  warner          |       Owner:           
         Type:  defect          |      Status:  new      
     Priority:  minor           |   Milestone:  undecided
    Component:  code-nodeadmin  |     Version:  1.8.1    
   Resolution:                  |    Keywords:  easy     
Launchpad Bug:                  |  
--------------------------------+-------------------------------------------
Description changed by warner:

Old description:

> user 'munderwo' on the IRC channel noticed an exception when they
> manually deleted their {{{~/.tahoe}}} directory, then re-created it, then
> ran {{{tahoe create-alias}}}. It complained that the
> {{{~/.tahoe/private}}} directory did not exist, which trying to write
> {{{aliases.tmp}}}.
>
> I suspcet that we create this directory during {{{tahoe create-client}}},
> but then assume that it exists later. Instead, if {{{tahoe create-
> alias}}} notices that it is missing, it should just re-mkdir it.

New description:

 user 'munderwo' on the IRC channel noticed an exception when they manually
 deleted their {{{~/.tahoe}}} directory, then re-created it, then ran
 {{{tahoe create-alias}}}. It complained that the {{{~/.tahoe/private}}}
 directory did not exist, which trying to write {{{aliases.tmp}}}.

 I suspect that we create this directory during {{{tahoe create-client}}},
 but then assume that it exists later. Instead, if {{{tahoe create-alias}}}
 notices that it is missing, it should just re-mkdir it.

--

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1333#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list