[NTLUG:Discuss] why is cron user different from user

Vaidya, Harshal (Cognizant) HarshalV at pun.COGNIZANT.COM
Thu Mar 6 11:30:56 CST 2003


Tell me what permissions do the files have?

-----Original Message-----
From: Fred James [mailto:fredjame at concentric.net]
Sent: Thursday, March 06, 2003 5:52 PM
To: NTLUG Discussion List
Subject: Re: [NTLUG:Discuss] why is cron user different from user


Vaidya, Harshal (Cognizant) wrote:

>Check the file ownership. I'm sure that when the cron job created the files it set the owner of the file to someone other than the user ABC. That's why you are getting the permission error.
>
>Hope this helped.
>
>Harshal.
>
>-----Original Message-----
>From: Fred James [mailto:fredjame at concentric.net]
>Sent: Tuesday, March 04, 2003 11:36 PM
>To: Discuss North Texas Linux Users Group
>Subject: [NTLUG:Discuss] why is cron user different from user
>
>
>RH 7.3 - if that makes a difference.
>I have run into this on different systems, so I don't think the distro 
>makes a difference but I could be wrong.
>User ABC set her/his crontab to start a script, and the script creates 
>some files.
>User ABC runs a script from the command line to "mv" those files, and 
>gets a "Permission denied" message.
>What's up with that?
>
>  
>
>------------------------------------------------------------------------
>
>This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. 
>If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
>Visit us at http://www.cognizant.com
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>  
>
File ownership is correct.  Still no go.

-- 
"It's not nice to fool Mother OS." --anonymous



_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
Url: http://ntlug.org/pipermail/discuss/attachments/20030306/481a0934/InterScan_Disclaimer.txt


More information about the Discuss mailing list