On Thu, Jun 23, 2011 at 12:12 AM, Shawn Johnson <shcjohn...@gmail.com> wrote:
> If you really need to hide files then you will need to remove the
> following lines from fs/gobohide.c before compiling the kernel:
>
> -   /* We only support symbolic links and directories */
> -   if (hide->inode && !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) {
> -       error = -EINVAL;
> -       goto out;
> -   }
>
> And then you will also have to remove lines 119 and 120 in gobohide.c
> from the user space Gobohide utility:
>
> -                if (!S_ISDIR(stats.st_mode))
> -                        err_quit (1, dir);
>
>
> How to enable hide mount points?
> GoboHide is designed to deliberately not hide directories which are mount
> point

I don't remember having had that problem before, although I must admit
that I've never used it to hide anything which wasn't in the root
directory (which were either normal directories or symlinks to
directories that were mount points).

I already have some other Gobohide stuff queued, so I'll take a look
at what you've reported when updating the patch.

Thanks,

-- 
Lucas
"If you're looking for a reason I've a reason to give: pleasure,
little treasure"
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to