I have a small GL.iNET router that has a USB stick connected and is shared via SMB on my network.
The USB is formatted as exFAT so that I have read/write compatibility with Windows and Mac should I need to plug the stick into either machine - this works fine no issues.
The problem I have is that I am not able to write to the USB when it is plugged into the router over the network. If I try I get a 'You require permission from S-1-22-1-0 to make changes to this file.' I can read files that are saved to it already ok though
I have obviously googled a fair bit and I'm growing to believe I need to be looking at SMB permissions.
My smb.conf file looks like this
[global]
netbios name = |NAME|
display charset = |CHARSET|
interfaces = |INTERFACES|
server string = |DESCRIPTION|
unix charset = |CHARSET|
workgroup = |WORKGROUP|
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = share
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
Wondering if someone with SMB configuration experience can point me in a direction that will help me solve this...
Thanks in advance
The USB is formatted as exFAT so that I have read/write compatibility with Windows and Mac should I need to plug the stick into either machine - this works fine no issues.
The problem I have is that I am not able to write to the USB when it is plugged into the router over the network. If I try I get a 'You require permission from S-1-22-1-0 to make changes to this file.' I can read files that are saved to it already ok though
I have obviously googled a fair bit and I'm growing to believe I need to be looking at SMB permissions.
My smb.conf file looks like this
[global]
netbios name = |NAME|
display charset = |CHARSET|
interfaces = |INTERFACES|
server string = |DESCRIPTION|
unix charset = |CHARSET|
workgroup = |WORKGROUP|
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = share
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
Wondering if someone with SMB configuration experience can point me in a direction that will help me solve this...
Thanks in advance