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] What user does FaxNotify run under?
Thanks all for putting me on the right track. Both helped but Aidan solved my chown issue. Found some information, on the Hylafax site, about using sudo to solve the problem with changing ownership.
Everything is now working great.
Again, thanks all.
John
Pharmacy Services
John Warren
Network Operations Administrator
100 Corporate Pointe, Suite 395
Culver City, CA 90230
direct: 1.310.237.7721
p: 1.310-642.1700 x7721 | f: 1.310.642.1701 | c: 1.714.504.9101
e: jwarren@xxxxxxx
w: www.hms.com
Aidan Van Dyk ---10/27/2010 11:18:21 AM---On Wed, Oct 27, 2010 at 2:07 PM, <jwarren@xxxxxxx> wrote: >
|
Aidan Van Dyk <aidan@xxxxxxxx> |
|
jwarren@xxxxxxx |
|
hylafax-users@xxxxxxxxxxx |
|
10/27/2010 11:18 AM |
|
Re: [hylafax-users] What user does FaxNotify run under? |
|
hylafax-users-bounce@xxxxxxxxxxx |
On Wed, Oct 27, 2010 at 2:07 PM, <jwarren@xxxxxxx> wrote:
>
> I have a FaxNotify script that is used to process our queue folders that allow faxes to be processed between our Hylafax server and a Windows server. These scripts need to move, delete and change owner on files in these folders. I'm having a problem inside the scripts in that I can't execute any rm, chmod or chown commands without getting a either a "Permission denied or Operation not permitted" error. If I know the user FaxNotify is running under it may explain why I'm having a problem.
$SPOOL/bin/notify (the default one w/ HylaFAX processes FaxNotify) is
run by faxq, as the uucp user that faxq by default normally running
as.
Linux (like many unixes) doesn't allow a user to "give away" file
ownership. If you want a file to be owned by a non-uucp user, you'll
either need to make a special suid program to do that change for you,
or move queue the file somewhere to have a root-running job to change
ownership.
a.
____________________ 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*
----------------------------------------------------------------------------------------
Please note that the information contained in this message is intended only for the use
of the person or office to whom it is addressed, and may contain privileged and
confidential information protected from disclosure under the law, including the
Health Insurance Portability and Accountability Act (HIPAA). All recipients are hereby
notified that any inadvertent or unauthorized receipt does not waive such privilege, and
that unauthorized dissemination, distribution or copying of this communication is
strictly prohibited and may subject you to criminal or civil penalties. If you have
received this communication in error, please notify the sender by replying to the message
and delete the material from any computer. HMS Holdings Corp., together with
its subsidiaries and affiliates hereby claim all applicable privileges related to this
information. Any views expressed in this message are those of the individual sender,
except where the sender specifies, and with authority, states them to be
the views of the company.
----------------------------------------------------------------------------------------