At 7:53 pm +0200 24/4/05, Marc Manthey wrote:

when i type:

marxg4:~ marxg4$ chown -R marxg4 /Users/marxg4/Desktop/dbeacon
chown: /Users/marxg4/Desktop/dbeacon: Operation not permitted

"Operation not permitted"  ....what can i do ?

The programm needs no administrator rights.

Here are two ways to run temp.pl after creating it:


Eremita:~ jd$ cd Eremita:~ jd$ echo '#!/usr/bin/perl print qq~hello\n~;' > temp.pl

Eremita:~ jd$ perl temp.pl
hello
Eremita:~ jd$ ./temp.pl
hello
Eremita:~ jd$

The file does not need permissions changed in this case.

If you omit the shebang the first method will work but not the second:

Eremita:~ jd$ echo "print qq~hello\n~" > temp.pl
Eremita:~ jd$ perl temp.pl
hello
Eremita:~ jd$ ./temp.pl
./temp.pl: line 1: print: command not found
Eremita:~ jd$

If you need to change the permissions on temp.pl to make it executable, then

chmod +x temp.pl


JD





Reply via email to