Strange permissions when installing HEAD
Tim Chevalier
catamorphism at gmail.com
Sat Sep 13 02:07:18 EDT 2008
Today, I made the possibly rash decision to pull a new copy of the
HEAD and install it. After building and running "sudo make install", I
found that the installed ghc binary wasn't executable:
$ ls /usr/local/ghc-6.9.20080912
lrwxrwxrwx 1 root root 16 2008-09-12 22:28 ghc -> ghc-6.9.20080912
-rwx------ 1 root root 134 2008-09-12 22:28 ghc-6.9.20080912
lrwxrwxrwx 1 root root 17 2008-09-12 22:28 ghci -> ghci-6.9.20080912
-rwxr-xr-x 1 root root 75 2008-09-12 22:28 ghci-6.9.20080912
-rwx------ 1 root root 179 2008-09-12 22:27 ghc-pkg
-rwx------ 1 root root 174 2008-09-12 22:27 haddock
-rwxr-xr-x 1 root root 1957464 2008-09-12 22:27 hasktags
-rwxr-xr-x 1 root root 45180 2008-09-12 22:27 hp2ps
-rwxr-xr-x 1 root root 3482568 2008-09-12 22:27 hpc
-rwx------ 1 root root 401 2008-09-12 22:28 hsc2hs
-rwxr-xr-x 1 root root 5467124 2008-09-12 22:27 installPackage
-rwx------ 1 root root 111 2008-09-12 22:27 runghc
Since you usually have to be root to install something under
/usr/local/, it seems strange that the installer wouldn't set
permissions to -rwxr-xr-x for ghc (notice the permissions are right
for ghci, hasktags, hp2ps, hpc, and installPackage!) It also seems
like it didn't work this way in the past. Was this a deliberate
change? (I fixed the permissions in my directory, of course, but it
was confusing at first.)
Cheers,
Tim
--
Tim Chevalier * http://cs.pdx.edu/~tjc * Often in error, never in doubt
Just enough: Obama/Biden '08.
More information about the Cvs-ghc
mailing list