Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi 20 & 20.1 NFS4 Cant Write To NFS Server #23162

Open
5 tasks
snake3ca opened this issue Apr 17, 2023 · 3 comments · May be fixed by #23302
Open
5 tasks

Kodi 20 & 20.1 NFS4 Cant Write To NFS Server #23162

snake3ca opened this issue Apr 17, 2023 · 3 comments · May be fixed by #23302
Labels
Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it

Comments

@snake3ca
Copy link

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

On Kodi 20 & 20.1 when you use NFS4 you cannot write to NFS shares that are read/write.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

You should be able to copy files to an NFS share that has write access.

Actual Behavior

When using NFS4 files fail to copy to writable NFS share. Get error failed with NFS4ERR_ACCESS(-13).

Possible Fix

To Reproduce

Steps to reproduce the behavior:

  1. Change Kodi to NFSv4
  2. Try copy a local file to a RW nfs share from within Kodi.

Debuglog

The debuglog can be found here:

kodi.log

Screenshots

Here are some links or screenshots to help explain the problem:

kodi-error

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Even though the file fails to copy it actually creates the file on the NFS server but it has 0 bytes.
If I change Kodi to use NFSv3 I can copy the same file to the same share/folder on the NFS server.
If I mount the same NFS share from within the OS as NFS4 I am able to write files to it.
NFS export looks like this: /mnt/Storage 192.168.0.102(rw,async,no_subtree_check,root_squash,insecure,mountpoint=/mnt/Storage)

Your Environment

Used Operating system:

  • [x ] Android

  • iOS

  • tvOS

  • [x ] Linux

  • macOS

  • Windows

  • Windows UWP

  • Operating system version/name:

  • Kodi version: 20.0 20.1

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

@xbmc-gh-bot xbmc-gh-bot bot added the Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it label Apr 17, 2023
@Gfurst
Copy link

Gfurst commented May 3, 2023

Just wanted to say I'm also getting this issue. Kodi will touch up every file but not write them. I have to write a quick find command to search for all .nfo files and change their permission , I think 664 maybe. It would then be able fill in the important meta data.

@pduveau
Copy link

pduveau commented May 19, 2023

Hello, The #23302 will fixe your issue. It also proposes features related to set permissions on NFS4 and 3 as desired in expert mode.

@thexai thexai linked a pull request May 22, 2023 that will close this issue
13 tasks
@pduveau pduveau linked a pull request May 24, 2023 that will close this issue
13 tasks
@Gfurst
Copy link

Gfurst commented Sep 26, 2023

Has this been made upstream yet? Can anyone check if the main issue was solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants