Hi Ritesh * Ritesh Raj Sarraf <[EMAIL PROTECTED]> [2003-09-22 00:29 PST]: > in regard to the problem who so ever mentioned, i think a better option(but > non-practical, never think such ) would be to put such binaries(rm,cp)etc to > different directories and as per the requirement add them to specific user > $PATH variables. > > rrs
I think the original problem was to prevent rm to a file with ugo+rwx permissions(OP can correct me if that is not wrong). In response to that I'd suggested that the OP think about the problem differently and NOT give 777 permisions to the file but give only selected users rm permissions to the file via sudo. Having differnt paths and binaries is not foolproof method to prevent delete from all users for 777 files. Most users can find out /bin/rm Of course the obvious question that one has to ask is why does the file permissions need to be 777? Does something like ACLs not solve the problem of sharing? Regards Aseem. -- "Where the clear stream of reason has not lost its way into the dreary desert sand of dead habit" -- Geetanjali ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
