How to fix 550 recvq/fax000000005.tif: Operation not permitted

So you setup your elastix or HylaFAX Server and you can’t save or download any of the faxes in your client. Most likely its an issue where your permissions are not set on the downloaded files.

To check, go to the received fax directory on the server and check the permissions on your .tif files.

[root@pbx recvq]# ls -la /var/spool/hylafax/recvq/
total 64
drwxrwxrwx 2 uucp uucp 4096 Oct 14 12:22 .
drwxr-xr-x 17 uucp uucp 4096 May 3 14:53 ..
-rw------- 1 uucp uucp 12962 Oct 14 11:20 fax000000005.tif
-rw------- 1 uucp uucp 14832 Oct 14 11:31 fax000000007.tif
-rw------- 1 uucp uucp 1 Oct 14 11:30 seqf

As you can see in my case the files are only readable by uucp. so lets

chmod 666 fax*.tif

Now open your Halyfax client (I use YajHFC), refresh and ensure you can now view your faxes. Most likely now you can, so lets tweak our modem config and make sure future files save properly.

In your modem config file (located in /var/spool/hylafax/etc/config.YourModem [In my case it was config.ttyIAX1]) we want to change the following

RecvFileMode:           0666

Save and you’re done!

 

Other Notes:

If chmod 666 didn’t work try chmod 777
On your client ensure passive mode is disabled.