Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok from what I have learned, a . at the beginning of a file/directory makes it hidden. So if I make my 'downloads' directory into a '.downloads' directory, how can I still access it while in X? And a bit further, if I have a program that stores downloads in that directory (example gtk-gnutella default directory) can it still put stuff in there as long as I change the path in the program to show '.downloads' instead of 'downloads'?
Prefixing a directory with a dot does not in any way effect what can access it (unless the application is badly coded and can't cope with the dot).
You might have trouble accessing it through a GUI unless the GUI allows you to type file names manually or show hidden files.
Security through obscurity isn't security at all (<cough>Internet Information Server<cough>), if you want to prevent people browsing a directory chmod mode it to 700, that way only the owner (and root) can look inside it (unless the viewer has physical access to the disk, in which case they could bypass all the software security by running copy of Linux from a floppy disk with root acceess for themselves.).
Cool, thanks. No actually not real security, but rather obstructing certain 'files' from certain viewers eyes rather. I just don't want some things to be found through GUI very easily.
Most GUI file viewers have the ability, or least the option, to view "dot" files. If you really want to keep certain files away from prying eyes or accidental eyes, use real security policies.
Cool, thanks. The inlaws are coming in town and my father in law likes to look for certain "mpeg" files. Figure I can hide them from him by putting them in Linux for one, but to take an extra step I will make a . directory. Although I may set a new pass for root too and make the chmod to 700 too. Just don't want to take chances, but also don't want to delete said files.
Thanks for all the info
And (unrelated), where do you become a registered Linux user?
Originally posted by MasterC Cool, thanks. No actually not real security, but rather obstructing certain 'files' from certain viewers eyes rather. I just don't want some things to be found through GUI very easily.
Thanks again.
Well, if you wanna be really hardcore about this, you could set the permissions of the diretory in question (and the files/directories within it) to 000 when you're done downloading, and then restore the permissions (600 or 700) when you are in the process of downloading/uploading stuff from it.
P.S. How is the Gnutella network doing nowadays? I heard it's pretty bad...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.