> If one was to build an application that could be creating directories on > a windows system. Is there any way to set specific permissions on that > newly created directory. I understand that the <cfdirectory...> tag has > the ability to set the UNIX permissions. But, of course, windows is not > so simple.
You're right, Windows is not so simple. But there's no reason that CFDIRECTORY couldn't set permissions if it were simply designed to do that, as in both OSs the creation of a filesystem object is a separate action from setting non-default ACLs on that object. So, you might consider submitting this as a feature request if you care enough to do that. That said, you could do this using CFEXECUTE and the command-line cacls/xcacls/icacls tools. > If this is at all possible, would it matter if the directories being > created where on a file server and not directly on the web server. Not really, but you'd have permissions issues to deal with in order to create the directory in the first place. As you know, CF needs to run as a user with permissions to write to that remote filesystem. Other than that, no, it wouldn't matter. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:331350 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

