On Sun, Oct 29, 2000 at 05:51:39PM -0800, Shandar Ahmad wrote: > changing permissions to "000" effetively protects a > directory.
Nifty ! 'chmod 000' ... this does ring bells ! AFAIK chmod 000 effectively removes all r, w and x permissions for that directory. The ls command and programs like mc would still show the dir, but will not permit a cd or access to that directory even by the user who created it in the first place, and resetting of permissions to the original would be necessary for access. Yes, normal users will get a message "Permission denied" even on the ls command but access by root or su would be still possible. A bit inconvenient, (this setting and restoring of directory permissions), but as a quick hack would at least protect data from non-root users. On second thought, I suppose, even 600 would do in place of 000. Need to give this a try though. > You might even want to do a "chown" to a > dummy user for this purpose. > > Shandar > You need root privileges for this (I suppose). USM Bish