CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Permission denied; Access is denied

 



tharpa
Novice

Apr 13, 2018, 9:49 AM

Post #1 of 3 (4872 views)
Permission denied; Access is denied Can't Post

I executed the following command:

Code
module-starter --module=Convert::Distance::Imperial --author="Curtis 'Ovid' Poe" --email=ovid@cpan.org

and I received the following error:

Code
mkdir Convert-Distance-Imperial: Permission denied; Access is denied at D:/Dwimp 
erl/perl/lib/ExtUtils/Command.pm line 289

How do I figure out the full path of where it's trying to make a directory and failing?


FishMonger
Veteran / Moderator

Apr 14, 2018, 7:35 AM

Post #2 of 3 (4862 views)
Re: [tharpa] Permission denied; Access is denied [In reply to] Can't Post

It should be creating the module directories within the directory where the command was executed.


Quote
c:\test>module-starter --module=Convert::Distance::Imperial --author="Curtis 'Ovid' Poe" --email=ovid@cpan.org
Added to MANIFEST: Changes
Added to MANIFEST: ignore.txt
Added to MANIFEST: lib/Convert/Distance/Imperial.pm
Added to MANIFEST: Makefile.PL
Added to MANIFEST: MANIFEST
Added to MANIFEST: README
Added to MANIFEST: t/00-load.t
Added to MANIFEST: t/manifest.t
Added to MANIFEST: t/pod-coverage.t
Added to MANIFEST: t/pod.t
Added to MANIFEST: xt/boilerplate.t
Created starter directories and files



Quote
c:\test>dir Convert-Distance-Imperial
Volume in drive C has no label.
Volume Serial Number is 4CD3-F30A

Directory of c:\test\Convert-Distance-Imperial

04/14/2018 07:27 AM <DIR> .
04/14/2018 07:27 AM <DIR> ..
04/14/2018 07:27 AM 130 Changes
04/14/2018 07:27 AM 238 ignore.txt
04/14/2018 07:27 AM <DIR> lib
04/14/2018 07:27 AM 786 Makefile.PL
04/14/2018 07:27 AM 149 MANIFEST
04/14/2018 07:27 AM 3,406 README
04/14/2018 07:27 AM <DIR> t
04/14/2018 07:27 AM <DIR> xt
5 File(s) 4,709 bytes
5 Dir(s) 898,993,770,496 bytes free


Are you running the command under an administrator account or a "limited user" account?


tharpa
Novice

Apr 16, 2018, 8:29 AM

Post #3 of 3 (4843 views)
Re: [FishMonger] Permission denied; Access is denied [In reply to] Can't Post

Thanks, Fish. I was executing the command from the wrong place.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives