Posts: 16,946
Joined: Feb 2011
Reputation:
256
check the filesystem permissions (there are multiple levels of access rights when it comes to nfs). Also read the nfs wiki link in my signature. The server needs to allow connections from non-privileged ports. Also most windows users trying to setup a nfs server end up using hanewin because the microsoft shit just doesn't cut it.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 38
Joined: Jan 2008
Reputation:
0
2013-02-04, 18:18
(This post was last modified: 2013-02-04, 18:19 by denmalley.)
Just something to consider, I banged my head against the wall for months chasing every lead presented in the wiki and in multiple threads on this forum for an issue very much like the one you describe. Finally the issue was solved by simply getting the most up to date NIC drivers from my chipset manufacturer's website.
Posts: 1
Joined: Feb 2014
Reputation:
0
I know this is late but I just ran into similar issues setting up NFS shares on Windows Server 2012 Essentials and sharing over to XBMC running on Pi (OpenElec) and Windows 8.1 HTPC system. While searching for solutions I ran across this post and thought I should reply what ended up working for me to possibly help others in the future. I followed the recommended posts as previously mentioned (and other google searches on setting up NFS) but still ran into issues when browsing for NFS on XBMC that I could see my server listed by IP and could see the shared directories but could not add them and could not see any files in them. I finally found a hint somewhere that it could be permissions with trying to share "ServerFolders" that were already shared via SMB. That led me to create a new test share C:\NFS_Test and copy over a couple of .avi and .mp3 Bingo now I could add this new NFS_Test share and see the files in XBMC. Looking at the differences between shares in Windows Server 2012 Server Manager, I found the one that worked C:\NFS_Test had "Everyone" read/execute permissions while my other "ServerFolder" shares (Videos and Music) did not. I added "Everyone" read/execute permissions to those "ServerFolder" shares (Videos and Music) and then I was able to add them to XBMC NFS Sources and see all the files. It’s been working since. The only issue I've had is that sometimes when I add new files to the ServerFolder shares they do not inherit the "Everyone" read/execute permissions and I have to go back in to Server Manager and re-apply "Everyone" permissions.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2014-02-06, 11:08
(This post was last modified: 2014-02-06, 11:09 by Memphiz.)
That is why nfs in windows world is just bullshit if you ask me (you can't map unix user ids to windows user ids in a proper way). Giving the world write access to a share is not wise. I know its only lan - but as i always say - keep using smb in the windows world and nfs where it belongs to ... but just as my 2 cents.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 5,174
Joined: Jan 2010
Reputation:
97
Kib
Team-Kodi Member
Posts: 5,174
2014-04-03, 09:58
(This post was last modified: 2014-04-03, 10:17 by Kib.)
In windows SMB the permissions on shares are enumerated as the smallest permissions from both the legacy share permissions and the modern NTFS permissions.
It is best practice to set the share permissions to everyone full access and configure the access using NTFS permissions.
It is possible this legacy way of working with share permission is also applicable to windows NFS shares, eg set the share permissions to full access and then dish out the actual permissions within NFS.
Posts: 16
Joined: Nov 2009
Reputation:
0
OMG THANK YOU FOR THIS.
I was struggling with this as well. I was converting from SMB to NFS. I had to edit security permissions for my files to add "everyone" in and have it be recursive. I owe you a beer, or 10, dude.