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

Bug 115397

Summary: after the installation any user cannot execute and view the fpc folders...
Product: Gentoo Linux Reporter: TorbaX <torbax2000>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description TorbaX 2005-12-13 03:04:57 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:



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...

# 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.
:-)
Comment 1 TorbaX 2005-12-13 03:10:09 UTC

*** This bug has been marked as a duplicate of 115398 ***