starter-sh executable bit

71 views
Skip to first unread message

David Benoit

unread,
Aug 2, 2018, 5:34:15 PM8/2/18
to Racket Developers
Hi all,

lib/starter-sh is an empty file with its executable bit set.  This is flagged by the Fedora Project build system as an error, and I am looking for a workaround to help get Racket through the package review process. 

It is my understanding that the file is used as a template to create other files based on its permissions.  I've come across this github issue which discusses unsetting the executable bit.  I'm wondering whether this has any further reaching consequences than are discussed in the github issue, and if not, whether it is suitable to package the two files with the executable bits off.

Thanks!
David

David Benoit

unread,
Aug 2, 2018, 5:37:02 PM8/2/18
to Racket Developers
Ammendment:

I'm wondering whether it is suitable to package the file with the executable bits off.


Matthew Flatt

unread,
Aug 8, 2018, 2:40:58 PM8/8/18
to David Benoit, Racket Developers
At Thu, 2 Aug 2018 14:34:15 -0700 (PDT), David Benoit wrote:
> Hi all,
>
> lib/starter-sh is an empty file with its executable bit set. This is
> flagged by the Fedora Project build system as an error, and I am looking
> for a workaround to help get Racket through the package review process.
> [...]
>
> I'm wondering whether it is suitable to package the file with the
> executable bits off.

Yes, I think so.

Originally, Racket relied on a file with the executable bit set to
clone for executables, because there wasn't a way to set the executable
bit within Racket. Racket has long since acquired the ability to set
the executable bit, and `raco exe` and related tools do that, so remove
the executable bit from "starter-sh" should be fine.

Reply all
Reply to author
Forward
0 new messages