PDA

View Full Version : hiding a directory from directory listing


Rodney
11-17-2005, 06:58 PM
i know how to hide activity from a single directory but lets say i have the following vfs file

"f:\data\" /

and within the directory data there is one directory i dont want to even appear in the directory listing, is it possible to hide it? i have it chmodded to be nonaccessible by permissions also but id just rather it not appear. any script or setting that will do this? there are several directories in the data folder i do want to appear as directories or id just set an individual line for each.

EwarWoo
11-17-2005, 09:38 PM
site chattr +h dirname "=group -user" where group and / or user are the people you want to see the dir.
Not sure if I have the syntax exactly right, check the documentation its in there.

Rodney
11-17-2005, 11:44 PM
site chattr +h dirname "=group -user" where group and / or user are the people you want to see the dir.
Not sure if I have the syntax exactly right, check the documentation its in there.
thanks