Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hi,
one way of doing that is to rename them by just prefixing a '.' (dot) with original name
like mozilla.........rename it to .mozilla ( notice the dot there )
Originally posted by joshknape I want some ffiles and directories in my home/[me] directory to be hidden, but I don't see an option to hide them.
It would be easiest not to give anyone access to
your home in the first place. If you have special
files you want others to be able to see a scenario
like this should work.
chmod go-rw /home/user
Thus they won't be able to see which files you have
in general. Now it's easy enough to apply the same
permissions to files you don't want anyone to read.
Files you explicitly want the to see you make
chmod o+r file and give the person you want to be
able to use it the complete path to the file.
Maybe it can be achieved through permissions? I'm using KDE right now, and when I right-click on a file, there are three types of permissions: forbidden, can view content, and can view or modify content. Maybe if you mark it as "forbidden" from the group (i.e., not owner), it'll be hidden? I'm sure there's something similar for Gnome, too.
Originally posted by detpenguin not to hijack this thread...but...can i password protect files? i've been searching for awhile and i can't seem to find a way to do this in linux...
gpg will do that quite well. If a lesser level of protection
will do there's crypt, too.
Many times the simplest way to hide things is to create one hidden directory, named (say...) .hidden. Then just put the files in there: once you enter that directory, its contents do not need to have hidden-names. Kinda easier to keep them straight that way.
Linux does provide ACLs (Access Control Lists) and other fairly smart controls for controlling file access, and you can do many other wonderful things with PAM (Pluggable Authentication Modules), but those can get tricky in a hurry.
When I have particular things that I want to keep well out of the way, I simply create a separate user-id for myself and do the work there. It works very well.
When I have particular things that I want to keep well out of the way, I simply create a separate user-id for myself and do the work there. It works very well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.