HylaFAX The world's most advanced open source fax server

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

[hylafax-users] permissions and timestamps ||



(HylaFAX (tm) Version 4.1) ready.

I'm trying to allow access to received faxes by gid.  
My default installation has /var/spool/hylafax/recvq with the
following perms:
drwxr-xr-x  2 uucp  dialer   512 Jul 27 01:13 recvq
and the default permissions for the contents of
/var/spool/hylafax/recvq/ is:
-rw-------  1 uucp  dialer

I have the following in both of my modems config files:
grep -i RecvFileMode /var/spool/hylafax/etc/*.cuaa?
/var/spool/hylafax/etc/config.cuaa1:RecvFileMode:               0640
/var/spool/hylafax/etc/config.cuaa2:RecvFileMode:               0640

The above two (2) lines should set the permissions of incoming faxes;
TO: -rw-r-----  1 uucp  dialer.  | <chmod 640> <--In addition to this line,
I add whom-ever I want to view these received faxes to the file /etc/group
in the *dialer* group ... dialer:*:68:imani

When I make this change, i.e. "RecvFileMode: 0640" and add whatever
users to the *dialer* group; my windows2k-client= 'Cypheus' and its
user= 'imani' is not able to view/retrieve these files within
/var/spool/hylafax/recvq. (user on the w2k-box has a valid account on
the Hylafax-box.)  However, if I change the permissions;
TO: -rw----r-- | <chmod 604> <--(of course this allows access)

I'm not sure if hfaxd -or- Cypheus is creating the issue here.
Where else should i look to correct this?
#
#
Second issue:

Why does 'faxstat -r' not show the normal *nix group/gid permissions?
faxstat -r is only showing permissions for the 'owner' and permissions
for 'others' (unix terminology)

<shell_prompt># faxstat -r
HylaFAX scheduler on imani.integrity.net: Running
Modem cuaa1 (000.0000): Running and idle
Modem cuaa2 (000.0000): Running and idle

Protect Page  Owner        Sender/TSI  Recvd@ Filename
-rw----    1  imani               not Fri07AM fax00028.tif
-rw----    1  imani               not   03:38 fax00030.tif

<shell_prompt># ll /var/spool/hylafax/recvq
total 28
-rw-r-----  1 uucp  dialer  12636 Jul 26 03:51 fax00028.tif
-rw-r-----  1 uucp  dialer  11584 Jul 26 23:38 fax00030.tif
-rw-------  1 uucp  dialer      2 Jul 26 23:37 seqf
#
#
Third and last issue.. :~)

<shell_prompt># ll /var/spool/hylafax/recvq
-rw----r--  1 uucp  dialer  12636 Jul 26 03:51 fax00028.tif

Now we try faxinfo ...
...
<shell_prompt># faxinfo /var/spool/hylafax/recvq/fax00028.tif
/var/spool/hylafax/recvq/fax00028.tif:
    Sender: not
     Pages: 1
   Quality: Normal
      Page: 1728 by 76
  Received: 2002:07:26 03:51:37
TimeToRecv: 0:08
SignalRate: 14400 bit/s
DataFormat: 1-D MR
...
Now match the timestamps from the above two (2) outputs, with
timestamp output below (Recvd@)...

<shell_prompt># faxstat -r
HylaFAX scheduler on imani.integrity.net: Running
Modem cuaa1 (000.0000): Running and idle
Modem cuaa2 (000.0000): Running and idle

Protect Page  Owner        Sender/TSI  Recvd@ Filename
-rw-r--    1  68                  not Fri07AM fax00028.tif

I guess I'm asking where is 'faxstat' getting this "Fri07AM" from?  In
this instance, 'faxstat' is the only processes that's reporting this
erroneous timestamp.


____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions