Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115398 - after the fpc-bin 1.9.4 installation any user cannot execute and view the fpc folders...
Summary: after the fpc-bin 1.9.4 installation any user cannot execute and view the fpc...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
: 115397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-13 03:07 UTC by TorbaX
Modified: 2005-12-17 08:05 UTC (History)
0 users

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 TorbaX 2005-12-13 03:07:45 UTC
The permission of fpc folders are wrong...

If you check the /opt folder, look at the "fpc" permissions
they are marked to "700" instead of "755".

In other word only the "root" user is the only one owner to execute the fpc
compiler and list files into fpc folders.



Reproducible: Always
Steps to Reproduce:
1.emerge dev-lang/fpc-bin
2.ls /opt -l
3.ls /opt/fpc -l

Actual Results:  
with:
# ls -l /opt

...
drwx------   5 root root  4096 13 dic 11:51 fpc
...

# ls -l /opt/fpc
drwx------  2 root root 4096 13 dic 11:51 bin
drwx------  3 root root 4096 13 dic 11:51 lib
drwx------  4 root root 4096 13 dic 11:51 share
#


Expected Results:  
after the chmod 755 correction I see this list:


# ls -l /opt

...
drwxr-xr-x   5 root root  4096 13 dic 11:51 fpc
...

# ls -l /opt/fpc

drwxr-xr-x  2 root root 4096 13 dic 11:51 bin
drwxr-xr-x  3 root root 4096 13 dic 11:51 lib
drwxr-xr-x  4 root root 4096 13 dic 11:51 share
#

now it's ok.
:-)


to resolve the bug, simply You execute the chmod command to set the correct
permissions.

# chmod 755 /opt/fpc /opt/fpc/lib /opt/fpc/bin /opt/fpc/share

Is It possible to modify the installation script of fpc-bin's ebuild ?
I think that it's the fast way to solve the problem...
Comment 1 TorbaX 2005-12-13 03:10:09 UTC
*** Bug 115397 has been marked as a duplicate of this bug. ***
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-17 08:05:48 UTC
Use dev-lang/fpc, fpc-bin will be removed.