Asking around on #debian solved this:
a shell script can't run as another user because the
actual executable that get's loaded is the shell and not the script.
It seems that perl does honour the s-bit on a perl-script.
Sincerely,
Jan.
--
To UNSUBSCRIBE, email to [EMAIL
Hi All,
I am trying to get the s-bit to work on a shell script, but can't get
it going:
[EMAIL PROTECTED]:/home/user/tmp >ls -al j.sh
-rwsr-xr-x 1 root root 16 2006-04-27 22:13 j.sh
[EMAIL PROTECTED]:/home/user/tmp >./j.sh
522
[EMAIL PROTECTED]:/home/user/tmp >cat j.sh
#
On Thu, Feb 07, 2002 at 02:15:55PM -0800, [EMAIL PROTECTED] wrote:
> Hi,
> I'm a little confused on the what
> the s bit does for the owner of a directory.
> For example
>
> drwsr-sr--joe staff /var/www
>
> I understand that the s bit on the group pe
Hi,
I'm a little confused on the what
the s bit does for the owner of a directory.
For example
drwsr-sr--joe staff /var/www
I understand that the s bit on the group permission
would make all new files and directories
under /var/www have equal group ownership to /var/www
but
4 matches
Mail list logo