> I have a web interface that allows users to create 
> directories/files on a mounted project space. Problem is 
> that the web server user creates these directories, so 
> the directories are owned by the webserver user. I need 
> it to be owned by the user that is logged in creating the
> directories/files. Does anyone know how I can have this 
> done? Chown is no longer part of the vocabulary so that 
> is NOT an option. Obviously UNIX is the environment

Can you use su to switch to that user's security context? You wouldn't be
able to use CFFILE or CFDIRECTORY for this, but you could write a shell
script and call that using CFEXECUTE.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137770
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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

Reply via email to