Technical article 104839

The "cu" command returns "dir permission denied" for non-root users

OpenServer 5.0.0

Written · Last revised

Problem

Non-root users establishing a direct connection to a modem using the "cu" command with the "dir" option receive the error message "dir permission denied". The syntax of the "cu" command used is similar to this example:

cu -l /dev/tty1a dir

Solution

Only users with write permissions to the /usr/lib/uucp/Devices file can use the "cu -l" command with the "dir" option. Change the permissions on the Devices file to allow write access for the user. This is documented in the man(C) cu man page.

From the Xinuos technical article database, record 104839. Reproduced with permission. The original is at www.sco.com/ta/104839, 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.