Hard disk ownership & permissions

  • Looks like i managed to corrupt an entire hard disk permissions. My fault.

    The disk happens to be the one with all my videos collection............

    Now, libreelec can read BUT not write

    It looks like the problem is with entire DISK, not some directories or just some files.

    I was trying via network (windows) to change permission, windows see libreelec ownership and have no authority to change permissions :

    DxtMLWnWkAAD3tN.jpg


    So, i guess only chance is to make things right via SSH.

    I dont know much about SSH, only the basics.. so, any help is most welcomed

    thanks ....

  • I will do that

    thanks

    Edit: looks like chmod is not working, ...so, remove + fix using windows should be the way...

    Code
    LibreELEC:~ # chown root /var/media/TERA
    chown: /var/media/TERA: Read-only file system
    LibreELEC:~ # chmod 777 /var/media/TERA
    chmod: /var/media/TERA: Read-only file system
    LibreELEC:~ # chmod 0777 /var/media/TERA
    chmod: /var/media/TERA: Read-only file system
    LibreELEC:~ #

    Edited once, last by infoalter (January 24, 2019 at 9:52 PM).