confusing error when .ssh already for gl-setup command
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:/
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
description: | updated |
Changed in gitolite (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
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