[Israel.pm] invisible differences...

Shlomi Fish shlomif at iglu.org.il
Sun Dec 26 05:55:15 PST 2004


On Sunday 26 December 2004 15:39, Gabor Szabo wrote:
> This one is driving me crazy.
> As user "root" I have created a file in /home/gabor/a.pl
>
> #!/usr/bin/perl
> print "hello\n";
>
>
> chmod +x a.pl
>
> and then ./a.pl printed "hello"
>
>
> I did the same in /root/a.pl
>
> It also worked.
>
>
> Then I created the same file (still using vi ) in
> /var/www/a.pl
>
> I can still run it as perl a.pl and see the printout but
> if I try to run as ./a.pl it does not print anyting.
>
> All this on a Fedora 3
>

Perhaps this is an SELinux-induced problem?

Regards,

	Shlomi Fish

---------------------------------------------------------------------
Shlomi Fish      shlomif at iglu.org.il
Homepage:        http://www.shlomifish.org/

Knuth is not God! It took him two days to build the Roman Empire.



More information about the Perl mailing list