# Transferring files over samba on exFat formatted drive (intentional or oversight)

**URL:** <https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978>\
**Category:** Volumio Community Forums\
**Tags:** question, bug\
**Created:** [July 11, 2026, 7:58pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978 "2026-07-11T19:58:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_art](https://community.volumio.com/user_avatar/community.volumio.com/b_art/32/33481_2.png) [@B\_art](https://community.volumio.com/u/B_art)\
**Post date:** [July 11, 2026, 7:58pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/1 "2026-07-11T19:58:06Z")

</div>

Hi all,

I’m hoping someone can clarify whether this is expected behaviour or whether I’ve misunderstood something.

I’m running Volumio 4 on a Raspberry Pi, with my music library on an external USB SSD formatted as exFAT. Playback works perfectly, but the drive is read-only when I access it over SMB from my Mac, so I can’t copy new music onto it over the network.

I thought I’d have a bit of a dig around over SSH to see if I could understand what was happening.

From what I can see, Volumio mounts my drive with  
mount /dev/sdb2 /mnt/USB/MUSIIIICK -o noatime

The resulting mount options are  
rw,noatime,fmask=0022,dmask=0022

and the mount is owned by `root:root`.

I then traced the mount process to  
/volumio/app/plugins/system\_controller/networkfs/index.js

where `vfat` and `ntfs` receive  
noatime,dmask=0000,fmask=0000,iocharset=utf8

whereas `exfat` appears to fall through to simply: noatime

From my (very limited) understanding, that seems to result in the default exFAT permissions being applied, which then prevents write access over SMB.

Have I understood that correctly, or is there another reason exFAT is handled differently? Is this intentional, or could exFAT simply be missing from that special-case logic?

I’d really appreciate any clarification. I’m trying to understand how Volumio is intended to behave rather than just patching files if there’s already a supported approach.

Thanks very much.

---

<div class="post-metadata">

**Author:** ![Wheaten](https://community.volumio.com/user_avatar/community.volumio.com/wheaten/32/33147_2.png) [@Wheaten](https://community.volumio.com/u/Wheaten)\
**Post date:** [July 11, 2026, 8:03pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/2 "2026-07-11T20:03:38Z")

</div>

Is reported as bug, so far zero response.

> <https://github.com/volumio/volumio3-backend/issues/284>
>
> Tested with with V4.119 and V4.139., on to systems Dell Wyse 3040 and Dell Wyse …5070.
> Both act the same and very issue is reproduceable.
> 
> Took a fresh install, ran intial setup and installed FusionDSP.
> At this point everything looks normal.
> \<img width="616" height="126" alt="Image" src="https://github.com/user-attachments/assets/eae9d792-6355-44fc-abe9-a9bdd33deb8f" /\>
> 
> As soon as I connect a USB3 HDD, the ownership of /data/INTERNAL changes to root, causing the plugins to break.
> \<img width="631" height="152" alt="Image" src="https://github.com/user-attachments/assets/b067f5d9-582a-400f-96d7-0f76d63c21eb" /\>
> 
> On Top, new installed plugins are not installed on the Volumio drive, but to the removal harddisk. So unplugging the harddisk all content of /data/INTERNAL is gone.
> 
> Log without HDD. Owner of /data/INTERNAL/FusionDsp = volumio
> \[http://logs.volumio.org/volumio/aBJwTHj.html\](http://logs.volumio.org/volumio/aBJwTHj.html)
> 
> Connect HDD:
> Owner of /data/INTERNAL/. = root
> \[http://logs.volumio.org/volumio/TOcOs1o.html\](http://logs.volumio.org/volumio/TOcOs1o.html)
> 
> In my case, volumio is installed on sdb.
> The logs shows that when I connect the external drive sda, it's reffered to as sdb, which doesn't make sense, as sdb is the drive where Volumio has been installed.
> 
> \`\`\`
> May 09 16:04:13 wyse-5070 kernel: usb 2-1.4: new SuperSpeed USB device number 5 using xhci\_hcd
> May 09 16:04:13 wyse-5070 kernel: usb 2-1.4: New USB device found, idVendor=0bc2, idProduct=2344, bcdDevice= 7.12
> May 09 16:04:13 wyse-5070 kernel: usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> May 09 16:04:13 wyse-5070 kernel: usb 2-1.4: Product: Portable
> May 09 16:04:13 wyse-5070 kernel: usb 2-1.4: Manufacturer: Seagate
> May 09 16:04:13 wyse-5070 kernel: usb 2-1.4: SerialNumber: NT36K1C0
> May 09 16:04:13 wyse-5070 kernel: scsi host1: uas
> May 09 16:04:13 wyse-5070 kernel: scsi 1:0:0:0: Direct-Access Seagate Portable 0712 PQ: 0 ANSI: 6
> May 09 16:04:13 wyse-5070 kernel: sd 1:0:0:0: Attached scsi generic sg1 type 0
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] 9767541167 512-byte logical blocks: (5.00 TB/4.55 TiB)
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] 4096-byte physical blocks
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] Write Protect is off
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] Mode Sense: 53 00 00 08
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] Preferred minimum I/O size 4096 bytes
> May 09 16:04:18 wyse-5070 kernel: sd 1:0:0:0: \[sdb\] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
> \`\`\`
> 
> \`\`\`
> volumio@wyse-5070:~$ lsblk
> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
> loop0 7:0 0 1.1G 0 loop /static
> sda 8:0 0 4.5T 0 disk
> |-sda1 8:1 0 16M 0 part
> \`-sda2 8:2 0 4.5T 0 part /data/INTERNAL
> /data/INTERNAL
> sdb 8:16 0 119.2G 0 disk
> |-sdb1 8:17 0 366M 0 part /boot
> |-sdb2 8:18 0 5.3G 0 part /imgpart
> \`-sdb3 8:19 0 113.6G 0 part
> mmcblk0 179:0 0 29.1G 0 disk
> |-mmcblk0p1 179:1 0 366M 0 part
> |-mmcblk0p2 179:2 0 5.3G 0 part
> \`-mmcblk0p3 179:3 0 23.4G 0 part
> mmcblk0boot0 179:256 0 4M 1 disk
> mmcblk0boot1 179:512 0 4M 1 disk
> \`\`\`
> 
> \`\`\`
> sudo blkid
> /dev/sdb1: LABEL\_FATBOOT="boot" LABEL="boot" UUID="5B77-2931" BLOCK\_SIZE="512" TYPE="vfat" PARTLABEL="primary" PARTUUID="64ce5572-3829-42e5-a8ba-b3efc9d78e76"
> /dev/sdb2: LABEL="volumio" UUID="c8a76367-25e9-4f88-b69e-1eeb27baaa50" BLOCK\_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="042de68f-7cbd-41d1-9fe5-7f75b1794d7f"
> /dev/sdb3: LABEL="volumio\_data" UUID="34871b73-980b-4279-816d-5d22bb30cbef" BLOCK\_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="499ed1b9-33b6-4881-bc50-10af25f532dc"
> /dev/mmcblk0p3: LABEL="volumio\_data" UUID="970ff7f3-d192-4dba-8562-04b1e572d7b6" BLOCK\_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="1b79bcf6-c3fd-4795-8b52-05ec142b6455"
> /dev/mmcblk0p1: LABEL\_FATBOOT="boot" LABEL="boot" UUID="0129-261A" BLOCK\_SIZE="512" TYPE="vfat" PARTLABEL="primary" PARTUUID="4c346e40-6770-4810-a5a1-29ac6332ecac"
> /dev/mmcblk0p2: LABEL="volumio" UUID="5815d0ea-f56a-4b5e-98b8-22435cac99fc" BLOCK\_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="a4132d92-ce83-4a43-845c-825e27b0b656"
> /dev/loop0: TYPE="squashfs"
> /dev/sda2: LABEL="ihdd" UUID="E066-707B" BLOCK\_SIZE="512" TYPE="exfat" PARTLABEL="Basic data partition" PARTUUID="6a679aaf-a5e5-4f5b-a3c0-94668f334571"
> /dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="70eea388-7c2f-4dfa-80fc-038f1b371f77"
> 
> \`\`\`

But you narrowed down where the issue is :=)

> [@B\_art](#):
>
> I then traced the mount process to  
> /volumio/app/plugins/system\_controller/networkfs/index.js
> 
> where `vfat` and `ntfs` receive  
> noatime,dmask=0000,fmask=0000,iocharset=utf8
> 
> whereas `exfat` appears to fall through to simply: noatime

---

<div class="post-metadata">

**Author:** ![B\_art](https://community.volumio.com/user_avatar/community.volumio.com/b_art/32/33481_2.png) [@B\_art](https://community.volumio.com/u/B_art)\
**Post date:** [July 12, 2026, 5:26pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/3 "2026-07-12T17:26:30Z")

</div>

Hi Wheaten,

We tracked the issue down.

The exFAT filesystem falls through to the default mount options in `networkfs/index.js`, so it is mounted with only `noatime`.

As a result, the filesystem isn’t owned by the `volumio` user and Samba clients (Finder in my case) have read access but can’t write.

I modified `ControllerNetworkfs.prototype.mountPartition()` to add an `exfat` case:

} else if (partitionData.fsType === ‘exfat’) {  
var options = ‘noatime,uid=1000,gid=1000,dmask=0000,fmask=0000,iocharset=utf8’;  
}

After restarting the Volumio service (`sudo systemctl restart volumio`), the drive mounted with:

uid=1000,gid=1000,fmask=0000,dmask=0000

Finder can now write to the Samba share correctly.

The service restart is important because Node keeps the original JavaScript in memory until it’s restarted.

It looks like exFAT simply needs to be handled in the same way as VFAT/NTFS when building the mount options.

Thanks again for pointing me in the right direction. I learnt a lot while tracking this down!

---

<div class="post-metadata">

**Author:** ![Wheaten](https://community.volumio.com/user_avatar/community.volumio.com/wheaten/32/33147_2.png) [@Wheaten](https://community.volumio.com/u/Wheaten)\
**Post date:** [July 12, 2026, 5:40pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/4 "2026-07-12T17:40:11Z")

</div>

```auto
ControllerNetworkfs.prototype.mountPartition = function (partitionData) {
  var self = this;

  if (partitionData.fsType === 'vfat' || partitionData.fsType === 'ntfs' || partitionData.fsType === 'exfat') {
    var options = 'uid=1000,gid=1000,noatime,dmask=0000,fmask=0000,iocharset=utf8';
  } else {
    var options = 'noatime';
  }

```

---

<div class="post-metadata">

**Author:** ![B\_art](https://community.volumio.com/user_avatar/community.volumio.com/b_art/32/33481_2.png) [@B\_art](https://community.volumio.com/u/B_art)\
**Post date:** [July 12, 2026, 6:02pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/5 "2026-07-12T18:02:14Z")

</div>

Excellent, thanks Wheaten.

I changed it slightly differently during testing (using a separate `else if` for exFAT), but the result was the same. Your approach of simply including `exfat` alongside `vfat` and `ntfs` is definitely the cleaner solution.

For completeness, here’s the version I tested successfully:

if (partitionData.fsType === ‘vfat’ || partitionData.fsType === ‘ntfs’) {  
var options = ‘noatime,dmask=0000,fmask=0000,iocharset=utf8’;  
} else if (partitionData.fsType === ‘exfat’) {  
var options = ‘noatime,uid=1000,gid=1000,dmask=0000,fmask=0000,iocharset=utf8’;  
} else {  
var options = ‘noatime’;  
}

After restarting the Volumio service (`sudo systemctl restart volumio`), the drive mounted with:

uid=1000,gid=1000,fmask=0000,dmask=0000

Finder can now write to the Samba share without any issues.

Thanks again for pointing me towards the relevant code. It turned into quite an enjoyable investigation and I learnt a lot along the way!

---

<div class="post-metadata">

**Author:** ![Wheaten](https://community.volumio.com/user_avatar/community.volumio.com/wheaten/32/33147_2.png) [@Wheaten](https://community.volumio.com/u/Wheaten)\
**Post date:** [July 15, 2026, 8:17pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/7 "2026-07-15T20:17:40Z")

</div>

We won’t be providing guidance on this. If you have to ask how to do it, you probably shouldn’t be doing it.

**It will break OTA updates.**

---

<div class="post-metadata">

**Author:** ![RonL](https://community.volumio.com/letter_avatar_proxy/v4/letter/r/97f17d/32.png) [@RonL](https://community.volumio.com/u/RonL)\
**Post date:** [July 15, 2026, 8:20pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/8 "2026-07-15T20:20:47Z")

</div>

I figured out which file to edit. I’ve been a Unix user since 1975 and a Linux user for a decade or so, and Volumio for a few years. I just never looked into Volumioi internals. Thanks for your comment.

---

<div class="post-metadata">

**Author:** ![RonL](https://community.volumio.com/letter_avatar_proxy/v4/letter/r/97f17d/32.png) [@RonL](https://community.volumio.com/u/RonL)\
**Post date:** [July 22, 2026, 2:23pm UTC](https://community.volumio.com/t/transferring-files-over-samba-on-exfat-formatted-drive-intentional-or-oversight/76978/9 "2026-07-22T14:23:56Z")

</div>

I edited /volumio/app/plugins/system\_controller/networkfs/index.js with this solution (adding exfat to the vfat and ntfs cases) and it’s now working like a champ. Thanks.
