Dear developers,

I am addressing this problem, specific to Apple. I can change the permissions 
in a post-build step but I think the right place to do this is in 
CMakeLists.txt. In 

# Build the rexx.img file
add_custom_command(OUTPUT ${ORX_IMAGE_OUTPUT_LOCATION}/rexx.img
           COMMAND $<TARGET_FILE:rexximage> 
${ORX_IMAGE_OUTPUT_LOCATION}/rexx.img
           DEPENDS rexximage rxapi ${image_class_files} 
${platform_rexx_img_depends}
           WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})

add_custom_target(rexx_img ALL DEPENDS ${ORX_IMAGE_OUTPUT_LOCATION}/rexx.img)
install(PROGRAMS ${ORX_IMAGE_OUTPUT_LOCATION}/rexx.img COMPONENT Core 
DESTINATION ${INSTALL_LIB_DIR} PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE 
WORLD_EXECUTE OWNER_READ GROUP_READ WORLD_READ)

Is there a disadvantage to add (OWNER_WRITE) for all platforms? If so I will 
branch the 2nd part of this build step, but I would prefer to KIS. Same for the 
man page entries.

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se



> Anfang der weitergeleiteten Nachricht:
> 
> Von: "Iggy Drougge" <idrou...@users.sourceforge.net>
> Betreff: [oorexx:bugs] #1785 ooRexx-5.0.0-12302.macOS.arm64.x86_64.dmg 
> misbehaviour
> Datum: 22. November 2021 um 15:24:25 MEZ
> An: "[oorexx:bugs] " <1...@bugs.oorexx.p.re.sourceforge.net>
> Antwort an: "[oorexx:bugs] " <1...@bugs.oorexx.p.re.sourceforge.net>
> 
> Can confirm that this issue persists in 
> `ooRexx-5.0.0-12313.macOS.arm64.x86_64` on MacOS Mojave.
> 
> 
> ---
> 
> ** [bugs:#1785] ooRexx-5.0.0-12302.macOS.arm64.x86_64.dmg misbehaviour**
> 
> **Status:** open
> **Group:** None
> **Created:** Sun Oct 31, 2021 08:24 PM UTC by Enrico  
> **Last Updated:** Tue Nov 02, 2021 03:17 PM UTC
> **Owner:** nobody
> 
> 
> after the drag and drop issuing the command 
> `/Applications/ooRexx5/rexx -v`
> 
> gets a flower box with 
> `“rexx” cannot be opened because the developer cannot be verified.`
> 
> it should be documented  that after the drag and drop  
> the `com.apple.quarantine` extended attribute should be removed with the 
> sequence 
> `cd /Applications/ooRexx5`
> `xattr -d -r com.apple.quarantine * `
> 
> unfortunatly the  command  fails because a few files were installed  without 
> the `write` permission bit
> `lib/rexx.img`
> `share/man/man1/rexx.1.gz`
> `share/man/man1/rexxc.1.gz`
> `share/man/man1/rxqueue.1.gz`
> `share/man/man1/rxsubcom.1.gz`
> 
> 
> e
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---
> 
> Sent from sourceforge.net because you indicated interest in 
> <https://sourceforge.net/p/oorexx/bugs/1785/>
> 
> 
> 
> To unsubscribe from further messages, please visit 
> <https://sourceforge.net/auth/subscriptions/>

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to