PDA

View Full Version : Link link link




Cuckoo
Aug 18, 2007, 04:26 PM
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



SC68Cal
Aug 18, 2007, 04:55 PM
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?

Cuckoo
Aug 18, 2007, 11:53 PM
Thanks!!! that presicely hit the spot!!

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

thank you very much