[Hackage] #454: file permissions of installed files on windows

Hackage trac at galois.com
Tue Jan 27 14:41:25 EST 2009


#454: file permissions of installed files on windows
----------------------------+-----------------------------------------------
  Reporter:  Toxaris        |        Owner:           
      Type:  defect         |       Status:  new      
  Priority:  normal         |    Milestone:  Cabal-1.6
 Component:  Cabal library  |      Version:  1.6.0.1  
  Severity:  normal         |   Resolution:           
  Keywords:                 |   Difficulty:  normal   
Ghcversion:  6.10.1         |     Platform:  Windows  
----------------------------+-----------------------------------------------
Comment (by Toxaris):

 Replying to [comment:7 duncan]:
 > Could you give us more details on how you performed the test and how we
 can reproduce it. Were you doing global or user installs? Were you running
 the build and install as administrator? Where were you installing the
 files?

 I'm running a preinstalled Vista. I use a user account in the local
 administrator group. I have used a administrator console to run the
 following tests (see #320).

 I performed a first test by running "cabal install hoogle".

 Later, I performed a second test by downloading, unpacking, configuring,
 building and installing the hoogle package manually, without cabal-install
 involvement. I used the following commands: "runhaskell Setup configure",
 "runhaskell Setup build", "runhaskell Setup install".

 I repeated both tests with some other package which contains a binary, but
 I'm not sure which one.

 All tests yielded identical results, namely:

 "c:\program files\Haskell\bin\hoogle.exe" was replaced by a file with no
 permissions set for "all users", but permissions set for "administrators".
 The file does not inherit the permissions set for "c:\program
 files\Haskell\bin" (read and execute allowed for "all users").

 While the only user account I use is part of the "administrators" group,
 it cannot use the rights associated with this group in normal use.
 Therefore, I can execute the new hoogle.exe from a administrator console,
 but not from a normal console.

 Does that help? I would be happy to look for more information or run tests
 if that helps. I can be contacted in #haskell (or here).

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/454#comment:8>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list