push and pop warning can generate "Operation not permitted" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quilt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The push and pop quilt subcommands call touch for each patched file. The way it is called, touch can generate an error due to insufficient permissions, and that error is sent straight to the terminal.
The touch call intends to set file modification times. As explained in https:/
Either quilt should manage times in a way that does not depend on a single user managing the software, or the failure can be considered unimportant, and quilt should just report failures differently. The latter approach could involve replacing touch's output with a clear error/warning message, limiting the number of errors displayed to 1, or adding an option to quiet such issues.
cloph2@
Removing patch tracker_
Restoring lang/fr/
Restoring lang/fr/language.js
Restoring templates/
Restoring tiki-view_
Restoring lib/core/
touch: setting times of './lang/
cloph2@
touch: setting times of '.pc/tracker_
Applying patch tracker_
patching file lang/fr/language.js
patching file lang/fr/
patching file lib/core/
patching file templates/
patching file tiki-view_
Now at patch tracker_
cloph2@
Ubuntu 14.04.5, using quilt 0.61-1
I could not find any hint that this is fixed in quilt 0.65.
description: | updated |
I'm sorry to report that this is not merely "cosmetic". I just noticed there is also a behavioral impact; when such a warning is triggered while running - for example - quilt pop 5, if the first de-application causes the warning, only 1 patch will be popped.