Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17450 - bash-completion not executable

Attached to Project: Arch Linux
Opened by Damjan Dimitrioski (gnu_D) - Wednesday, 09 December 2009, 14:40 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 09 December 2009, 15:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The file /etc/bash_completion which belongs to the bash-completion package haven't got an executable flag, after each upgrade I need to manually add +x flag.

Additional info:
* bash-completion 1.1-2 and older releases.
* ls -l bash_completion
-rw-r--r-- 1 root root 51581 2009-12-03 13:15 bash_completion


Steps to reproduce:
open a new terminal emulator in X or with tty, login, you'll see>
-bash: ./bash_completion: Permission denied

Workaround:
chmod +x /etc/bash_completion
-rwxr-xr-x 1 root root 51581 2009-12-03 13:15 bash_completion
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 09 December 2009, 15:48 GMT
Reason for closing:  Not a bug
Additional comments about closing:  you don't need to run bash_completion to make it works
Comment by xduugu (xduugu) - Wednesday, 09 December 2009, 15:00 GMT
Why do you want it executable? This file does not contain a shebang line and is usually source'd so there is no need to make it executable.

$ grep bash_completion /etc/bash.bashrc
# - bash_completion if it exists
[ -r /etc/bash_completion ] && . /etc/bash_completion

Loading...