Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115398

Summary: after the fpc-bin 1.9.4 installation any user cannot execute and view the fpc folders...
Product: Gentoo Linux Reporter: TorbaX <torbax2000>
Component: New packagesAssignee: Maintainers for Miscelleneous Language Packages [OBSOLETE] <lang-misc+disabled>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.