home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9441 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.7 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
  2. From: hammond@kwhpc.caseng.com (Kevin W. Hammond)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: your mail
  5. Message-ID: <1992Aug31.014012.20646@athena.mit.edu>
  6. Date: 31 Aug 92 01:40:12 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Reply-To: hammond@kwhpc.caseng.com
  9. Organization: The Internet
  10. Lines: 35
  11.  
  12. | There is a problem with symbolic links in 0.97 patch level 2.  i.e
  13. | they're not followed if you are not the owner ( of the link ) or a
  14. | member of the owner's group. I'm using the minix file system.
  15. | I discovered this because I have shell scripts that look like this ..
  16. |  
  17. | #!/bin/sh
  18. | shell commands...
  19. | /bin/sh is a symbolic link to /bin/bash. ( owner bin:bin ). If I try to
  20. | execute the shell script as a normal user, it fails with "operation not
  21. | permitted". The permissions on bash are rwxr-xr-x
  22.  
  23. I am running 0.97pl2 and do not see the same problem.  I have /bin/bash
  24. owned by bin:bin with perms of 755.  I then have /bin/sh as a symbolic
  25. link to /bin/bash (however I cannot get the link to be owned by bin:bin.
  26. It always seems to be owned by root:root  Anyone know why?)  Who own's
  27. the /bin/sh link on your system?
  28.  
  29. I tested it with a shell script as you indicated above and it works fine.
  30. I know this doesn't really help your problem, but it might go a little to
  31. indicate that it may not be 0.97pl2 that is the cause of the problem.
  32.  
  33. I also have all sorts of other symbolic links to files throughout my system
  34. (such as awk to gawk, etc.) and all works well!
  35.  
  36.  
  37. -kwh-
  38. -- 
  39. Kevin W. Hammond
  40. hammond@kwhpc.caseng.com
  41.  
  42.   CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
  43.