bzr should show better message if it fails to copy ownership to .bazaar

Bug #657553 reported by Parth Malwankar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Parth Malwankar

Bug Description

In my enterprise login chown can be done only by admins and not regular users. When bzr tries to chown .bazaar it errors out. I am assuming this may be the case in some other organizations also where they have a central login.
It would be good if this is a warning instead.

parth@system0:/user/parth>bzr whoami "Parth Malwankar <email address hidden>"
Unable to copy ownership from '/user/parth' to '/user/parth/.bazaar': IOError: [Errno 1] Operation not permitted: '/user/parth/.bazaar'.
parth@system0:/user/parth>

Tags: easy

Related branches

Parth Malwankar (parthm)
Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Parth Malwankar (parthm)
tags: added: easy
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 657553] [NEW] bzr should show warning instead of error if it fails to copy ownership to .bazaar

I think on most unix systems chown can only be done by root. So we
should certainly handle this gracefully.

--
Martin

Parth Malwankar (parthm)
Changed in bzr:
status: Confirmed → In Progress
summary: - bzr should show warning instead of error if it fails to copy ownership
- to .bazaar
+ bzr should show better message if it fails to copy ownership to .bazaar
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.3b4
status: In Progress → 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.