Thanks MichaIng fix the eMMC boot problem just upgraded N2+ as my main nextcloud server with startech sata m.2 raid enclosure , I install 2x 1TB WD blue sata m.2 to enclosure and set as RAID 1 for userdata everything works perfect but now I added 1 more 500gb wd blue m.2 sata with enclosure as external storage but everytime I want to transfer some files to 500gb storage i need to type chmod 777 /mnt/ “drive_name” otherwise i get permission denied ?
my setup in /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
load printers = no
printcap name = /dev/null
disable spoolss = yes
[dietpi]
comment = DietPi Share
path = /mnt/dietpi_userdata
browseable = yes
create mask = 0664
directory mask = 0775
valid users = dietpi
writeable = yes
max connections = 8
[orico]
comment = external
path = /mnt/orico
read only = No
browseable = yes
create mask = 0664
directory mask = 0775
valid users = dietpi
writeable = yes
max connections = 8