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