mailx command - Temporary mail file: permission denied | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

mailx command - Temporary mail file: permission denied

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-09-2011
deepav1985 deepav1985 is offline
Registered User
 
Join Date: Dec 2011
Last Activity: 9 December 2011, 4:36 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mailx command - Temporary mail file: permission denied

Hi ,

I am facing a problem with respect to mailx command in unix . Earlier it was working fine and I am facing this issue only from last week .
I used mailx command and I am getting a error message as follows :

temporary mail file: Permission denied

If I run mailx command from datastage , it is working fine .
It would be great if somebody can throw some light as to why I am receiving such an error message please .

Thanks
Sponsored Links
    #2  
Old 12-09-2011
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 31 July 2014, 12:14 PM EDT
Location: Switzerland - GE
Posts: 5,609
Thanks: 151
Thanked 387 Times in 364 Posts
Quote:
If I run mailx command from datastage , it is working fine .
What do you mean by that? what is datastage here - The IBM product or a users's environment?

Last edited by vbe; 12-09-2011 at 10:05 AM..
Sponsored Links
    #3  
Old 12-09-2011
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 18 April 2014, 5:13 AM EDT
Posts: 6,396
Thanks: 287
Thanked 672 Times in 642 Posts
Check that you have write permissions to /tmp .

If you have $TMPDIR set, check that it points to a directory where you have write permissions.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix shell command question...permission denied..? okhawaja UNIX for Dummies Questions & Answers 1 05-13-2011 09:35 AM
How to rename a file even when it shows permission Denied in Unix Haimanti Shell Programming and Scripting 2 12-06-2010 04:28 AM
Permission Denied creating file under nfs mount blaine.miller UNIX for Dummies Questions & Answers 0 10-26-2010 01:56 PM
Why ' Permission denied' when executing a command? david_wang UNIX for Dummies Questions & Answers 2 05-15-2005 12:26 AM
bellmail: lockf(/usr/spool/mail/uucp): permission denied Docboyeee UNIX for Advanced & Expert Users 1 03-17-2003 01:15 PM



All times are GMT -4. The time now is 11:43 PM.