fukawi1: I have Samba installed, connecting just fine, and from the Windows box I can browse the contents of sda1.
ongte: Windows is accessing a Samba share on the Linux box.
Let me explain things this way. Windows box has 2 drives for data, call them Data1 and Data2. Both 1TB. In the Linux box I have 2 1TB drives, also called Data1 and Data2. The idea is to regularly make Linux/Data1 and Linux/Data2 look exactly the same as Windows/Data1 and Windows/Data2 by running SyncToy on the Windows box. This means full read/write access from Windows box to Linux/Data1 and Linux/Data2.
Using chmod doesn't really help, becuse it only works on the files and folders that are on Linux/Data1 and Linux/Data2
at the time of running it. This means that if a sub-folder is added, chmod needs to be run before a sub-folder can be added.
I need full read/write access for ever and ever.
I mount Linux/Data1 and LinuxData2 to /mnt/sda1 and /mnt/sda2.
Used
Code:
adduser -D -h /mnt nigel-pc
rpcclient
$ createuser nigel-pc -p password
and in smb.conf
Code:
[nigel-pc}
path = /mnt
writeable = yes
valid users = nigel-pc
This gives me read/write permission to /mnt, but I need read/write permission williy-nilly to /mnt/sda1 and /mnt/sda2.
Haven't created any groups.
Hove this clarifies my problem.