From: " Håkan Wessberg" <hakan.wessberg@it.gu.se>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <laughing@shared-source.org>
Subject: Re: Linux 2.4.8-ac2
Date: Mon, 13 Aug 2001 14:19:36 +0200 [thread overview]
Message-ID: <20010813141936.A993@it.gu.se> (raw)
In-Reply-To: <20010813002110.A24677@lightning.swansea.linux.org.uk>
In-Reply-To: <20010813002110.A24677@lightning.swansea.linux.org.uk>
[2.4.8-ac2]
This is the situation:
I have a script owned by a non-root user, it's chmod is 700.
as root I can read the content of the file, but I'm not able to execute
the script...
# ls -l touch.sh
-rwx------ 1 netsaint root 34 Aug 13 13:37 touch.sh
# ./touch.sh
bash: ./touch.sh: Permission denied
# sh touch.sh
this one works.
To me it looks like as root I have read/write permissions, but not
execute permission.
If I change the permissions from 700 to 755 I can execute the
script with ./touch.sh.
Maybe I'm doing something _really_ wrong here.
Cheers Nacka
next prev parent reply other threads:[~2001-08-13 12:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-12 23:21 Linux 2.4.8-ac2 Alan Cox
2001-08-12 23:30 ` Sven Goethel
2001-08-13 12:19 ` Håkan Wessberg [this message]
2001-08-13 12:36 ` Alan Cox
[not found] <no.id>
2001-08-12 23:37 ` Alan Cox
2001-08-13 3:23 ` Sven Goethel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010813141936.A993@it.gu.se \
--to=hakan.wessberg@it.gu.se \
--cc=laughing@shared-source.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).