Hi,

I've run into a problem. Under W2K I have created some users and groups. I have 
assigned certain groups to specfic users which limits them to file access. Some users 
have only "read" access to directories while others have "Full" access.

My web-interface on the test machine worked without a flaw. I was created a batch 
file. Writing that to the server and then executing it because certain arguments in 
the 
batch file gets passed to the .exe.

The problem is if a user with only "read" access to that directory wants to execute 
the file I get a <CFFILE write error because of the permissions set on the server.

Below is just a snippet of what I'm doing.

        <cffile action="WRITE" 
file="#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.bat" output="#CreateBatch#" 
addnewline="Yes"> 

<cfexecute name="#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.bat"
           outputfile="#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog"
           timeOut="1000">
</cfexecute>


ARGH!!!!

How can I get around this? Can I write the file as an "Administrator". I don't see a 
username/password on the <CFFILE function.

Any ideas? I've messed with the permissions but can't get it to work. By adding the 
"Write" permission allows users to modify files in that directory.

Help...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to