mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
afpfs-ng: add fix stat patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
96dac813b5
commit
1105ed27a1
@ -0,0 +1,11 @@
|
|||||||
|
--- afpfs-ng-0.8.1/lib/lowlevel.c 2011-10-01 20:36:55.000000000 +0200
|
||||||
|
+++ afpfs-ng-0.8.1/lib/lowlevel.c 2011-10-01 20:46:00.000000000 +0200
|
||||||
|
@@ -579,7 +579,7 @@
|
||||||
|
return -EIO;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (volume->server->using_version->av_number>=30)
|
||||||
|
+ if (volume->server->using_version->av_number>=30 && fp.unixprivs.permissions != 0)
|
||||||
|
stbuf->st_mode |= fp.unixprivs.permissions;
|
||||||
|
else
|
||||||
|
set_nonunix_perms(&stbuf->st_mode,&fp);
|
Loading…
x
Reference in New Issue
Block a user