Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Folders that are hidden on an SMB share

Featured Replies

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:

 

  1. Downloader downloads to invisible directory "incomplete" on share X
  2. Downloader is finished
  3. 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 by thany
typos

Solved by Kilrah

  • 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,

 

image.png.663ab9c2581d2ec2fdfdb68ecade8db6.png

  • 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 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.