My problem:
rsync on linux fails with permissions errors unless I specify "-o username=nweiler,uid=1001,gid1001" when mounting the share.
Errors:
Cannot create directories
Cannot delete files
The command I use to mount the share:
sudo mount -t cifs //192.168.17.170/miscdata /home/nathan/datafarm -o username=<username>
Mounting a share on the command line and then running "ls -lh" shows that all files and directories are owned by the user named "root".
If I don't specify "-o username", I get asked for the root users password.
One thing I noticed while investigating the problem was that on the Unraid server, user "nweiler" has a user id of 1000 but on my main computer user "nweiler" has a user id of 1001.
Is there anything I can do so I don't have to specify "-o username=nweiler,uid=1001,gid1001" when mounting the share?