Perl script permission question

C

Chad

The question stems from an IRSSI irc client scripting tutorial site
found at the following URL...

http://juerd.nl/site.plp/irssiscripttut

"Because Irssi scripts are embedded in Irssi and not executed from the
console, they do not need to be executable. A permission mode setting
of 600 is enough for scripts in your home directory, 644 is enough for
system wide script installations. The shebang line is not required, as
this is only the case for executable scripts. "

How can a script actually run if it isn't executable?
 
K

Kenny McCormack

The question stems from an IRSSI irc client scripting tutorial site
found at the following URL...

http://juerd.nl/site.plp/irssiscripttut

"Because Irssi scripts are embedded in Irssi and not executed from the
console, they do not need to be executable. A permission mode setting
of 600 is enough for scripts in your home directory, 644 is enough for
system wide script installations. The shebang line is not required, as
this is only the case for executable scripts. "

How can a script actually run if it isn't executable?

Many possibilities. The most straightforward is if it is executed as:

perl yourscript.pl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,214
Messages
2,571,112
Members
47,706
Latest member
HFWTina07

Latest Threads

Top