[Hackage] #454: file permissions of installed files on windows
Hackage
trac at galois.com
Tue Jan 27 14:12:46 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 duncan):
Replying to [ticket:454 Toxaris]:
> When installing a binary on Windows Vista using ghc 6.10.1 and Cabal
1.6.0.1, it is not accessible for ordinary users. Old binaries installed
with ghc 6.8.2 and Cabal 1.4 had "read" and "execute" permissions set for
"all users", while new binaries have only permissions set for
"administrators".
Having looked into how permissions are copied I cannot explain this
behavior. The way `System.Directory.copyFile` copies permissions is in
fact not to copy any permissions at all (it only copies the read-only
attribute). I've tested this on Win2k3. Perhaps the behavior of msvcrt has
changed in Windows Vista.
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?
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/454#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list