Re: F10: Error piping to "mail"

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

 



On 01/11/2009 05:34 PM, Ray Curtis wrote:
> Ray Curtis wrote:
>> Steven Stern wrote:
>>> In the following line of a script, I get an error when attempting to
>>> pipe content into mail:
>>>
>>> cat index.html | mail root -s "Daily Woot"[sdstern@sds-desk tmp]$
>>>
>>> WARNING: RunAsUser for MSP ignored, check group ids (egid=500, want=51)
>>> can not chdir(/var/spool/clientmqueue/): Permission denied
>>> Program mode requires special privileges, e.g., root or TrustedUser.
>>>
>>> How should I I set permissions to do this without going overboard?
>> How about:
>>
>>  mail root -s "Daily Woot" < index.html
>>
> Sorry fingers got ahead of brain:
> 
> should be:
> mail -s "Daily Woot" root < index.html
> 
> 
> 
No luck.

  mail root -s "Daily Woot" < index.html
[sdstern@sds-desk tmp]$ WARNING: RunAsUser for MSP ignored, check group
ids (egid=500, want=51)
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.


-- 

  Steve

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux