Setuid app on external drive

I have an application/program/executable on an external drive that I need to run setuid root. I know that it will work if I copy the executable to my local hard drive. However, I need this to be able to run from the external drive. Is it possible and if so, what do I need to do to enable it?
Thanks

I do have root access.
The fstab file is blank so that leads me to believe there is something in the automounter that is forcing the 'nosuid' option. I tried removing 'nosuid' from the AUTOMOUNTD_MNTOPTS in /etc/autofs.conf and rebooting, but it did not seem to make a difference.
Since this is a USB drive with an HFS filesystem I was having some problems trying to manually mount the disk so I really didn't have a way to "not" specify the "nosuid" option to "mount". Then I tried plugging in the drive, looking at the command line at what the device file is (df-Pk), then unmount it in "Disk Utility" (so that it has not been ejected) and then manually mount it from the command line without the "nosuid" option. That seemed to work but is awful tedious.
The reason 'sudo' is not really an option is because this part of a commercial UNIX application suite I am attempting to port to the Mac and this is a problem in the file permissions auditing utility within that application. So I don't want every user that uses the application to have to be a 'sudoer' and I don't want them to ever be forced to enter a password to run this audit.

Similar Messages

  • Finder behaving strangely, temporarily unresponsive when opening Apps folder, External Drive.

    Hi I'm running 10.7.2 on a 27-inch iMac 11,1 (Late 2009). Everything has been working great up until a few weeks ago. I can't remember if it was after an update or what.
    I have an external 1.5 TB hard drive, and whenever  try to access the drive's root (lowest-level) directory, Finder freezes up for 1-2 minutes, I can't do anything, it just stays unresponsive. If I keep a window open of that same directory and open the directory by opening a new finder window and going to the external drive, it works just fine, but this isn't an ideal work around, since it keeps me from opening the drive via the icon on my Desktop (since that would just point focus to the already-open window, and if I navigate away from the base directory, the problem happens all over again once I try to re-access the drive).
    At first this was the only problem, then I noticed that the exact same unresponsive Finder would result if I tried to open the Applications folder, and then again it turns out the Documents folder does the same thing when whatever program I'm using tries to open a 'Save As..' sheet that points to the Documents folder by default, for example. This behavior renders some pieces of software super impractical to use.
    Finally, lately, whenever I try to open a directory in Finder that is a sub-directory of my home directory, the directory will use the same 'View Options' as my home directory (background color, etc.). If I navigate away from the folder and back, it's styles appear as normal -- this only occurs when I open a new finder window directly to another directory that is a sub-directory of my home. 
    Then, I ceased having problems with the Documents and Applications directories (can't remember when), but still have problems with my external.
    Phew. I'm not completely sure that the last issue is related to the main problem, but it seems likely.
    Any ideas as to what's going on here?
    Thanks,
    Sam
    Edit: This has been going on for a few weeks now, restarting the computer, restarting Finder, fixing disk permissions have all been tried.

    I am pretty sure I used Apple's Migration Manager to move my account which easily could have pulled over some legacy CS folders in my user's Library.
    After some more searching I did find a .plist file for the Adobe Application Manager by having Spotlight look for /Mars. The .plist did include the these (incorrect) paths: /Volumes/Mars. After I corrected that I was able to install InDesign in the right location and it works now.
    Strange thing is that Adobe Application Manager still created the invisible folder /Volumes/Mars and put the Adobe Extension Manager in it.
    Since I have a book to finish and ID is working now I won't rock the boat but I have no doubt it will hang again and a re-install is in my future. So I downloaded the cleaner-tool and will use it next time.
    Thanks
    Peter

  • Show apps on external drive in launchpad

    my primary hard drive is almost full. and most of my problem is all the apps i have. games, photoshop, adobe, microsoft office, etc. i have a second hard drive  that is a high capacity now and i can't get my apps on that drive to show up on launchpad. is there no way to do this? i thought you could just move apps or reinstall them and it would detect apps on all drives on its own. please help

    Nobody can tell you anything. The specifics will depend on how the drives are anchored on your system, but the mere mention of "RAID" sends shivers down my spine, since this means: special drivers = special formatting = post-boot initialization = a whole lotta trouble.
    Mylenium

  • Using OS and professional app on external drive. with what about performance

    is realistic install or clone my internal hard drive with the OS and all pro apps that I use daily on an external thunderbolt drive and to use that drive to bootand work on any other mac in the world (thunderbolt of course)

    You may get it to work except for a possible driver issue and that not all Mac's have Thunderbolt ports, only newer models have them.

  • Can't run Pages (or iWork '08 apps) from external drive

    My MacBook Pro is back at Apple for repair, so I created a bootable clone of that machine's hard drive to an external hard drive. While I can boot from that drive on another MacBook, none of the iWork '08 apps will run. They start up, show a menu bar, but won't open any existing files or allow me to create new ones.
    Any help?

    If you've not previously used iWork on the temporary Mac, you might consider downloading the iWork '08 trial to use. You will get all the functionality of the registered version.
    For anyone with more than one Mac that they might ever want to run iWork on, I suggest getting the family pack from the beginning. For only $20 US more, you get to legally install iWork on up to five different Macs in the same household.

  • DVD authoring problems since adding external drive-coincidence or problem

    I've connected an external drive to home unit to store footage. I feel this external is a little slow compared to my Mac but not sure how to find out.
    Anyway, I create mpv files for DVD authoring. Same process as always EXCEPT the external housed footage. Build DVD as always. Now my boss has these DVD locking up or pixelating. Yet, if she plays an older disc it still works fine in her system. Her other DVD player sometimes does not recognize the disc. I've even created the mpv files and went to FT work to build the disc. It eliviated the problem but did no cure it.
    This problem does not happen on all discs.
    All these problems happened with the very next disc and almost all the discs that have been involving the external. Coincidence or problem.
    I intend on getting a LaCie external to use. We use them at FT job and never a problem. But until then:
    I'm thinking of creating a QT file on the Mac hardrive and then compress.

    AndyPeardrop wrote:
    I use the drive to run FCP and DVD Studio Pro.
    Do you mean you have the apps on external drive? = BAD
    or just using the external as media drive? = good

  • Running games and apps on an external drive?

    I have a macbook pro with windows 7 using bootcamp and the hard drive partition is filling up. I can't really assign it any more space on the boot drive because I need it for what's running on the osx partition.
    Is it possible to put some games or software on an external drive rather than on the boot drive and run them from there in order to save space on the boot drive?
    I would use a 7200 rpm drive with a firewire 800 connection. Would this affect the performance of the games?
    Thanks for any advice.

    Hi Luis,
    theat really depends on the games/apps you run.
    During installation of these games/apps you might or might not get the oportunity to change the destination folder of where to install the game/app.
    Some allow it to install them to a different folder/harddisk and some don't.
    But there usually it still some parts that have to be installed on the Windows system partition (c:).
    Also depending on the games/apps you might be able to move them after installation but most likely this will only work for a very few of them.
    When using the external harddisk you might experience a slight decrease in speed, especially when large parts have to be read from that external HD, but it should be acceptable.
    Regards
    Stefan

  • Using Migration Assistant on external drive for moving new apps to Leopard

    I'm sorry if this has been covered, but I searched and couldn't find the answer on any previous posts.
    I am having the infamous "yellow triangle" problem when trying to install Leopard on my iMac. I created a bootable copy of Tiger and all my apps, etc. on an external drive (including Parallels/Windows) with SuperDuper, and I'm planning on trying an "archive and install", and then hopefully using MA to transfer all of my settings and files from the bootable copy of Tiger on the FireWire drive.
    Obviously before I go ahead I want to make sure I can do this. Is this possible, and what would the basic steps be?

    I didn't know I needed to disconnect the FW drive in the first place. That may be the root of all my problems.
    I have been having nothing but problems with this Leopard install on my iMac (though it seems to be working on my Macbook Pro). Here's what happened:
    * The iMac install was going just fine (though I had the external hard drive connected). I selected the internal hard drive (no yellow exclamation or anything like that) and it began to install. After about 2 minutes it kicked me out and said there was an error.
    * ok. So I rebooted and tried it again. From this time on, whenever I tried to install Leopard on the hard drive there was a yellow exclamation, and I got the infamous "Can't install OS X on this volume without changing installation settings" (basically erase and install)
    * Then I tried Leopard Disk Utility. When I tried to verify the disk, it gave me an error saying the disk has the incorrect number of extended attributes (should be 0 instead of 238) and it needs to be repaired. But it wouldn't let me repair it, even if I rebooted off the DVD.
    * Next, I went back to Tiger's Disk Utility and verified the disk and repaired permissions. There seemed to be an error that was corrected, so I thought that would do the trick. Wrong! By the way, I checked the partitions and the disk is formatted with a GUID partition.
    * Even after the repair and verification with Tiger, I still get the same problems. When I go to install Leopard, it doesn't work and I get the same errors if I run Leopard Disk Utility.
    This is why I was going to do an erase and install, and import via MA. Do you know any way around this?

  • Move Mobile Apps Folder To External Drive?

    Hi guys,
    I've got a MacBook Pro running Lion with all the latest software / updates.  This has become my secondary machine (since buying a lovely 27" iMac), and I'm using iTunes Match to keep both the MacBook Pro and iMac's iTunes libraries in sync.
    Now that I sync my iPhone and iPad to the iMac, I don't have much need for the Mobile Apps folder on my MacBook Pro.  I have a lot of apps, so my Mobile Apps folder is ~50 gigs, and it's suddenly one of the larger items on the MacBook Pro's drive.  Would it be possible to relocate this folder to my external drive for the MacBook Pro?  I found an older suggestion (to move the Mobile Apps folder, and create a shortcut in the iTunes folder pointing back to me new location), but this didn't work at all.
    Is this do-able?  As as alternate, can I just delete all the Apps from my MacBook Pro's iTunes library (from within the app) without screwing up the syncing or (via iTunes Match) inadvertantly deleting them all from the iMac as well?
    Thanks!

    How to use an SSD with your HDD
    If you are going to use an SSD as a boot drive together with your existing HDD as the "data" drive, here's what you can do.
    After installing the SSD you will need to partition and format the SSD using Disk Utility. Then, install OS X on the SSD. After OS X has been installed boot from the SSD. Use Startup Disk preferences to set the SSD as the startup volume.
    Open Users & Groups preferences. Click on the lock icon and authenticate. CTRL- or RIGHT-click on your user account listing in the sidebar and select Advanced Options from the context menu.
    You will see a field labeled "Home dir:" At the right end you will see a Change button. Click on it. In the file dialog locate the Home folder now located on the HDD (HDD/Users/account_name/.) Select the folder, click on Open button. Restart the computer as directed.
    When the computer boots up it will now be using the Home folder located on the HDD.
    Another more technical method involving the Terminal and aliases is discussed in depth here: Using OS X with an SSD plus HDD setup - Matt Gemmell. This is my preferred approach because I can select which of the Home's folders I want on the HDD and which I don't want. For example, I like to keep the Documents and Library folders on the SSD because I access their content frequently.
    Be sure you retain the fully bootable system on your HDD in case you ever need it.

  • How do I transfer my apps from an external drive to my new iMac?

    I just purchased a new iMac and am currently in the process of getting everything set up. My previous Mac was a powerbook, so there are many changes that I will be getting used to in the near future.
    My primary concern at the moment is getting my apps into my new iMac iTunes library. I have all my music, apps, podcasts, etc. saved on an external drive which I plugged into my new iMac. To import the music into iTunes. I selected File > Add to Library > then selected the external drive with my iTunes folder & imported the enitre folder (which was 163.57 GB). Everything, including my music, movies, podcasts, books, & TV shows transfered over just fine with the exception of my apps. After researching the issue, I discovered the iTunes was saving all the apps on my powerbook instead of the external drive in a folder titled Mobile Applications. I then transfered the folder from my powerbook to the external drive and followed the steps above to try and import my apps into my new iMac library. But have had no luck. Each app comes up with the following message when I try to add it to the iMac library:
    The app "[adult swim]" could not be added to your library because an error occured. An unknown error occurred (-50).
    This is as far as I have been able to get. I am ensured that my new iMac Itunes account is authorized for that computer & have synced my iPhone once, which updated iCal, but no apps.
    Any guidance you can provide would be greatly appreciated. I tried to use the Mac Migrate program but did not seem to have any luck. It took almost 12 hours to run over wifi and hung up at the very end. Also, I do not see any evidance of any files being added.
    Thanks.
    Jeff / Texas

    Migration didn't work for me on the music side of things either. What did work however was transferring the entire iTunes folder over to my new computer. Everything switched then, and it was just like iTunes on my old mac. Maybe if you can find the library files in there or something and transfer them over.

  • By backing up the iTunes Library via saving the iTunes folder on an external drive, is it also backing up all iPad and iPhone backups as well as App Data and Documents from your devices?

    If I backup my iTunes Library by saving the iTunes folder on an external hard drive using the instructions contained in the link below, will it also back up all my iPad and iPhone backups as well as App Data and Documents from my devices? In other words, will it also create backups for the backups? Thank you.
    Back up your iTunes library by copying it to an external drive
    Furthermore, when it is time to restore the iTunes folder I copied to my external drive to a new iTunes program on my new computer, how will it merge the information once I plug in my iPad or iPhone to that new laptop to sync? If I did the iTunes library backup a couple months ago and I've added documents/music/pictures on my devices since then, what will happen when I try to sync it with the new laptop now working off of the iTunes library backup from a couple months ago since the information is no longer the same? Which information will dominate and thus be kept? Will it delete the new information/data/pictures/documents/music off of the devices since it is not on the iTunes program when it syncs?
    Sorry for so many questions, but they are all related to backing up and restoring iTunes. I am not very tech savvy if you cannot tell

    It would be a good idea to look into a bigger hard drive. They are not that expensive any more and can save a lot of headach. This is even more important if you are buying music from the iTunes music store. If you lost those files they are gone.
    The point of having it on your PC and iPod is to have a backup. If the iPod fails, or you need to go back to the DVDs and find they are scratched, or just can not be read you have lost days of work converting and organizing all of those songs.
    Or the iPod could hard drive could fail and then you will have to try to bring all of those files back from DVDs. You end up with a mess since some songs will probably be on multiple DVDs, have different names ect. Trying to reorganize it all can be a pain.

  • Booting two Macs from one external drive: 10.8 and App Store?

    I boot two Macs from one external harddrive. Does this mean that when 10.8 is sold exclusively via the App Store and thereby linked to a unique hardware identifier, I am going to have issues with activation/authentification each time I switch machines? I have avoided the App Store since I discovered that an app I bought there, and which I really needed to open automatically on log-in, had to be manually re-activated with my Apple ID after every switch (so that I eventually deleted it and reverted to an earlier, non-App Store version).

    Welcome to the forum!
      There are a couple of "solutions" to your problem.  The easiest, and possibly the best for you (although it is a bit slower) is to copy your catalog onto the external drive as well.
    Then when you plug in the drive, you will always have your latest catalog for access.
    The other way is to keep a local copy of your catalog, and copy it onto the local drive as a way to transfer it from one computer to the other.
    This has the problem of possibly not being in sync, that is, you forgot to copy it over once and did some editing.  Then you would end up with essentually two different catalogs, instead of one in two places.
      You can copy the catalog either with your OS, or you can "export as catalog" and specify the external drive as the destination.  Then, on your other computer, "import from catalog" and only take the meta-data settings (it's on the import dialog box).
    Personally, when I'm traveling, I have my catalog on my external drive as well.  It just makes life easier, and I don't have to worry about it being out of sync, or losing it (and not the images).
    So, I would go with the first method, at least to start.  To get your catalog over there, you can either export as catalog or copy it, either one will work.
    You can find the location of your catalog file (if you don't know where it is) in the catalog settings menu prompt.  Both the location and the name will be displayed.
    Cheers!

  • Can I transfer iPad/iPhone apps to an external drive?

    I maintain the apps for my five grandchildren's iPads. They are constantly asking me to search through all the apps we have purchased in the past, transferring old favorites back to their iPads. They love to browse through the apps in my iTunes account on my computer. However, these apps are now taking up over 80 GB of precious storage. I know that they could simply download the ones I have paid for; but they often cannot remember the names and must view the list on my computer. (Also I have learned, the hard way, that when I give them my password I pay for in-app purchases.) Is it possible to transfer the apps to an external drive that would show up when I connect their iPads to my computer? I desperately need the space. Thanks!!!

    I maintain the apps for my five grandchildren's iPads. They are constantly asking me to search through all the apps we have purchased in the past, transferring old favorites back to their iPads. They love to browse through the apps in my iTunes account on my computer. However, these apps are now taking up over 80 GB of precious storage. I know that they could simply download the ones I have paid for; but they often cannot remember the names and must view the list on my computer. (Also I have learned, the hard way, that when I give them my password I pay for in-app purchases.) Is it possible to transfer the apps to an external drive that would show up when I connect their iPads to my computer? I desperately need the space. Thanks!!!

  • ITunes library help - moved to external drive and now my apps are gone?

    I moved my iTunes library to an external drive, but now my apps are gone? I do have iTunes match and iCloud, so my songs are all on the cloud, but none of my apps are showing...
    I copied everything over, consolidated, but I must have messed something up as I think I have too many library files on the external drive now. I can see all my files on the external drive, but they are not showing up when I open itunes. It looks like it linked to a new copy of a library as only my most recent apps are showing, nad none of my existing ones are on itunes. What should I do to fix this? How do I know which files to delete?
    Thanks.

    I followed the instructions from Apple support to move itunes to an external drive, did what it said (obviously I messed something up). I then started itunes and missed the part where it says to tell itunes where the library was, and consequently itunes created a new library with none of my apps or anything in it.
    All of my music is on icloud and I als ohave itunes match, so all of my music is on the cloud.
    I have read some of the other postings to delete the newly made (and missing apps) itunes library file and ithen point it to the correct library file, but I am now paranoid I would delete the wrong one.
    Thanks in advance for your help.

  • Before upgrading my system from Snow Leopard to Mountain Lion I had taken a backup of iPhoto in my external drive. But now when I try to open that package, I'm directed to app store to buy new iPhoto. How can I retrieve my photos without buying iPhoto?

    Before upgrading my system from Snow Leopard to Mountain Lion I had taken a backup of iPhoto library in my external drive. But now when I try to open that package, I'm directed to app store to buy new iPhoto. Why would apple install iPhoto by default with Snow Leapord and make us import all our photos in it at the first place, and now ask for money if we want to retrieve our photos back on mountain lion? What if they make contacts a paid app with the next OS upgrade, and then bully us to pay money if we want our contacts? This is something very dissappointing on Apple's part. I need answers here.

    I fail to remember if the installer gave me an option to keep my applications.
    The Mountain Lion installer will not delete applications. It will only mark applications, that are not compatible with your current system with a "forbidden" sign in the icon. And you cannot launch them.
    Does your iPhoto icon in the Applications folder look like this?
    Then your iPhoto version is incompatible and cannot run with Mt. Lion. If it is iPhoto '11, with a versionnumber starting with 9.x.x., you can upgrade it by downloading a newer version from the Apple downloads site  http://support.apple.com/kb/DL1650.
    But if you have 8.x.x, you need to buy an upgrade.
    Regards
    Léonie

Maybe you are looking for

  • How to enable the 'FIND' Button in Module Pool Screen. Logic please

    Hi All,    I am writing one Module Pool Program. I have one requirement like I have to put FIND, FIND+ buttons on different screens.    I am able to do the code for normal FIND. According to my requirement I have to display one Popup when the user cl

  • Satellite C850 - HDMI out no longer working after Windows 8.1 upgrade

    Hi can anyone help, I have trawled the web to no avail. I can no longer project the laptop screen to my plasma, I have tried the Win + P buttons and nothing happens, turned on amd off with the hdmi cable connected etc. Thanks in advance.

  • Does a person need Adobe Reader in order to use a fillable PDF form?

    I have created a fillable form using Acrobat XI and I find that some persons are unable to use it  while others are.  Does a person need Adobe Reader to use the fillable  form?  If so, how easy is it to download? Thank you

  • How to totally turn off data traffic when using ma...

    Nokia N8-00: I only use the integrated gps and have turned off the assisted gps, net based gps and Wi-Fi/Network but when accessing maps it still generates data traffic. Normally this is´nt a problem but when traveling abroad data traffic costs a sma

  • Do i have to have a credit card for itunes

    i have been useing a credit card for my itunes but now it says the secerty caode is invaild,but my sister dosent use a credit card she just uses itunes cards.so i guess my question is can i switch it some how and just use an itunes card also?