timgt Wrote:Hmmm, I tried creating my incomplete folder as an NFS share instead of SMB on my server and on the apple tv 2 I set it as NFS as the client. I can browse that folder just fine under XBMC but the same thing happens under the plugin, i cannot browse the incomplete folder. It gives me a plugin error just like the SMB mount did.
I wish I knew how to give you the log to see if you could figure out why. I'm not sure how j1nx got NFS shares to work with this plugin, I sure can't
With NFS, it looks like a mapped network folder is axectly like any normal local folder and for that reason it also uses the same file security options.
If SABnzbD on the server runs as user="sab" within group="sab" it created any folder within the incomplete using these credentials and a strict 0500 persion set.
So you either have to make sure that xbmc on the client runs as the exact same user as sabnzbd or you have to map them a bit. Keep in mind that the usernames and groepnames are just for the admnistrators ease. It is the relative userID and groupID (the numbers not the name) that telle linux who you are.
Easiest thing to do is to change the way the incomplete folder is mounted by the NFS server/client.
Find out the UserID and GroupID of the sabnzbd user and then use the following (extra) mounting options for the incomplete folder.
Code:
all_squash,anonuid=UID,anongid=GID
Where UID is the userid sabnzbd runs under and GID the goupid.
all_squash
Map all uids and gids to the anonymous user.
anonuid and anongid
These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user.
You got the picture?