Bug #3551
Chown´ing files/dirs
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2016-02-03
Due date:
% Done:
0%
Estimated time:
Found in version:
4.0.8-3~gc870eb9~wheezy
Affected Versions:
Description
Related to: https://tvheadend.org/issues/3459
As far as i understand linux permissions, chowning files/dirs in DVR is completely useless, because either the parent dir is owned by hts and therefore the new file/dir is already owned by it or parent dir is owned by someone else and it will fail, because only the owner (or root) can chown.
History
Updated by Jaroslav Kysela almost 9 years ago
- Status changed from New to Rejected
TVH does not call chown() syscall when the DVR directories are created. Only chmod() is called.
Updated by Ne Name almost 9 years ago
Updated by Ne Name almost 9 years ago
2016-02-03 21:14:17.072 settings: Unable to create dir "/media/nasShare/Pi/2016-02-03": Operation not permitted
Whcih is exactly at https://github.com/tvheadend/tvheadend/blob/master/src/utils.c line 516