Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Permission denied in my home directory

by ShermW0829 (Acolyte)
on Feb 16, 2013 at 01:48 UTC ( #1018997=perlquestion: print w/ replies, xml ) Need Help??
ShermW0829 has asked for the wisdom of the Perl Monks concerning the following question:

I am coding on Ubuntu. I am trying to learn perl oop and I have never coded in any object language before. I can build straight line programs that work. I am trying to call "/home/sherman/modules/Sudoku/ExistingNumbers.pm". I have tried setting permissions for /home/sherman/modules to 775 and 777 but nothing seems to work. I am calling the try program from /home/sherman/perl_development/sudoku/try_stubs with %perl try_call_oop.pl. Here is the terminal's error message. One other thing. I know that sudoku modules exist in CPAN but I want to build mine so I can learn oop and how to build modules for my own satisfaction

Can't exec "/home/sherman/modules"; Permission denied at try_call_oop.pl, line 4.

The partial code for the top is shown below

#! /usr/bin/perl -w use "v5.14.2"; Use lib `/home/sherman/modules`;

Comment on Permission denied in my home directory
Select or Download Code
Re: Permission denied in my home directory
by Athanasius (Monsignor) on Feb 16, 2013 at 02:27 UTC
Re: Permission denied in my home directory
by Anonymous Monk on Feb 16, 2013 at 02:33 UTC
Re: Permission denied in my home directory
by tmharish (Friar) on Feb 16, 2013 at 09:44 UTC
Re: Permission denied in my home directory
by pvaldes (Chaplain) on Feb 16, 2013 at 12:37 UTC

    I have tried setting permissions for /home/sherman/modules/Sudoku/ExistingNumbers.pm to 775 and 777 but nothing seems to work.

    Check also that you can execute (see chmod a+x) all the parent directories. It is a common mistake.

    chown sherman:sherman ~/modules/ chown sherman:sherman ~/modules/Sudoku/
      Thank you to everyone. Sherman

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1018997]
Approved by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-07-25 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls