[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong permissions on {java,csharp}{comp,exec}.sh
From: |
Bruno Haible |
Subject: |
Re: wrong permissions on {java,csharp}{comp,exec}.sh |
Date: |
Wed, 17 Jan 2007 19:26:13 +0100 |
User-agent: |
KMail/1.9.1 |
Paolo Bonzini wrote:
> Is the attached patch okay? It is needed to make sure the files are
> created as executable.
You cannot assume that "chmod +x" works. There are situations where it
doesn't, such as:
- VFAT filesystems under MacOS X,
- some configurations of permissions on Windows XP disks (too complicated
to explain - but it happens even to normal users).
Therefore it's more reliable if you invoke the scripts always with /bin/sh
in your Makefiles:
/bin/sh javaexec.sh ...
And then there is no point in doing "chmod +x".
Bruno