home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9547 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!sunic!diku!robert
  3. From: robert@diku.dk (Robert Martin-Legene)
  4. Subject: Re: symbolic Links
  5. Message-ID: <1992Jul17.172517.507@odin.diku.dk>
  6. Sender: robert@ask.diku.dk
  7. Date: Fri, 17 Jul 1992 17:25:17 GMT
  8. References: <1992Jul16.203018.15219@nmsu.edu>
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 34
  11.  
  12. rscott@spock.NMSU.Edu (Joseph Good) writes:
  13.  
  14.  
  15. >Is it possible to symbolicly link to a file in another account?
  16.  
  17. >I am trying to execute a program in one account, and store it in another.  The  
  18. >permissions are set for global read/execute.  I need the  current directory to  
  19. >recognize the file as there, but it will actually be in the other account.
  20.  
  21. >I have dug up a C command to link to it, but I was wondering if there is a  
  22. >command line function to do the same.
  23. >--
  24. To make a softlink:
  25. % ln -s <remote file name> <local file name>
  26. And a hardlink:
  27. % ln <remote file name> <local file name>
  28.  
  29. The one whoms file you are linking to, is best off if you make a softlink.
  30.  
  31. >Joseph Good
  32. >+-------------------+ - More than just a band....
  33. >| Green Dot Brigade | - It's a whole damn army of dots...
  34. >+-------------------+ - And we've declared war on the 7-Up dots...
  35.  
  36. >rscott@nmsu.edu (NeXT mail welcome!!)
  37.  
  38. >atlantis@acca.nmsu.edu  (Just plain ol' Unix)
  39.  
  40. -----------------------------------------------------------------------------
  41.           robert@diku.dk           |      Department of Computer Science
  42.        Robert Martin-Legene        |    University of Copenhagen,  Denmark
  43. -----------------------------------------------------------------------------
  44.                  The wheel was invented 2000 years b.c.
  45.                  Today, 4000 years later, it's still round.
  46.