]> source.dussan.org Git - jgit.git/commit
Check an execution bit by reading it from the file system 28/1193828/4
authorYury Molchan <yury.molchan@gmail.com>
Wed, 6 Dec 2023 02:29:39 +0000 (04:29 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 13 May 2024 14:14:47 +0000 (16:14 +0200)
commitc1f95130c554580afc1d6090d30b3946b578714e
treed2a4db51b5b97e0f69996231c35ae0661d20170f
parent5c0c18f5665fe8d3c3fae0176e231deb6c2480a7
Check an execution bit by reading it from the file system

Files.isExecutable() checks possibility to execute a file from the JVM,
not POSIX attributes. So it fails when Java Security Manager does not
allow to execute a file, but file has X-bit.

Change-Id: I85b96fb6cedbaff1b3c063728c25b6ce4d04e9b9
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java