Technical article 100862

Compiling Java code gives the error "devzero: Permission denied".

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

Trying to compile Java source gives the error message:

devzero: Permission denied
The JDK installed without incident.

Cause

The permissions on /dev/zero have changed. This can be due to a manual change of the permissions or another software product that might make the change without knowledge of the user.

Solution

Use chmod(C) to change the permissions on the file /dev/zero to 666. A listing (ls -l) of the file will then look like this:

crw-rw-rw-   1 root     root      23,  0 (Some Date) 11:32 /dev/zero

See also

TA105027, "dynamic linker: /etc/devnm:  Cannot open /dev/zero
for file /lib/libprot.so.1"

From the Xinuos technical article database, record 100862. Reproduced with permission. The original is at www.sco.com/ta/100862, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.