I have a bare minimum script with the following line (also had the line echo Hello World, but removed for simplicity).

I have a bare minimum script with the following line (also had the line echo Hello World, but removed for simplicity).
#!/bin/sh  <-- only line of code currently in the file
when I try to run, I get the following error.  Likewise if the line is #!/bin/bash, but /bin/bash is then the bad interpreter.
-bash: ./test.sh /bin/sh: bad interpreter: Operation not permitted
I'm running from a terminal window.
Any helpful hints for resolution?  Thank you in advance.

I did some more searching and found the answer here: https://discussions.apple.com/thread/3733470?start=30&tstart=0
I obtained TextWrangler and recreated the file.
Thank you for your input.

Similar Messages

  • Sharepoint 2010 permission The following factors also affect the level of access for

    hello,
    In my development server ,suddently from no where all users ,even full control group users
    cannot able to add or edit any list or any content.
    The following factors also affect the level of access for user1(domain\user1)
    Deny
    Manage Permissions
    Create and change permission levels on the Web site and assign permissions to users and groups.
    Deny
    Create Subsites
    Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites.
    Deny
    Manage Web Site
    Grants the ability to perform all administration tasks for the Web site as well as manage content.
    Deny
    Add and Customize Pages
    Add, change, or delete HTML pages or Web Part Pages, and edit the Web site using a Microsoft SharePoint Foundation-compatible editor.
    Deny
    Manage Lists
    Create and delete lists, add or remove columns in a list, and add or remove public views of a list.
    Deny
    Apply Themes and Borders
    Apply a theme or borders to the entire Web site.
    Deny
    Apply Style Sheets
    Apply a style sheet (.CSS file) to the Web site.
    Deny
    Override Check Out
    Discard or check in a document which is checked out to another user.
    Deny
    Manage Personal Views
    Create, change, and delete personal views of lists.
    Deny
    Add/Remove Personal Web Parts
    Add or remove personal Web Parts on a Web Part Page.
    Deny
    Update Personal Web Parts
    Update Web Parts to display personalized information.
    Deny
    Add Items
    Add items to lists and add documents to document libraries.
    Deny
    Edit Items
    Edit items in lists, edit documents in document libraries, and customize Web Part Pages in document libraries.
    Deny
    Delete Items
    Delete items from a list and documents from a document library.
    Deny
    Create Groups
    Create a group of users that can be used anywhere within the site collection.
    Deny
    Use Self-Service Site Creation
    Create a Web site using Self-Service Site Creation.
    Deny
    Approve Items
    Approve a minor version of a list item or document.
    Deny
    Delete Versions
    Delete past versions of a list item or document.
    Deny
    Create Alerts
    Create alerts.
    Deny
    Manage Alerts
    Manage alerts for all users of the Web site.
    Deny
    Edit Personal User Information
    Allows a user to change his or her own user information, such as adding a picture.
    For all the users this happened ,How i need to fix this issue
    please help.
    thanks

    Take a look at the user policy settings for the web application.  I suspect someone has added a User Policy that covers the user which denies all these permissions.  The User Policy at the web app level is the only place where you can deny permissions.
     But that setting applies to every site collection in the web application and takes precedence over every other setting.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Did reset, but now I have no bar on top with File, bookmarks etc. no printer icon. How do I fix this?

    Did a reset to fix my problem with Firefox but now I have no bar on top with file, bookmarks, tools etc. Firefox created an old Firefox data folder on my desktop. Not computer savvy...how can I fix this problem?

    hello Elainef, if you are missing toolbar buttons you can go into firefox customization mode and place them where you'd like to have them. in there it's also possible to enable/disable toolbars like the menu bar:
    [[Customize Firefox controls, buttons and toolbars]]

  • How do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?

    how do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?
    so the thing is a few days ago i made an app store purchase and i didn't know i was running out of money on my credit card. i realized that only when i tried to purchase another item and it didn't work. nothing special til here. the problem is that meanwhile my credit card was replaced by a new one by the bank because the old one was soon expiring. So the data associated with the old credit card no longer exist.
    i tried to edit my billing info associated with my apple id in order to enter the new credit card data, but the system doesn't allow me to do that.
    so i can neither pay my purchase, nor edit my info, nor access app store anymore.
    what's next? any ideas? thanks

    Servers down wait till status is fixed to change or add your data http://www.apple.com/support/systemstatus/

  • I have Itunes on my PC with close to 1000 songs. The songs were also on my Ipod. I tried to sync with my Ipad 2 and blew the music away on my Itunes. Can it be retrieved?

    I have Itunes on my PC with close to 1000 songs. The songs were also on my Ipod. I connected my Ipad2 and blew away all of my music. Can the music be retrieved and if so how can i do it? tks

    Sure it can, transfer the songs from your backup that you maintained on an external drive,DVDs,cloud storage solution.
    You didn't have a backup?
    If you purchased them from iTunes, plug in your iPod-once it mounts in iTunes right click on the iPod icon and select transfer purchases.
    If they were not purchased from iTunes-google is your friend.
    PS.
    If files are important to you-always have multiple copies on separate media.

  • I wiped my ipod classic and then my computer crashed, so i no longer have the songs i purchsed from itunes on my ipod or computer! I have a new computer now with itunes installed, can I get the songs purchased previously from itunes somehow?

    I wiped my ipod classic and then my computer crashed, so i no longer have the songs i purchsed from itunes on my ipod or computer! I have a new computer now with itunes installed, can I get the songs purchased previously from itunes somehow?

    Yes, you can!(:
    STEP 1: Open iTunes
    STEP 2: Navigate to the "iTunes Store". It can be found under the "STORE" tab.
    STEP 3: On the right side of the store there should be a "Quick Links" Section. Click on the "Purchased" link.
    STEP 4: Navigate to the "Music" tab and click on "All Songs". Then at the bottom of the screen there will be a button that says "Download All". Click the button and your songs will be begin downloading!
    NOTE: This will only work with songs that you bought from the iTunes store, if you imported them from a CD, you will have to do it again.
    NOTE: You can also do this with Apps, Movies, TV Shows, and Books.
    NOTE: You may have to sign in with your Apple ID to verify the download.
    Hope this helped! Enjoy your music!(:

  • I have a mac book pro with Boot Camp that also runs windows.  I upgraded to Lion and somehow it crashes the mac side peridoically.  I am told I need to "clean" it and reinstall lion using the recovery drive.  will that delete the windows partition too??

    I have a mac book pro with Boot Camp that also runs windows.  I upgraded to Lion and now the mac side crashes/freezes periodically, especially iphoto.  I am told by the genius' that I probably need to "clean" it and reinstall lion using the "recovery drive" which resets everything back to default and reinstalls the lion operating system.  My question is will this also delete the "windows" partition drive and all that data too.  If so that will be a huge pain in the ___ to back up and reinstall boot camp and windows. I want to shoot the lion.

    There is no system like Acronis for the Mac platform. You can try using the buiilt in Disk Utility to create an Image of the complete Mac drive but I have found that this does not work very well as on tryiing to restore it gives errors sometimes.
    You can use SuperDuper or Carbon Copy Cloner to create a bootable Clone of your system partition. But that is only for the System partition and not the complete drive.
    If you use Boot Camp to install Windows on your Mac neither of those two programs will clone the Windows side.
    Neither will Disk utility as Mac's can not create or write to a NTFS partition. So some other program is need for that.

  • I am considering buying an iPad 3. I have an iMac with OSX 10.6.8. On the iMac I have many photos and work with iPhoto and Photoshop Elements on the computer. Can I interchange or transfer photos and other work from the iMac to the iPad? How?

    I am considering buying an iPad 3. I have an iMac with OSX 10.6.8. On the iMac I have many photos and work with iPhoto and Photoshop Elements on the computer. Can I interchange or transfer photos and other work from the iMac to the iPad? How?

    velma Monreal wrote:
    I am considering buying an iPad 3. I have an iMac with OSX 10.6.8. On the iMac I have many photos and work with iPhoto and Photoshop Elements on the computer. Can I interchange or transfer photos and other work from the iMac to the iPad? How?
    Yes you can. In iPhoto create a Album with the photos you want in it. You can drag them from your Events folder. In iTunes with your iPad connected go to Photos by cliking on your iPad. You can then select the album or events you want.

  • The new ipod touch will have Siri with the A5 chip. Since the ipad 2 also has the A5, will the ipad 2 finally get Siri??

    The new ipod touch will have Siri with the A5 chip. Since the ipad 2 also has the A5, will the ipad 2 finally get Siri??

    It's probably due to the RAM and processor limitations.
    iPad: RAM - 256MB, Processor - 1 GHz Apple A4
    iPad 2: RAM - 512MB, Processor - 1GHz dual-core Apple A5
    iPad 3: RAM 1024MB, Processor - 1GHz dual-core Apple A5X
     Cheers, Tom

  • I brought a iphone 5c from ebay, when i recieve the i item its loked with i cloud, and also had a tmobile sim card in the slot...now i cant access the phone because its locked with i cloud,i do not have the owner details to contrac him,,

    i brought a iphone 5c from ebay, when i recieve the i item its loked with i cloud, and also had a tmobile sim card in the slot...now i cant access the phone because its locked with i cloud,i do not have the owner details to contrac him....but i called to tmobile, they said this phone is not a stolen one,,thet told me to contrac apple.....is apple can unlock the icloud?

    Plug your phone into the wall charger for at least 30 minutes...make sure you have a sim card in the phone...then:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.
    Make sure you have no anti-virus software running or any firewalls...turn all of that stuff off.

  • Hello. I have a problem with the iphone. I had the misfortune of Smader it for a half years ago. but now all my pictures away. and I think it is a security various measures. what should I do?

    hello. I have a problem with the iphone. I had the misfortune of Smader it for a half years ago. but now all my pictures away. and I think it is a security various measures. what should I do?

    ckuan wrote:
    iCloud pushes all your photos to the My Photo Stream album on your devices and computers, and manages them efficiently, so you don’t run out of storage space.
    Your iOS devices keep a rolling collection of your last 1000 photos in the My Photo Stream album. From there, you can browse your recent photos or move the ones you like to your Camera Roll or another album to keep them on your device forever.
    (Here's that part I'm bolding for you to reference): Because your Mac and PC have more storage than your iOS devices, you can choose to have all of your My Photo Stream photos automatically downloaded. In iPhoto or Aperture preferences on your Mac, select Photos (or Photo Stream) > My Photo Stream > Automatic Import. All of your photo stream photos will be imported into your Events, Projects, Photos, Faces, and Places folders in iPhoto or Aperture. On your PC with My Photo Stream enabled in the Control Panel, all of your photos will be imported into C:\\Users\<user name>\Pictures\iCloud Photos\My Photo Stream. For iCloud Control Panel 2.0 to 2.1.2 users, the path isC:\\Users\<user name>\Pictures\Photo Stream\My Photo Stream .
    Exactly.  It keeps a collection of the most recent 1000 photos in your Photostream Album on your iOS device.  That's the limit of the displayed images on an iOS device.  Not the upper limit of storage.  It's like the call history.  You can have more than 100 calls, but only the most recent 100 calls show on the device. You can still get your entire call history from your wireless carrier.  And you can still download all of your Photostream photos from Photostream using iCloud Control panel on a PC, or the iCloud option in System Preferences on a Mac.
    iCloud: My Photo Stream and iCloud Photo Sharing limits
    http://support.apple.com/kb/HT4858
    http://help.apple.com/icloud/#/mmc0cd7e99
    My Photo Stream upload limits
    The My Photo Stream limits below are established based on anticipated upload patterns. Currently, My Photo Stream upload limits are as follows:
    Uploads to My Photo Stream per hour: 1000 photos
    Uploads to My Photo Stream per day: 10,000 photos
    Uploads to My Photo Stream per month: 25,000 photos
    If you exceed one of these limits, your uploads to My Photo Stream will be paused temporarily and you may see a notification message on your device. Your uploads will resume automatically after you no longer exceed one of the limits, such as in the following hour or on the following day.
    You can upload 10,000 photos in a single DAY.

  • My iPhone will not turn on, when I plug it into my computer and load up iTunes its in recovery mode and the only option is to restore my device to factory settings. I have no back up of my phone I've also tried the home/sleep button thing but nothing

    My iPhone 4 will not turn on, when I plug it into my computer and load up iTunes its in recovery mode and the only option is to restore my device to factory settings, I have no back up of my phone I've also tried the home/sleep button thing but nothing, I have literally done every method I was told, I checked for water damage and that's fine. I don't want to restore my phone or buy a new one or pay for repairs because that's wasting money when it could be a simple way to fix it. And yes, I've also tried charging it and turning it in. I really need some help with my phone

    That does happen.  It depends on how hard the server is being hit, as well as the connection speed of your system.  If you are on a windows system, you will want to disable any antivirus or firewall software during the download.

  • I can not load my yahoo email. I get the following message: "Not Found The requested URL /mc/showMessage was not found on this server. Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.6-1+lenny4 with Suhosin-Patch etc... (too many characters for your ? page

    Can't log into yahoo email. I get the following message: "Not Found The requested URL /mc/showMessage was not found on this server.

    OK here is the problem I am having with this.. It might be related to my own machine but I need help where to look..
    on the command line using mintty on XP I have this:
    $ nslookup us.mg6.mail.yahoo.com
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 98.136.145.155, 216.115.101.178, 216.115.110.119, 216.115.101.179
    98.136.145.157, 98.136.145.154, 216.115.110.118, 98.136.145.156
    Aliases: us.mg6.mail.yahoo.com, geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    geoycpi-uno.gycpi.b.yahoodns.net
    HOwever when I look in firebug for where the ip for the above domain is this is what I get:
    66.115.130.31 clearly not listed above..
    Let's check the aliases
    $ nslookup geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 216.115.110.118, 98.136.145.156, 98.136.145.155, 216.115.101.178
    216.115.110.119, 216.115.101.179, 98.136.145.157, 98.136.145.154
    Aliases: geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    geoycpi-uno.gycpi.b.yahoodns.net
    nope
    $ nslookup geoycpi-uno.gycpi.b.yahoodns.net
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 98.136.145.156, 98.136.145.155, 216.115.110.118, 216.115.101.179
    98.136.145.157, 216.115.101.178, 98.136.145.154
    Aliases: geoycpi-uno.gycpi.b.yahoodns.net
    nope
    where is this 66.115.130.31 ip comming from.. why isn't firefox using native DNS lookup?
    When I do a reserve lookup on that ip it points to nationalnet.com as the top SOA..
    any ideas?

  • Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets.

    Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets. then it names the file as an m4p file. Everything works beautifully on the iPad through Preview, and validates through iTunes Producer up until the attempted upload. If you've been able to accomplish this, please let me know how you prepared your audio files. Many thanks.

    Hello Fellow iBook Authors!
    Today I received the same error that you all have been discussing.  I tried selecting the DRM
    and this did not work for me, though I'm glad it did for some.  Here's what I did as a work-around. . .
    Since iBooks Author did not have a problem with Videos, I simply used one of my video programs, ScreenFlow to turn the audio into a video file m4v.  I added an image and extended the length or timing of the image to span the length of the audio file.  Then exported as an .mov.  I then opened QuickTime and opened the file and exported the file to iTunes. 
    You can use iMovie, Camtasia or any other progam that will allow you to export the audio as a movie file.  Does this make sense?  I hope this helps, at least in the short-term.
    Michael Williams

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

Maybe you are looking for