Chad Martin wrote: > srikantas5 wrote: >> Is there a way to deny read-permission to root user to a directory? > > Yes. Use chmod to make it only readable by the owner. > > Short answer: > chmod 700 directory
I have to disagree with you on this one. Maybe it works that way in some distros, but on Mandrake 9.3, root cannot be excluded from a directory. I tried your suggested chmod 700 as a user, then su'd into root and not only could I view the contents of the directory, I could also view the contents of a file in that directory. (The file was chmod to 600 and the owner was NOT root.) Isn't the whole principle behind root that as such, they can do anything? Craig. ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/0XFolB/TM --------------------------------------------------------------------~-> To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
