I have setup a Freenas system that I would like to mount on my Ubuntu Desktop. Freenas is configured with cifs service.
When I open the freenas server in nautilus smb://freenas/homenas/ I can create and delete files without a problem.
Mounting the server also works:
sudo mount -t cifs //192.168.1.108/homenas /media/bigHD username=test,password=123
The owner of all the files in /media/bigHD is tom (my non root account).
However when I create a file under /media/bigHD its is owned by root. I really do not wish to chown every file/folder after I create it.
How can I fix this?