in reply to Permissions denied

First obvious step might be to run ls -hl yourScript.pl.

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Replies are listed 'Best First'.
Re^2: Permissions denied
by Anonymous Monk on Jun 29, 2017 at 16:45 UTC
    Last login: Thu Jun 29 12:08:14 on ttys000 Rachels-iMac:~ Eric$ ls -hl total 184 drwxr-xr-x 11 Eric staff 374B Jun 14 13:19 AndroidStudioProjects drwx------@ 3 Eric staff 102B Jun 7 19:44 Applications drwxrwxr-x@ 3 Eric staff 102B Jun 29 12:08 Creative Cloud Files drwx------+ 35 Eric staff 1.2K Jun 29 12:13 Desktop drwx------+ 8 Eric staff 272B Jun 28 09:55 Documents drwx------+ 152 Eric staff 5.0K Jun 29 10:48 Downloads drwx------@ 68 Eric staff 2.3K Jun 29 12:14 Library -rw-r--r--@ 1 Eric staff 89K Jun 19 02:23 License.pdf drwx------+ 3 Eric staff 102B May 21 15:26 Movies drwx------+ 4 Eric staff 136B May 21 15:36 Music drwxr-xr-x 6 Eric staff 204B Jun 24 09:22 NetBeansProjects drwx------+ 5 Eric staff 170B May 31 17:49 Pictures drwxr-xr-x+ 5 Eric staff 170B May 21 15:26 Public drwxrwxrwx 7 Eric staff 238B Jun 29 11:18 perl5- Rachels-iMac:~ Eric$

      So, where is the script you're trying to run and where did you try to run it?

      Are you logged in as Eric?

      Last login: Thu Jun 29 12:08:14 on ttys000 Rachels-iMac:~ Eric$ ls -hl total 184 drwxr-xr-x 11 Eric staff 374B Jun 14 13:19 AndroidStudioProjects drwx------@ 3 Eric staff 102B Jun 7 19:44 Applications drwxrwxr-x@ 3 Eric staff 102B Jun 29 12:08 Creative Cloud Files drwx------+ 35 Eric staff 1.2K Jun 29 12:13 Desktop drwx------+ 8 Eric staff 272B Jun 28 09:55 Documents drwx------+ 152 Eric staff 5.0K Jun 29 10:48 Downloads drwx------@ 68 Eric staff 2.3K Jun 29 12:14 Library -rw-r--r--@ 1 Eric staff 89K Jun 19 02:23 License.pdf drwx------+ 3 Eric staff 102B May 21 15:26 Movies drwx------+ 4 Eric staff 136B May 21 15:36 Music drwxr-xr-x 6 Eric staff 204B Jun 24 09:22 NetBeansProjects drwx------+ 5 Eric staff 170B May 31 17:49 Pictures drwxr-xr-x+ 5 Eric staff 170B May 21 15:26 Public drwxrwxrwx 7 Eric staff 238B Jun 29 11:18 perl5- Rachels-iMac:~ Eric$

        Can you add code tags please?

        «The Crux of the Biscuit is the Apostrophe»

        perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help