November 7, 20223 yr How can I create a folder on a share that is hidden to any user accessing that share via SMB, but still have that folder be visible, readable, and writable by the OS? Things I've tried so far: Make it a "dotfile". The folder remains visible and navigable. They are not even marked as "hidden" for Windows clients. Set the share to "private" and give no access to the connecting user (chown root & chmod 700). The folder is no longer navigable but still visible. If I understand the documentation well enough, it should be possible to a degree, because I've read that the "x" permission is mapped to the "hidden" attribute - it is not. Maybe this only goes for files or something. Why can't I have two different shares then, you might ask? Because the goal is to have a docker downloader that puts its incomplete downloads in one (invisible) directory and once complete, move it to another directory. When I map these two directories to two shares, when this move happens, unRAID will *physically* move the file from one share to the other, even if both shares are on the same disk, same settings, etc. This feels like a bug to me, but this is why I'm trying to achieve a similar effect through a hidden folder. So this is what I'm trying to achieve: Downloader downloads to invisible directory "incomplete" on share X Downloader is finished Downloader moves said file on share X from invisible "incomplete" to visible "complete" directory (this move should happen instantly!) So, I'm looking for some kind of way to mark a directory hidden from explorer / Windows clients. Whether the folder is still navigable, I don't care, but I do very much like it to be hidden. Not neccesarily "hidden" like the tickmark in Explorer - any method will do as long as it's not visible but still there. Bonuspoints if this possible bug that I mentioned, can be fixed. I'm on unRAID 6.11.1 - I'll update it shortly. Edited November 7, 20223 yr by thany typos
November 7, 20223 yr Community Expert Solution 18 minutes ago, thany said: Make it a "dotfile". The folder remains visible and navigable. They are not even marked as "hidden" for Windows clients. That's a configurable setting,
November 7, 20223 yr Author Did the setting, now all my shares are gone, except for two which have gone "unprotected" and are now empty. What the hecko? Edit: nvm I gave it a good'ol magic reboot, and shares are back again. Phew. Edit 2: anyway the setting worked a charm. I'm now able to set it up the way I wanted to. Thanks! Edited November 7, 20223 yr by thany
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.