Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8757383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:17:19+00:00 2026-06-13T14:17:19+00:00

I am writing my first Haskell program, a web application based on the Yesod

  • 0

I am writing my first Haskell program, a web application based on the Yesod framework.

I compiled the code using cabal configure && cabal build. When I try to run the executable, I get the following error:

-bash: dist/build/MyApp/MyApp: Operation not permitted

I installed the 64-bit Haskell platform (2012.2.0.0) on OS X Mountain Lion. I had originally installed the 32-bit version, but got the same error, so I uninstalled it and tried the 64-bit version.

The application compiles and links with no errors or warnings.

I even tried the fix described in http://reviews.cnet.com/8301-13727_7-57374676-263/workarounds-for-quarantine-bug-in-os-x-lion/, but it made no difference.

UPDATE: The plot thickens. The source tree is actually on an encrypted sparse bundle (all of my source code is). When I copy the tree to my home directory, it compiles and runs.

The mount command does not show the noexec option:

/dev/disk2s9 on /Volumes/Personal (hfs, local, nodev, nosuid, journaled, noowners, quarantine, mounted by grk)

I’m not sure about the quarantine option, but I suspect it comes from Symantec Endpoint Protection (required by my employer). I’ll try disabling it for the sparse bundle.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:17:20+00:00Added an answer on June 13, 2026 at 2:17 pm

    I found the answer at the sister site apple.stackexchange.com: https://apple.stackexchange.com/questions/64456/mount-is-adding-a-quarantine-flag-causing-bin-bash-bad-interpreter-operatio

    The sparse bundle is actually marked with the quarantine flag. I unmounted the volume and removed the quarantine with the following command:

    xattr -d com.apple.quarantine Personal.sparsebundle
    

    then remounted. Problem solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first program using Haskell. I'm writing it to put into practice
So i am writing my first Java application using MVP pattern. One of MVPs
Our team is writing its first JSF 2.0 application since using Stripes for many
I am writing my first ffmpeg application using the tutorial linked to from the
I'm writing an audio program in Haskell using Portaudio. I have a function that
When writing my first asp.net MVC application using C#, I see that there are
First program i'm writing while reading various Haskell tutorials gives me a Kind mis-match
Writing my first C# application...never touched the language before and not much of a
i'm writing my first MATLAB O-O application and i'm confused about the implementation of
I'm writing my first WPF application and I'm trying to implement a fade animation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.