home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6663 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.2 KB

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!decwrl!pa.dec.com!decuac!hussar.dco.dec.com!mjr
  2. From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: :permission denied?
  5. Message-ID: <1992Sep3.151848.23143@decuac.dec.com>
  6. Date: 3 Sep 92 15:18:48 GMT
  7. Article-I.D.: decuac.1992Sep3.151848.23143
  8. References: <1992Sep3.073220.1@vax.sonoma.edu>
  9. Sender: news@decuac.dec.com (USENET News System)
  10. Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
  11. Lines: 20
  12. Nntp-Posting-Host: hussar.dco.dec.com
  13.  
  14. mccalld@vax.sonoma.edu writes:
  15.  
  16. >     The command sequence works ok however I get a message back from
  17. >somewhere "permission denied:"........
  18. >     Any idea what has happened?
  19.  
  20.     Probably something is trying to do something it hasn't got
  21. permission to do. ;)
  22.  
  23.     Seriously, though, it's impossible for us to tell from
  24. here. It could a file permission is not right, it could be a
  25. directory, it could be something in your script is trying to 
  26. kill a process, it could be a bunch of things.
  27.  
  28.     The way to debug your shell scripts is to run them with
  29. "set -x" in them (if bourne shell) or "set verbose" (if you are
  30. so unlucky as to be programming in csh) and then see what's
  31. causing the error, as each command is executed.
  32.  
  33. mjr.
  34.