Recent

Author Topic: Big Sur: file doesn't have execute permission  (Read 2808 times)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 364
Big Sur: file doesn't have execute permission
« on: August 18, 2021, 10:42:43 am »
Hi all.

I am facing the following problem. If I build a file and now run it for execution, then I have no problems with it. (see 1st attachment)

However, if I publish an archive with files in the repository (github) and then I get it on my computer, then after unpacking I cannot start the * .app application due to an access error (see 3rd attachment).

How can i solve this problem?
Win10 LTSC x64/Deb 11 amd64/Darwin Cocoa (Big Sur):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1684
  • Former Delphi 1-7, 10.2 user
Re: Big Sur: file doesn't have execute permission
« Reply #1 on: August 18, 2021, 12:24:30 pm »
The situation you are experiencing has been the case since Mac OS X 10.7 Lion. Please see Code Signing for macOS and Notarization for macOS 10.14.5+ for the full details and how to bypass the requirement.
Lazarus 2.3, FPC 3.3.1 macOS 12.0.1 x86_64 Xcode 13.1
Lazarus 2.3, FPC 3.3.1 macOS 12.0.1 aarch64 Xcode 13.1
Lazarus 2.3, FPC 3.2.2 FreeBSD 13.0 amd64 VM
Lazarus 2.3, FPC 3.2.2 FreeBSD 12.2 amd64 VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 VM
Lazarus 2.0.10 FPC 3.2.0 Win10 VM

zoltanleo

  • Sr. Member
  • ****
  • Posts: 364
Re: Big Sur: file doesn't have execute permission
« Reply #2 on: August 18, 2021, 08:05:56 pm »
Hi trev.

Thank U for the answer. This is absolutely new information for me. And this requires careful study.
Win10 LTSC x64/Deb 11 amd64/Darwin Cocoa (Big Sur):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

ChrisR

  • Full Member
  • ***
  • Posts: 229
Re: Big Sur: file doesn't have execute permission
« Reply #3 on: August 19, 2021, 12:24:00 am »
You may want to look at this repository that provides a script for notarizing an application.
  https://github.com/neurolabusc/NotarizeFPC

zoltanleo

  • Sr. Member
  • ****
  • Posts: 364
Re: Big Sur: file doesn't have execute permission
« Reply #4 on: August 19, 2021, 04:40:29 am »
You may want to look at this repository that provides a script for notarizing an application.
  https://github.com/neurolabusc/NotarizeFPC
Hi ChrisR.

Thank a lot!
Win10 LTSC x64/Deb 11 amd64/Darwin Cocoa (Big Sur):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.7

Sorry for my bad English, I'm using translator ;)

 

TinyPortal © 2005-2018