Guidance Needed for Shared Folder Setup on TrueNAS Core

Hello!

I’m hoping someone might be able to help out with this issue I’m having with regard to setting up a couple of shared folders.

I currently have a Samba share called ‘public’. This share is allowing guest access and its permissions allow anyone to read or write to this directory. The intent
of this share is to have a place where network users can quickly share files. It is not intended to be for user’s long term storage of important files. It also only
accessible on our private LAN.

We have a Canon MF642Cdw printer that also has a document scanner. The printer can send scanned documents to a Samba share and also needs to allow any user
(i.e. other) to read\write and want to call this folder PSCAN. I also want this folder accessible by anyone to be able to grab their scanned documents.

Ultimately what I would like to do is have the PSCAN folder accessed from within the public folder. However, since the public share is open to any network user and they can
read\write to it, that would include the PSCAN folder as well. The problem that I’m having is:

  1. Any user who accesses the public folder would be able to rename the PSCAN folder.
  2. Any user who accesses the public folder would be able to delete the PSCAN folder.

These shares would be hosted on a TrueNAS Core server. The PSCAN folder would need to be shared using Samba only because the printer requires it. The public share
could be served using another protocol such as NFS. My network is a small private network that does not have a domain controller and it’s users operate in a mixed
client environment (Linux, macOS, Windows). The TrueNAS server currently serves several other NFS shares.

My reason for wanting to consolidate the public and PSCAN shared folders it that I don’t really want to have separate mounts for public and PSCAN on my hosts. It would be
simpler from an end user perspective to have a single public share that contains the PSCAN share, or at least a way to access the PSCAN folder from the public share.

Is it possible to have an open share with the exception of 1 folder, which is also a shared folder?
Has anyone encountered a scenario like this and how did you solve for it?

Thank you for your assistance!

I am pretty syre that If you make the PSCAN folder a dataset nested under the share the users would not be able to change it.

Thank you! Yes, that did the trick. I was over-thinking this one. :slight_smile: :grinning:

1 Like