Public bug reported:

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

** Affects: gitolite (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

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

-- 
confusing error when .ssh already for gl-setup command
https://bugs.launchpad.net/bugs/634718
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to