Zugriffsrechte Problematik / permissions Error´s

  • Zugrussrechte Problem:


    Hallo Zusammen, könnte jemand mir behilflich sein bei dem Zugrissrechten? Ich habe einen Downloads Ordner der ist für Jeden Feigegeben mit Lesen, Schreiben. Blöderweise meckert Sabnzb ständig über: Nachbearbeitung von ddd fehlgeschlagen (Konnte Download-Ordner /ccc nicht anlegen) und Cannot change permissions of /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Incomplete.


    Das zurücksetzen der Berechtigungen über das Webinterface hilft leider auch nicht. Wenn ich die Files aus dem Incomplete Ordner manuell in das Complete umkopiere, dann gibt es folgende Fehlermeldung vom Sickrage:
    2015-03-14 15:30:26 POSTPROCESSER :: Unable to move file /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Complete/Serien/ccc to /media/e5103d7a-8df9-4e8c-b64c-5989c139caa4/Serien/ccc: [Errno 1] Operation not permitted: '/media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Complete/Serien/ccc'


    I have some acessrights problem with my downloads folder. This folder is sharred to eweryone with read and wright rights but Sabnzb give me this: Nachbearbeitung von ddd fehlgeschlagen (Konnte Download-Ordner /ccc nicht anlegen) und Cannot change permissions of /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Incomplete. Can´t make folder no permission... I´m tryed the rights reset over the OMV interface, but the Error is still there.


    If i´m move the Files manually from the Incomplete folder to the Complete folder so Sickrage give me this Error: 2015-03-14 15:30:26 POSTPROCESSER :: Unable to move file /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Complete/Serien/ccc to /media/e5103d7a-8df9-4e8c-b64c-5989c139caa4/Serien/ccc: [Errno 1] Operation not permitted: '/media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Complete/Serien/ccc

  • In the permissions reset tab is nothing to choose to make the reset recursivley. I'm doesen't use ALC's, in Sab i have choose 777 but its still not working.


    I have take a look in the Samba.conf:


    Why are there 0755 in the OMV im choosed read write to eweryone or 0777 or did i make a mistake?

  • Stat bevore reset:

    Code
    stat /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads
      Datei: „/media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads“
      Größe: 4096          Blöcke: 8          EA Block: 4096   Verzeichnis
    Gerät: 831h/2097d    Inode: 2883585     Verknüpfungen: 5
    Zugriff: (2777/drwxrwsrwx)  Uid: (    0/    root)   Gid: (  100/   users)
    Zugriff    : 2015-03-14 15:49:06.830888841 +0100
    Modifiziert: 2015-01-30 23:23:11.469041254 +0100
    Geändert   : 2015-03-14 15:49:06.826888870 +0100
     Geburt    : -


    and afther reset:

    Code
    stat /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads
      Datei: „/media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads“
      Größe: 4096          Blöcke: 8          EA Block: 4096   Verzeichnis
    Gerät: 831h/2097d    Inode: 2883585     Verknüpfungen: 5
    Zugriff: (2755/drwxr-sr-x)  Uid: (    0/    root)   Gid: (  100/   users)
    Zugriff    : 2015-03-14 19:59:57.490624508 +0100
    Modifiziert: 2015-01-30 23:23:11.469041254 +0100
    Geändert   : 2015-03-14 19:59:57.490624508 +0100
     Geburt    : -


    and i got this from Sab: download_dir directory: Cannot change permissions of /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Incomplete and my other error ist there too (Konnte Download-Ordner /ccc nicht anlegen) Can't make folder error


    It seem still not working

  • In Sickrage i have set Move as postprocess method. All drives aceppt the Downloads drive are in the aufs pool and formated to ext4. Maybe i shoud change the Complete folder to the aufs pool?


    One idea that i become over night is that something don't gone wrong with the sabnzb user? is this possible? If one file (with the right permissions settings) dropped to the complete folder for Sickrage than seems to work right.

    • Offizieller Beitrag

    Other thing do you have sick rage up to date? i've just went through there github and the move option before Jan 25 was to rename files, that of course is not allowed in different filesystems. Can you check that you have it up to date.


    "Operation not permitted" is was bothers me that is trying to rename instead of move


    https://github.com/SiCKRAGETV/…b64bbb0d1fd57beeeb56221bd

  • Wehre i can see the versions number? The automatic updates are enabled and seems to be work its the master bunch. So it should be stabil.


    My folder strukture is: Downloads inside:
    Incomplete and Complete. Inside the Complete folder are some other folders like Series or so. Sab is configured to save the files in categories like Series etc. So i load something over Sab manually and this file goes to Downloads/Complete direct. To my surpize Sab did make a new folder inside the Downloads/Complete. Why goes there an not in Downloads/Complete/Series ?!?


    How can i show the permissions from a file?

  • the first one Downlods:
    /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads# ls -la
    insgesamt 20
    drwxrwsr-x 5 root users 4096 Mär 15 16:11 .
    drwxr-xr-x 4 root root 4096 Feb 8 18:11 ..
    drwxrwsr-x 2 root users 4096 Mär 15 16:11 BlackHole
    drwxrwsr-x 6 root users 4096 Mär 15 16:47 Complete
    drwxrwsr-x 7 root users 4096 Mär 15 16:47 Incomplete
    now
    /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Incomplete# ls -la
    insgesamt 28
    drwxrwsr-x 7 root users 4096 Mär 15 16:47 .
    drwxrwsr-x 5 root users 4096 Mär 15 16:11 ..
    drwsrwsr-x 3 root users 4096 Mär 6 22:54 ddddd
    and
    /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Complete# ls -la
    insgesamt 24
    drwxrwsr-x 6 root users 4096 Mär 15 16:47 .
    drwxrwsr-x 5 root users 4096 Mär 15 16:11 ..
    drwxrwsr-x 2 root users 4096 Mär 14 15:15 Movie
    drwxrwsr-x 2 root users 4096 Jan 30 23:22 Musik
    drwxrwxrwx 2 sabnzbd users 4096 Mär 15 16:47 the test file this works to make a folder
    drwsrwsr-x 2 root users 4096 Mär 14 15:53 Serien
    and finally


    /media/d86a61c9-d12a-46b6-9984-a56c350b0fab/Downloads/Complete/Serien# ls -la
    insgesamt 8
    drwsrwsr-x 2 root users 4096 Mär 14 15:53 .
    drwxrwsr-x 6 root users 4096 Mär 15 16:47 ..

  • That is what i found in the helpers.py


    Code
    def moveFile(srcFile, destFile): 
        try: 
            ek.ek(shutil.move, srcFile, destFile) 
            fixSetGroupID(destFile) 
        except OSError: 
            copyFile(srcFile, destFile) 
            ek.ek(os.unlink, srcFile)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!