Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517848 - dev-util/aap-1.091-r2 - /usr/share/aap/aap is not set executable
Summary: dev-util/aap-1.091-r2 - /usr/share/aap/aap is not set executable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-23 07:38 UTC by Jean-Claude Repetto
Modified: 2016-12-11 22:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2014-07-23 07:38:37 UTC
I have installed dev-util/aap-1.091-r2. When I launch it, I get an error :
# aap
-su: /usr/bin/aap: Permission non accordée

/usr/bin/aap is a symbolic link to /usr/share/aap/aap :
# ls -l /usr/bin/aap
lrwxrwxrwx 1 root root 16 23 juil. 09:33 /usr/bin/aap -> ../share/aap/aap

But /usr/share/aap/aap doesn't have execution permissions :
# ls -l /usr/share/aap/aap
-rw-r--r-- 1 root root 406 23 juil. 09:33 /usr/share/aap/aap



Reproducible: Always
Comment 1 zms 2015-05-12 00:46:22 UTC
Seeing this as well, /usr/bin/aap cannot be executed:

# sudo emerge dev-util/aap
>>> Completed installing aap-1.091-r2 into /var/tmp/portage/dev-util/aap-1.091-r2/image/

# sudo emerge app-text/asciidoc
...
/var/tmp/portage/app-text/asciidoc-9999/temp/environment: line 3619: /usr/bin/aap: Permission denied

# ls -al /usr/bin/aap 
lrwxrwxrwx 1 root root 16 May 11 16:37 /usr/bin/aap -> ../share/aap/aap

# ls -al /usr/share/aap/aap    
-rw-r--r-- 1 root root 406 May 11 16:37 /usr/share/aap/aap



After chmoding /usr/share/aap/aap the package installs successfully:

# sudo chmod +x /usr/share/aap/aap

# ls -al /usr/share/aap/aap
-rwxr-xr-x 1 root root 406 May 11 16:37 /usr/share/aap/aap

# sudo emerge app-text/asciidoc
...
>>> Completed installing asciidoc-9999 into /var/tmp/portage/app-text/asciidoc-9999/image/
Comment 3 Tim Harder gentoo-dev 2016-12-11 22:55:07 UTC
I just made revbumped it to install like a normal python module. Let me know if you have issues.