Permission denied under Ubuntu.

Andrew Wiley wiley.andrew.j at gmail.com
Mon Aug 8 19:54:19 PDT 2011


On Mon, Aug 8, 2011 at 4:30 PM, Charles McAnany <mcanance at rose-hulman.edu>wrote:

> Hi, all.
> I installed  dmd_2.054-0_amd64.deb on Ubuntu 11.04, and the compiler
> seems to work fine, but I can't execute its output. Here's what I'm
> doing: (ls to show directory contents)
>
> $ dmd testFile.d
> $ ./testFile
>   bash: ./testFile: Permission denied
>
> testFile.d is the Hello world program exactly as it appears on page 1
> of TDPL.
>
> Has anyone else had this issue? If it helps, I let the software center
> thing do the installing, so if I need to manually change the
> permission of something, I probably haven't done that.
>

Try `chmod +x dmd` (when in the same directory as the dmd executable).
That should get fixed in the package though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110808/fe37f3c2/attachment-0001.html>


More information about the Digitalmars-d-learn mailing list