root@TOP-AXT1800:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
mtd:ubi_rootfs 44288 44288 0 100% /rom
tmpfs 201148 2736 198412 1% /tmp
/dev/ubi0_2 55620 12436 40308 24% /overlay
overlayfs:/overlay 55620 12436 40308 24% /
tmpfs 512 0 512 0% /dev
/dev/mmcblk0p2 30955520 3168 30952352 0% /tmp/mountd/disk1_part1
root@TOP-AXT1800:~# ls -l /tmp/mountd
drwxr-xr-x 4 root root 32768 Aug 6 14:09 disk1_part1
root@TOP-AXT1800:~#

this is the result of ls -l /tmp/mountd

but it’s doesn’t show the mount option

i use cat /proc/mounts:

root@TOP-AXT1800:~# cat /proc/mounts



/dev/mmcblk0p2 /tmp/mountd/disk1_part1 exfat rw,relatime,fmask=0022,dmask=0022,allow_utime=177777,iocharset=utf8,errors=remount-ro 0 0

it’s show it’s mounted as rw

as i mention before the samba it’s work perfectly fine with write and read . but just synching dont have permission .

i here to show my /etc/config/syncthing in case any help :

config syncthing ‘syncthing’
option enabled ‘1’

    option gui_address 'http://0.0.0.0:8384'

    # Use internal flash for evaluation purpouses. Use external storage
    #   for production.
    # This filesystem must either support ownership/attributes or
    #   be readable/writable by the user specified in
    #   'option user'.
    # Consult syslog if things go wrong.
    option home '/etc/syncthing'

    # Changes to "niceness"/macprocs are not picked up by "reload_config"
    #   nor by "restart": the service has to be stopped/started
    #   for those to take effect
    option nice '19'

    # 0 to match the number of CPUs (default)
    # >0 to explicitly specify concurrency
    option macprocs '0'

    # Running as 'root' is possible, but not recommended
    option user 'syncthing'

here is my /etc/init.d/syncthing :

#!/bin/sh /etc/rc.common

START=90
STOP=10

USE_PROCD=1

PROG=/usr/bin/syncthing

service_triggers()
{
procd_add_reload_trigger “syncthing”
}

start_service() {
local gui_address home enabled nice macprocs user
config_load “syncthing”

config_get_bool enabled syncthing enabled 1
[ “$enabled” -gt 0 ] || return 0

config_get user syncthing user ‘root’
config_get gui_address syncthing gui_address “http://0.0.0.0:8384
config_get home syncthing home “/etc/syncthing”

IDX_DB=$(readlink -n “$home”/index-v0.14.0.db)
if [ ! -z “$IDX_DB” ]; then
[ -d “$IDX_DB” ] || mkdir -p “$IDX_DB”

[ -d "$IDX_DB" ] && chown -R $user:$user "$IDX_DB"

fi

[ -d “$home” ] || mkdir -p “$home”

[ -d “$home” ] && chown -R $user:$user “$home”

config_get nice syncthing nice “0”

config_get macprocs syncthing macprocs 0
if [ $macprocs -le 0 ]; then
# Default to the number of cores in this case
macprocs=$(grep -c ^processor /proc/cpuinfo)
fi

procd_open_instance
procd_set_param command “$PROG”
procd_set_param file /etc/config/syncthing
procd_set_param env GOMAXPROCS=“$macprocs” STNOUPGRADE=1
procd_append_param command -gui-address=“$gui_address”
procd_append_param command -home=“$home”
procd_append_param command -no-browser
procd_set_param nice “$nice”
procd_set_param term_timeout 15
procd_set_param user “$user”
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}