Hi, I set up a script which basically do the following: #! /bin/bash cp /secret_dir/file_secret /public_dir/file_not_secret # end of the script In this way a user with no privileges can have the file_secret copied in his directory (I know it sound strange but it's exactly what I want). How can I convince bash to have the proper right to access secret_dir and do what I want? I thought that setting suid bit would have worked but bash inherit the rights of the user who execute the program (i.e. the user with no privileges which in my case are not enough). TIA Maurizio --------------------------------- paspartu@uni.net --------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>