This worked great, thank you!!!

-----Original Message-----
From: Dave Watts [mailto:[email protected]] 
Sent: September-10-09 1:06 PM
To: cf-talk
Subject: Re: Setting Directory Permissions with CF


> Is it possible to set directory permissions with cold fusion on Windows
> Server? I want to programmatically add/remove permissions on a directory

If CF is running as a user that has permission to manage the
directory, you can use CFEXECUTE to run tools like
cacls/xcacls/icacls. CF runs as SYSTEM by default, so you could do
this. That said, you shouldn't run CF as SYSTEM; if you've configured
CF properly, you'll have to grant it permission to manage the
directory in question.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326207
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to