Comment 4 for bug 1016507

Revision history for this message
Johannes Meixner (jsmeix) wrote :

An openSUSE 12.2 user reported that hp-sendfax fails
because of missing /var/log/hp/tmp/ directory, see
https://bugzilla.novell.com/show_bug.cgi?id=800312

I don't have a HP device with fax functionality
so that I cannot reproduce it on my own.

I assume it happens because in openSUSE
/var/log/hp/ is not writable by arbitrary users
(it is "drwxrwxr-x root lp /var/log/hp" see previous comment)
so that /var/log/hp/tmp/ cannot be created therein
when a normal user runs hp-sendfax.

The openSUSE user reported that
  # mkdir /var/log/hp/tmp
  # chown root:lp /var/log/hp/tmp/
  # chmod 775 /var/log/hp/tmp/
makes it work for him but he also had added
his normal user account to the "lp" group.

I assume adding the user to the group "lp" is required
here so that hp-sendfax works for this user because
otherwise the user cannot write in
  drwxrwxr-x root lp /var/log/hp/tmp