smb cant write to mounted 1

smb cant write to mounted

#Group
cat /etc/group | grep samba_group 
#samba_group:x:10000:user1,user2

sudo mount /dev/sda1 /mnt/usb -o username=user1,gid=10000

Here is what the above code is Doing:
1. Create a group called samba_group
2. Add user1 and user2 to the group
3. Mount the drive with the username and group id

Similar Posts