Monday, June 24, 2013

Hiding Directories

Is there a way to set permissions on directories so that users who are not permitted access to them can't even see them (via ls or GUI environment)? This would be for both locally logged in users and remote SCP sessions. 
You should do this on the upper directory. If you set mask on upper directory on the way other that owner and group do not have ant rights (XX0 for example) user cant see anything below you can change owner & group of directories. 

then they can not see....


Post a Comment

Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM