This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I am in need of some real help here.
I am running TrueNAS Core 13, recently updated. I have been running this machine as a Plex server for a little over a year. I thought I had this figured out somewhat, but trying to get a linux laptop (kubuntu 22.04) to mount and use the share with this machine has been a nightmare.
I tried using the same SMB share I already use with Windows at first. I went through the steps to mount the share and have it automount at boot. Problem was, while I could see the directories in the share and even play video files from it, I received 'permission denied' when trying to copy files to it.EDIT:
After looking into some permission issues, I reached a dead end and decided to try NFS instead. As I understand it should not be an issue to share both types of file systems with the same directories.
Very similar story. Followed the TrueNAS documentation for NFS sharing, using 'mapall user' in TrueNAS to point to the same user as my Samba share (using the same directory) and mounted it in kubuntu with sudo. It seemed to mount properly, showing in Dolphin under Network, but with this setup I can't see anything at all inside the mount and cannot copy anything to it. chmod and chown didn't seem to help.
So I'm at my wits' end. I cannot figure out which part I am doing wrong, and I am baffled as to how difficult it has been to share a network folder on Linux. I really want to make this work, I'm just lost.
EDIT: I returned to this a few months later and solved my issue. For anyone having similar trouble, when you mount a share on Ubuntu, only the user who mounted it will have write permissions. Normally this will be root, so in fstab I just had to specify the uid and gid of my primary user and voila, rw permissions that I needed. I guess this specifies that the user you list is the one to mount the share.
I also made sure to create a new folder and give my user read/write permissions and ownership with the following commands. Not sure if this was required.
sudo mkdir /media/My_Share
sudo chown user:group /media/My_Share
sudo chmod 755 /media/My_Share
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/truenas/com...