Technical article 126977

setacl(1)/getacl(1) for UW7 and setacl(C)/getacl(C) for OSR6 are not NIS-aware

OpenServer 6.0.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3UnixWare 7.1.4

Written · Last revised

Problem

If I try to run setacl to create an access control list for a specific file and user ID, for example,

setacl -m user:joe:rw- /foo
where joe is an NIS user (with no local passwd entry), it
fails with "unknown user-id".  I can add an ACL entry by
numerical UID--but no checks are made to see if this is a
real user or not.  getacl works but is unable to convert
UIDs into user names, if the user is an NIS user.

Solution

This has been reported to SCO Engineering. For UnixWare 7, this will be fixed in the next maintenance pack, MP4. At the time of this writing, the currently available maintenance pack for UW 7.1.4 is MP3. For OpenServer 6, this has been fixed in OpenServer 6 Maintenance Pack 3. As a workaround for setacl, you can specify the user ID by numerical ID rather than by user account name.

From the Xinuos technical article database, record 126977. Reproduced with permission. The original is at www.sco.com/ta/126977, which is reachable but blocked from search engines.

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.