HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] faxrcvd customization.



"Darrick Hartman" <dhartman@xxxxxxxxxxxxxxxx> wrote:

This will not work because your MYPATH is outside of the hylafax directory structure. Hylafax can only write to directories inside /var/spool/hylafax (or where ever your distro uses). If you want to move files outside of that area, you could do so with a cron script. Hylafax cannot do this directly for for security reasons.

Actually, HylaFAX doesn't have any problem writing to directories outside of its spool directory. It's not actually in a chrooted jail, it's just that the paths are all relative to the chroot.


Understand though, that HylaFAX usually executes with UID = uucp, which means that if you _do_ copy files into (for instance) /usr/local/myfaxfiles using some custom code in FaxDispatch, then the uucp user needs the correct UNIX filesystem permissions to be able to write into that directory.

-Darren


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions