Thursday, November 22, 2012

Pogoplug: Hidden Folders and Files

Being someone who enjoys using Linux, I decided to play around to see if I can hide folders from the Pogoplug web interface and from other users (this works on files too). To say the least, I wasn't surprised that putting a "." (period) before the name of a file or folder will hide it from prying eyes (e.g. .hiddenfolder or .hiddenfile). It is nothing special; however, be aware that a simple ls -a command will show the hidden files. If you are very concerned about some else seeing something you don't want them to see, then you should use chmod 700 -R on the desired hidden directory and it will recursively change your permissions to rwx------ thereby preventing anyone other than the actual user and root from being able to view the files/folders within that directory.

Notes: If you are having issues with Samba or bftpd, then try chmod 750 -R since it will provide read and execute permissions for the group. Assuming that this was on the home directory, it shouldn't be a problem to use either 700 or 750 permissions; however, feel free to experiment if you so desire to see how secure you can make your Pogoplug.

No comments:

Post a Comment