how to change the ownership of a file from tomcat to abc using shell script.
( we usually change the ownership of a file using sudo chown abc:abc file.txt and in doing this we have to give the password of root , now i want to perform this task using shell script one way of doing so i think is using cron where i can run my script through cron like root * * * * * xyz.sh where my xyz.sh would be changing my ownership of the file , but i don't want to schedule this task i just want perform it once ,how to do so please guide me ) -- LUG@IITD - http://lug-iitd.org/Footer
