Hiding folders and files with Samba
In this recipe we will learn how to hide files and folders with Samba.
Managing a network often implies the need to hide files and folders from users for a wide variety of reasons. It is the purpose of this recipe to show you how easily this can be achieved.
Getting ready
To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges. It is assumed that Samba is already installed and it is configured to run as a standalone server.
How to do it...
The typical method of hiding files is to use a dot (.) as the first character in the filename. However, in circumstances where a user has specified the option to see such files, then our intentions can be circumvented. ...
Get CentOS 6 Linux Server Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.