Description of problem: chown allows changing of ownership to a user and its related group by something like chown root: filename This changes the owner and the group to root. In fact the following patterns are all allowable: chown user: filename chown :group filename chown user:group filename Bash-completion seems to have rules for the second and third, but not for the first. I find the first to be the most useful: usually I want the owner and group to correspond. Version-Release number of selected component (if applicable): bash-completion-1.3-4.fc15.noarch Steps to Reproduce: 1. chown root: filena[tab] Actual results: No completions Expected results: Completion of paths/filenames
It already works in upstream git - I didn't find an obvious commit that fixed it so it's likely that the fix will trickle to Fedora with the next upstream release. Anyway I added a couple of test cases upstream to make the issue less likely to reappear in the future.
Thanks! Much obliged. James
The upstream commit that seems to fix this is: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=8227e76 However, that commit touches a central part of bash-completion and I have a hunch that there may have been predecessor and successor changes that are needed too, so I'm going to defer getting this into Fedora until the next upstream version that contains the fix.