Project

General

Profile

mkv: (null): Unable to create file, open failed -- Permission denied

Added by Marc Ominus almost 3 years ago

I am trying to record on the external USB HDD that is NTFS formatted and connected to RaspberryPi 3.

The HDD is mounted at:
/media/pi/120gb

And recording path set to in Digital Video Recording Profiles:
/media/pi/120gb/minidlna

I have added it to FSTAB so it auto-mounts on startup:


# 120GB External USB --- ,
# <file system>                                 <mount point>           <type>  <options>                               <dump>  <pass>
UUID=XXXXXXXXXXXXXXXX                           /media/pi/120gb        ntfs-3g uid=1000,gid=1000,dmask=022,fmask=133   0       0

But I can not get the TVH to record to that HDD :(

Recording to SD Card works ..... files, that I have downloaded from YT
and placed in "/media/pi/120gb/minidlna" DIR work and are visible to MiniDLNA .....

Anyone any idea where I am going wrong?


Replies (4)

RE: mkv: (null): Unable to create file, open failed -- Permission denied - Added by Marc Ominus almost 3 years ago

pi@RaspberryPi3Bplus-uHAT:~ $ id

uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(input),109(netdev),997(gpio),998(i2c),999(spi)

RE: mkv: (null): Unable to create file, open failed -- Permission denied - Added by Marc Ominus almost 3 years ago

OK, so I have changed FSTAB:

# 120GB External USB --- ,
# <file system>                                 <mount point>           <type>  <options>                               <dump>  <pass>
UUID=XXXXXXXXXXXXXXXX                             /media/pi/120gb         ntfs    nofail,uid=pi,gid=pi                  0       0

It now records, but with the following message:

mkv: /media/pi/120gb/minidlna/............mkv: Unable to change permissions -- Operation not permitted
dvr: /media/pi/120gb/minidlna/............mkv from adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", mux: "xxxMHz", provider: "XXXXXXXXX", service: "XXX" 

RE: mkv: (null): Unable to create file, open failed -- Permission denied - Added by saen acro almost 3 years ago

Isn't more simple to change to exFAT file system?

    (1-4/4)