Section 4 : Troubleshooting

Q433: chown(2) problems in HylaFAX on SCO, HP-UX, ...


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
chown(2) problems in HylaFAX on SCO, HP-UX, ...

A.
Date: Tue, 17 Sep 1996 09:04:35 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
Subject: Re: Hylfax/SCO UNIX problems

On Mon, 16 Sep 1996, Dan Rosenblatt wrote:

[snip]
> The problem shows up when trying to send a fax (full server trace).
> There are various 'chown' errors and then 'Operation not supported'.
> Anyone have suggestions as to what might be going on.
> The servers are started from root, and a ps shows that their uid
> (effective?, real?) is uucp (aka fax).  Could there be a problem
> with switching uids back and forth between root to uucp/fax?
> Could there be a problem with doing 'chown' to give away ownership?
>
[snip]
> Sep 14 17:21:34 argon HylaFAX[29751]: /tmp/doc48.ps: chown: Invalid argument
> Sep 14 17:21:34 argon HylaFAX[29751]: /tmp/doc48.ps: chown: Invalid argument
> Sep 14 17:21:34 argon HylaFAX[29751]: <--- 150 FILE: /tmp/doc48.ps (Opening new data connection).
> Sep 14 17:21:34 argon HylaFAX[29751]: <--- 226 Transfer complete (FILE: /tmp/doc48.ps).

The problem is due to the HylaFAX using the default owner id (actually the
gid) of [some-big-number]. SCO's chown actually seems to check this against
something, and that's why it's complaining. The fix is to change the
etc/hosts to have the default fax-user-id to some lower gid number. eg:

    127.0.0.1:5::                      # local access

--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz

This problem was fixed in v4.0pl1. HylaFAX now detects the maximum value for the GID during configuration.


 Back to FAQ Index FAQ Index  Next question in List Q434: I got code50 during send operation?
faq@hylafax.org. Last updated $Date: 2000/01/12 01:26:41 $.