Permissions of /home

Discussion in 'Mac Programming' started by lazydog, May 6, 2008.

  1. lazydog macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #1
    Hi

    I was wondering if somebody could tell me what the permissions for /home are on their system (10.5). I was trying to set up /home on my Mac to mimic a directory structure of a Linux server but hadn't realised /home isn't just an ordinary directory on 10.5.

    May thanks

    b e n
     
  2. Nutter macrumors 6502

    Joined:
    Mar 31, 2005
    Location:
    London, England
    #2
    My home folder permissions appear to be "drwx------". (Admin account.)
     
  3. Sbrocket macrumors 65816

    Sbrocket

    Joined:
    Jun 3, 2007
    Location:
    /dev/null
    #3
    My /home permissions are dr-xr-xr-x, owned by user root and group wheel.
     
  4. Nutter macrumors 6502

    Joined:
    Mar 31, 2005
    Location:
    London, England
    #4
    Isn't it somewhat irregular for your home folder to be owned by root?
     
  5. reh macrumors 6502a

    Joined:
    Oct 24, 2003
    Location:
    Arkansas
    #5
    Seconded. (latest version of leopard)

    Note that this is /home we're talking about, not your user's home folder.
     
  6. Nutter macrumors 6502

    Joined:
    Mar 31, 2005
    Location:
    London, England
    #6
    Gah, of course. Don't mind me, I'll just find a corner to go dribble in... :eek:
     
  7. lazydog thread starter macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #7
    Ah thanks for all the posts! I can fix mine now.

    b e n
     
  8. lazydog thread starter macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
  9. Sbrocket macrumors 65816

    Sbrocket

    Joined:
    Jun 3, 2007
    Location:
    /dev/null
    #9
    /home is not meant to be used for anything by the user in Mac OS X. The folder is hidden for a reason. If a folder is hidden and you don't know what you're doing, don't mess with it. OSX is not straight *nix - it is not a logical assumption to make that they would behave the same way. Seriously though, I can't see why people would think that using a hidden folder to store data in is a good idea. :confused:
     
  10. lazydog thread starter macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #10
    I don't think you get it. For Leopard, Apple changed Mac OS X and put /home in auto mount. Before Leopard, eg Tiger, /home was a perfectly good directory to use. I need to use /home on my Mac to simplify development for work's Linux server which uses /home for lots of stuff.

    b e n
     

Share This Page