At 5/22/01 02:28 AM, Steve Lord wrote:
>> Hi,
>
>Try the CVS tree, it appears to work there:
Thanks all guys, I have found whats going on. It's bash
[root@mail /tmp]#
[root@mail /tmp]# uname -a
Linux mail.ima.pl 2.4.2-SGI_XFS_1.0smp #1 SMP Fri Apr 27 19:07:34 CDT 2001 i686
unknown
[root@mail /tmp]# mount | grep tmp
/dev/ida/disc0/part2 on /tmp type xfs (rw,noexec,nodev,noatime,nodiratime)
[root@mail /tmp]# echo "/bin/ls" > ./ls ; chmod +x ./ls
[root@mail /tmp]# ./ls
bash: ./ls: Permission denied
[root@mail /tmp]# . ./ls
auto ls mcextvKCUve procmlog
sess_d200e8cdb441eaa4884a74c5c3527fe9 wypakowane
backup mcextOWz6Ui plik sess_03cd830e3b3d96a20b9bb80d1a43cda9
STARE_STRONY
[root@mail /tmp]# cp /bin/ls .
cp: overwrite `./ls'? y
[root@mail /tmp]# ./ls
bash: ./ls: Permission denied
[root@mail /tmp]# . ./ls
bash: .: ./ls: cannot execute binary file
[root@mail /tmp]#
Cheers,
Blizbor
|