I am running FreeNAS 11.3. I have a SMB share setup on Freenas that I would like to be able to access with Linux and windows. The share works great in Windows but the issue im having is with
Linux. I am able to mount a drive to the smb share and read the contents but when I try to write
data to the share, I get a permission denied error. If I put a “sudo” in front of the command it
writes to the share just fine. I suspect it has something to do with the ownership of the folder
on the share. the owner is “root”, my user id is “mike”. I have tried changing the ownership
with this command
sudo chown -R mike:mike /mnt/nas
the command completes succesfully but when I do a ls -l its still under root for owner
I cant figure out how to change the owner thru the Freenas gui, or be able to get the permissions right on the share where I can access it with a non-root user account.
I have a Kali box and an Ubuntu box, both have the same issue. Im a bit of a noob at Linux so not sure where to start lol. Anyone have any ideas what im doing wrong?