Hello K,

Unfortunately this is one of the problems with CF: There's no
command-line parser for it so you cannot execute it as a different user
easily.

While I probably can't give the best advice without knowing the details
of your situation, you could potentially create a cron job (the Linux
equivalent of a scheduled task) that would periodically delete files in
a directory that are older then a specific time period.

Would a solution like that work for your purposes?

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]


K Fassman wrote:
> I am new to running CF on a Linux box - and I know virtually nothing about 
> Linux.
> 
> I have all of my pages working correctly, but in one instance I am calling on 
> the CFFILE command to move a CSV file from one directory to another.  The 
> file is getting copied to the new location, but not deleted from the current 
> location.  Apparently the page is running as a user "apache" and that user 
> doesn't have delete access in that folder.
> 
> This page is going to be run as a scheduled task.  Is there any way that the 
> user name can be set for the page?  Short of changing the security in Linux 
> (which apparently is problematic in this case) is there anything I can do 
> here?
> 
> Any help is greatly appreciated.
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266771
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to