confusing error when .ssh already for gl-setup command

Bug #634718 reported by Larry Cai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitolite (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gitolite

I use the gl-setup 1.5.3-1 https://launchpad.net/ubuntu/+source/gitolite/1.5.3-1/+build/1846735 on Ubuntu 10.04 LTS

The issue is changing original "mkdir -p .ssh" in gl-setup to "mkdir -m700 .ssh" which causes a confusing error when .ssh already exists.

It happens when `gl-setup` is run after initial setup, it is a rare case for regular case

here is the answer from rhonda (at) debian.at to gitolite author (sitaram)

>>
Right. We discussed that shortly a while ago, hope you remember. It was
about that I wanted to have it mode 700 like .ssh is expected to be, and
you wanted to silent the message in case the directory is already there,
which is a side-effect of -p that I wasn't aware off.

 Seeing now that mkdir also has a -m switch I rather should have gone
that path of having both in there, I just didn't see the intention or
need of -p in the first place ...
>>

Related branches

Larry Cai (larry-caiyu)
description: updated
Rhonda D'Vine (rhonda)
Changed in gitolite (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gitolite - 1.5.4-2

---------------
gitolite (1.5.4-2) unstable; urgency=low

  * Re-add -p to mkdir for .ssh dir (LP: #634718)
  * New/updated debconf translations:
    - Portuguese by Américo Monteiro, sorry for taking the wrong file in the
      former upload (closes: #595312)
    - Japanese by Hideki Yamane (closes: #595457)
    - Vietnamese by Clytie Siddall (closes: #598592)
 -- Ubuntu Archive Auto-Sync <email address hidden> Fri, 15 Oct 2010 09:31:09 +0000

Changed in gitolite (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.