Foolproof hiding of folders?
I use a seperate partition (hda2) to store all my files, because I'm dubious about this /home thing. Anyway, I've got four regular folders, and a "private" folder.
Is there some way I can use bash to hide the private folder-- hide it from bash, konqueror, everything-- until I enter a specific command? I know putting a . before the name makes it hidden, but ls -a or View Hidden easily shows it. I want something like a password-protected file-hider-- like "display private joeyjoejoe". Is this possible? Is this insane? Is this already built in and so basic I'm embarassing myself? Thanks for your help. |
AFAIK, there's no way of hiding anything from the root user. If you just need to make it inaccessible by non-root users, then you'd do something like `chmod -R 0600 /path/to/directory`.
You could store these fileson a CD-RW or you could encrypt the entire partition. That's beyond me though. |
Your home directory should not be navigable by other users except root. That is to say they cant see beyond the existance of /home/your username and you can't see into /home/their username.
You could change the permissions of a file/folder you own to be non-readable and non-executable to even the owner (you), but then you still have permission to change the permissions back. This may be what you want to stop programs diving into the folder. |
All times are GMT -5. The time now is 12:41 PM. |