Link link link

Discussion in 'macOS' started by Cuckoo, Aug 18, 2007.

  1. Cuckoo macrumors 6502

    Joined:
    May 2, 2003
    Location:
    The Netherlands - Utrecht
    #1
    Hi,

    I've got a question, and i guess it's kind of a unix thing, which i'm not all that great at... but here it goes:

    I've got a couple of users on my system, each with it's own user directory.

    What i'd like to do is make a SINGLE public-like directory in which they can all read and write from.

    i know there is a 'ln' command in unix, but i'm not sure how to use it...

    for arguments sake, let's say i've got

    /users
    - user1
    - user2
    - user3
    /public_wastebin

    and i would like for all the users to have a directory in their home which is a hard-link to the public_wastebin directory so it would look like
    /users
    - user1
    /wastebin -> points to /public-wastebin
    - user2
    /wastebin -> points to /public-wastebin
    - user3
    /wastebin -> points to /public-wastebin
    /public_wastebin

    can anybody help me???

    thanks in advance!!

    cuckoo
     
  2. SC68Cal macrumors 68000

    Joined:
    Feb 23, 2006
    #2
    It's called /Users/Shared

    just alias it or ln to that.

    One question, why would you put a wastebin in a public directory? How are you going to clean that out?
     
  3. Cuckoo thread starter macrumors 6502

    Joined:
    May 2, 2003
    Location:
    The Netherlands - Utrecht
    #3
    Thanks!!! that presicely hit the spot!!

    Who's going to manage the bin? Well i am...

    thank you very much
     

Share This Page