File permissions and ownership in the /Applications directory

Hello,
I've noticed that the application files in /Applications have a mix of the following ownerships:
root:admin
myusername:admin
501:admin
I understand that 501 refers to the first user created, however the current username that I use is not the first one that was created.
I find that often when I am deleting an app, I am prompted for a password.
I also just tried to edit a text file in an application subdir and could not save the changes due to lack of permission. The owner was 501 and I had to use sudo to chown it.
What is the ownership supposed to be on all of these files?
-Travis

Travis B wrote:
So the real oddity is that there are thing in there that are owned by 501 and tbarth? They should all be root?
No. Only those applications that were installed by a correctly designed installer should be owned by root. That is a fairly small subset of all current applications. Most applications will be owned by whomever dragged the application into the Applications folder.
Should I chown them all to root:admin? Or root:root? Or just leave it all as is...
I think you should leave them. Regardless of who owns them, you don't need to be creating any text files in there.
Please be clear on this fact: if you do any sort of chown or chmod on anything in /Applications you are running a distinct risk of rendering your system inoperative.

Similar Messages

  • File permissions and ownership questions

    Hi all,
    I'm a bit confused by the file permissions in Snow Leopard. In particular, whenever I create a folder, there is always a group permission assigned to "staff".
    1) how is "staff" different from "everyone"?
    2) how come if I remove the group permission for "staff", I can't add it back? It doesn't seem like the "staff" group actually exists (it doesn't show up in the user/group dialog)
    And finally, does anyone know why ownership is so weird on removable drives? It seems like the "owner" of a folder created an a removable drive is just whoever is logged in at the time. So, if I log in as UserA and do an ls, I see the owner as UserA. If I log in as UserB, I see the owner as UserB.

    bmm727 wrote:
    Hi all,
    I'm a bit confused by the file permissions in Snow Leopard. In particular, whenever I create a folder, there is always a group permission assigned to "staff".
    1) how is "staff" different from "everyone"?
    staff is the default group that includes all users with accounts on your computer. everyone means everyone including remote users connecting as guests if you have file sharing on who don't have user accounts on your computer.
    2) how come if I remove the group permission for "staff", I can't add it back?
    in short, because GUI for changing permissions is really messed up in snow leopard.
    It doesn't seem like the "staff" group actually exists (it doesn't show up in the user/group dialog)
    it does exist, it's just not offered as an option in that dialog. see my comment above about GUI being messed up.
    Furthermore, please never delete staff from permissions this way. on top of being messed up GUI for changing permissions is buggy in snow leopard and when you remove staff from permissions that way the group on the item in question changes from staff to wheel (which is why you have to unlock the lock with your admin password in order to do this). this is wrong in most instances as only root belongs to the group wheel.
    And finally, does anyone know why ownership is so weird on removable drives? It seems like the "owner" of a folder created an a removable drive is just whoever is logged in at the time. So, if I log in as UserA and do an ls, I see the owner as UserA. If I log in as UserB, I see the owner as UserB.
    it's not true for all removable drives. it's only true if a drive has ownership disabled (can be done in the get info popup) or if it's formatted FAT. all thumb drives are formatted FAT by default. FAT is an old windows file system which does not understand POSIX permissions and treats everything as read+write by everybody.

  • Why are there no applications in the Applications directory on terminal

    I have updated to OS X Mavericks 10.9.1 and cannot access the Applications directory through terminal.
    $ cd /Users/kwilliams/Applications $ ls -la total 0 drwxrwxrwx   2 kwilliams  staff    68 14 Aug 10:10 . drwxr-xr-x@ 37 kwilliams  staff  1258  9 Sep 10:26 .. 
    I have previously used terminal to access the Applications directory but now it is showing no Applications?
    If I click on the Applications folder in Finder, all my applications are present.
    I need to be able to access Applications through terminal to run specific programs, so any help would be appreciated.
    Many thanks

    You need to enter cd /Applications and not /Users/kwilliams/Applications.
    (99923)

  • Can't boot into OS X.6 after changing permissions and ownership

    Hi,
    I'm in the process of migrating to OS X.7 - booted into Lion I changed permissions and ownership on the other disk that I use to startup into OS X.6. I set it to "ignore ownership on this disk" and granted read and write access to "everybody". Restarting my Mac into OS X.6 now doesn't work anymore - the grey spinning circle spins forever.
    Does anybody know how to fix this so that I can boot back into OS X.6? I'd be real thankful...
    Best
    Jurgen

    Thank you for your reply. I was able to repair permissions on the failing disk using the OS X.7 Lion recovery volume - quite amazing that one can do that.
    However the internal disk of the iMac that has OS X.6 on it still fails to boot.
    Any other suggestions? I'm a bit desperate to use OS X.6 because a few apps that are vital to me do not run under OS X.7 (they need Rosetta).

  • PS CS4 64-bit (in Web Premium CS4) on Win 7 PC.  I did a duplicate file check on my hdd and deleted dup files. Now I get "Some of the application components are missing from the Application directory, Please reinstall.."

    PS CS4 64-bit (in Web Premium CS4) on Win 7 PC.  I did a duplicate file check on my hdd and deleted dup files. Now when I try to run PS 64-bit I get "Some of the application components are missing from the Application directory, Please reinstall the application." When I do this, it seems to install correctly until the very end, then it says "Installation Complete With Errors", and when I try to run I get the same 'component missing message'. What can I do? PS 32 bit runs fine. Some of the other applications ib Web Premium say the shortcut has been changed or removed. I appreciate your help...Thank you

    Best advice I can think of is to uninstall and run the Clean Script from here.
    Adobe - Adobe CS4 Clean Script

  • I had photoshop installed fine.  We had to replace our hard drive, but had a full backup and everything else is working except for elements.  This is the message I get -Some of the application components are missing from the Application directory, Please

    I had photoshop installed fine.  We had to replace our hard drive, but had a full backup and everything else is working except for elements.  This is the message I get -Some of the application components are missing from the Application directory, Please reinstall the application.  I have reinstalled, but am getting the same message.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    You can also try to repair the places database with this extension:
    *https://addons.mozilla.org/firefox/addon/places-maintenance/

  • I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continues to blink on and off. I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated

    I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continue to blink on and off.
    I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated.

    are you backing up files, or doing a Time machine backup, either way, the Time machine will STOP when finished and show "last backup at XXXXXX"  meaning its done...... OR if when transferring files, it will show a progress bar on your desktop and vanish when files are copied.
    Open up the Hitachi drive (your G drive is made by Hitachi, and the best made by the way).....and see if the files are there.
    a MORE VISUAL way is to open the hard drive file, and drag and drop files INTO the Gdrive and you can see them visually be copied there as you do it.
    To see your HD on your desktop GOTO  FINDER......PREFERENCES....then GENERAL TAB.........check the box marked HARD DRIVES.........then your Gdrive will appear on your desktop........open it from there,  and DRAG and drop files from anywhere INTO the Gdrive....... easy visual way to see the files being copied into the Gdrive.

  • Just updated my iMac to OS X Yosemite and my Photoshop will no longer open. Pop up message informing Some of the application components are missing from the Application directory. Please reinstall the application. I have the pay monthly package and don't

    Just updated my iMac to OS X Yosemite and my Photoshop will no longer open. Pop up message informing, Some of the application components are missing from the Application directory, Please reinstall the application. I have the pay monthly package and don't know where to start.

    Do as it says: Reinstall the program. Run the cleaner tool and let CC app do the magic.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • I have been using Elements11 for almost a year. I am suddenly getting the message:Some of the application componentsare missing from the application directory. Please reinstall. I deleted old version, reinstalled on my Mac and now get this message:A requi

    I have been using Elements11 for almost a year. I am suddenly getting the message:Some of the application components are missing from the application directory. Please reinstall. I deleted old version, reinstalled on my Mac and now get this message:A required application library failed to load and the product cannot continue. I also get the first message again. Organizer works but not editor. Frustrated!

    What a waste of space to paste the code.
    Why not ask in the iLife > iPhoto forum where your question belongs.

  • Where are the actual Aperture files located? Only in the application? I am transitioning to Lightroom and would like to only move some of the files. Advice appreciated. Also anyone know how to transfer in with edits?

    Where are the actual Aperture files located? Only in the application? I am transitioning to Lightroom and would like to only move some of the files. Advice appreciated. Also anyone know how to transfer in with edits? Using iMac, OS X, most recent Aperture and Lightroom 5.7 with plugin for Aperture.

    Define "the Aperture files".
    Read this concise guide.
    The files you imported into an Aperture Library can be exported (at any time, and repeatedly) using the command "File ▹ Export ▹ Originals".  Your Originals are never altered.  What went in is what comes out.
    Adjustments and changes to the metadata that you made since creating an Image in Aperture by importing a file are saved to a text file.  This file is combined, on-the-fly, with the Original to create the Image that you see in Aperture.  There is no file saved to disk that is the full-size Image.  Thumbnails are saved, and Previews are saved.  These are JPG files, almost always smaller than the Original.  They are not substitutes for the Image for the use you have.
    When you need a file of an Image to use in another program, you export the Image from Aperture.  "Export" means "Make me a file of this Image according to these file specs I'm providing".  The way to get files of your adjusted Images is simple:  create them by exporting.  Specify "Original size", and use a loss-less image-file format (e.g. TIFF 16-bit) if you want to retain as much visual information as possible.
    Search the Web for information about transitioning from Aperture to Lightroom.  Note that I say "transitioning".  You cannot move a database from one format to another without significant changes, and likely some loss of information.  Adobe provides a tool and some instructions.  I strongly recommend working out the process step-by-step, and then proceeding with first a few Images, then a bushel-ful, and stopping to use the first few, the the bushel-ful, before committing your entire collection to the process.
    As always, never use any computer file without having a back-up.
    We have seen mixed reports here of the success of the LR tool that creates a LR database from your Aperture database.
    If you want to carefully define the process, and test and refine it, use the excellent process-development, analysis, and execution program inShort.
    Sadly, there is not and can never be a good, thorough re-positioning of the digital assets in your Aperture Library to become digital assets in a LR database.  Just as a metaphor for any user contemplating transitioning to another digital asset manager:  that would be like digging up a house in one country, planting it in a hole in another country, and expecting to be able to use the toilet and the sinks, turn on the lights, cook dinner, and sleep soundly.
    HTH,
    Kirby.

  • How to load content from the application directory?

    I'm currently working on an AIR desktop application that will be distributed on OSX and Windows. The main applicaiton SWF will load a child swf that has been packaged. When I've attempted to load the child SWF via loader.load() with a URI of "app:\\TheChildContentSWF.swf", the load has failed with an IOError. If I force a copy of the the SWF (in OSX) to the MacOS directory where the executable resides, the child SWF would load. I was a little stumped by this so I decided to check what the nativePath of the application directory was via File.applicationDirectory.nativePath (it turned out to point at the Resources directory). Does the "app://" URI point to different paths when using Loader vs File?
    If so, is there a way to package content so that it is installed in a directory that Loader can recognize without hitting security sandbox issues?
    Visual of the OSX app directory structure (simplified)
    MyApp.app\
         Contents\
              Frameworks\
              MacOS\
                   executable
              Resources\
                   TheAppSWF.swf
                   TheChildContentSWF.swf
                    ... // other content
    Thanks for any help!
    Josh

    When loading application, move the swf to the applicationStorage folder if it doesn't exist already.
    Something like ...
    private var swfDistribute:File = File.applicationDirectory.resolvePath('ResourcesChildContentSWF.swf');
    private var swfLocal:File      = File.applicationStorageDirectory.resolvePath('TheChildContentSWF.swf');
    private function onCreationComplete():void
       if (!swfLocal.exists) {
          if (swfDistribute.exists) {
             swfDistribute.copyTo(swfLocal);
    Then you should be able to call your loader.load() URI with the variable (swfLocal)

  • 'Some of the application components are missing from the Application directory. Please reinstall the application.'

    I tried opening PS and this message popped up 'Some of the application components are missing from the Application directory. Please reinstall the application.' I cannot find the Reinstall button?

    I followed these instructions but cannot find how to reinstall PS. When I click on the membership link the page displays as NOT BEING FOUND.
    Quit all applications. 
    In the Finder, navigate to the Photoshop application folder. 
    Do one of the following: 
    If the Locales folder is not listed within the application folder, then skip to Step 5.
    If the Locales folder is listed within the application folder, then drag the Locales folder to the Trash.
    Choose Finder > Empty Trash. 
    Start the installer for Photoshop or your edition of the Adobe Creative Suite. 
    If you purchased boxed software, then insert the installation DVD-ROM into your computer's DVD drive.
    If you purchased downloadable software from the Adobe Online Store, then double-click the disk image (.dmg) file or files that you downloaded. (If you no longer have the downloaded disk image file or files, then log in to your account at www.adobe.com/membership to download the installer.)

  • File permission and ownership problem

    I am trying to resolve some file permission and ownership problems that are left over from using Migration Assistant to set up my iMac from an older iMac. In a terminal session when I use the ls -l command I'm getting a file/directory owner of 504. Sometimes the group is admin and sometimes the group is also 504. I think this is because the owner of the file on the old computer is not present in the new one but I want to be sure before I just change the owner and group.

    The following should give you an indication->
    id -un 504
    or you could try->
    dscl . list /Users UniqueID | grep 504  && echo "User exists" || echo "User does not exist"

  • Modifying the ownership of the Applications folder's content

    Hi,
    Over time applications where installed by drag and drop, from either admin or non-admin user. Overtime admin user became non-admin user or vice-versa. Finally overtime the Applications folder's ownership gets really mixted up.
    Is it a good idea to modify the ownership of the Applications folder's content ? By content I mean modifying the ownership of all folders and content inside the Applications folder ?
    If yes, what sould be the permission/ownership of all the Applications folder's content ? admin
    Thanks in advance.
    Robert Lespérance
    Robert Lespérance

    Hi Robert,
    There are 3 Rights/Permissions on each, depending who you want to be able to use them & how.
    Most of My Apple APPs are...
    Owner = system = Read & Write
    Group = admin = Read & Write
    others = Read Only

  • How to load data from a  flat file which is there in the application server

    HI All,
              how to load data from a  flat file which is there in the application server..

    Hi,
    Firstly you will need to place the file(s) in the AL11 path. Then in your infopackage in "Extraction" tab you need to select "Application Server" option. Then you need to specify the path as well as the exact file you want to load by using the browsing button.
    If your file name keeps changing on a daily basis i.e. name_ddmmyyyy.csv, then in the Extraction tab you have the option to write an ABAP routine that generates the file name. Here you will need to append sy-datum to "name" and then append ".csv" to generate complete filename.
    Please let me know if this is helpful or if you need any more inputs.
    Thanks & Regards,
    Nishant Tatkar.

Maybe you are looking for

  • Open Large amount of data

    Hi I have a file on application server in .dat format, it contains large amount of data may be 2 million of records or  more, I need to open the file to check the record count, is there any software or any option to open the file, I have tried openin

  • Ipad mini 32 and can't connect to my HP Pavilion DM1 windows 8 via bluetooth

    Just got a new Ipad mini 32 and can't connect to my HP Pavilion DM1 windows 8 via bluetooth. I get to the stage where you have to confirm on both systems the generated code and then it goes in error. Not supported. Any clue ?

  • Shadow artifacts when waking from sleep with an external monitor.

    This problem happens when I have an external monitor connected, I put the MacBook to sleep, and then wake it up with the monitor still connected. Upon waking, the shadow effects surrounding all of the windows get "corrupted" The shadows look like TV

  • Remove video flv with actionScript

    Concerning flv handling : how can I remove the video object called on the Stage by the following script? : var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); my_

  • Computational Ability to Handle Super Big Excel Files

    My son lives overseas and is in the business consultancy business. He will be visiting us in the USA next week and plans to buy an iphone (if there are any available). He is a committed PC user but is getting frustrated with the computational slownes