Permission help with plugins

  • I'm decently new to OMV and can't find the answer i'm looking for when searching.


    I'm getting a bunch of permission errors with my plugins (Sab, Headphones and Couchpotato). I'm not getting the errors with sickbeard. The errors i'm getting are:


    SAB: PostProcessing was aborted (Cannot create final folder /home/sabnzbd/.sabnzbd/Downloads/complete/Music/The Band Perry-The Band Perry-2010-CR)


    Couch: [hpotato.core.plugins.base] Unable writing to file "/home/sabnzbd/.sabnzbd/Downloads/complete/Movies/Pitch_Perfect 2012 DVD9-NoGroup/p1tchperfect-cabron.failed_remove.ignore": Traceback (most recent call last):
    File "/opt/couchpotato/couchpotato/core/plugins/base.py", line 122, in createFile
    f = open(path, 'w+' if not binary else 'w+b')
    IOError: [Errno 13] Permission denied: '/home/sabnzbd/.sabnzbd/Downloads/complete/Movies/Pitch_Perfect 2012 DVD9-NoGroup/p1tchperfect-cabron.failed_remove.ignore'


    Headphones: Track file is not writeable, which is required for some post processing steps: /home/sabnzbd/.sabnzbd/Downloads/complete/Music/Bloodhound Gang - One Fierce Beer Coaster-1996-HaVeFuN INT/13-fire_water_burn_(donkey_version).mp3


    i'm using version 0.5.52 of OMV


    I had permissions on my raid before but resolved those by updating the privileges on the share for my raid, but all my plugins of on my OS drive.


    Please help a newb

  • You could move the downloads to another drive, that's how I do it myself. My OS drive is just for the OS


    You could also try


    Code
    chmod 755 /home/sabnzbd/.sabnzbd/Downloads -R


    also do a

    Code
    ls -la /home/sabnzbd/.sabnzbd/Downloads

    before and after the above in case that does not solve your issue.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • I moved everything to my Raid


    I will let that sit for a few days, hopefully that works.


    I didn't try that before since I heard from a few others that they had issues once moving there download folder to there raid.

  • I just tried to run a scan with couchpotato and i'm still getting a permission error


    07-06 19:23:39ERROR[tato.core.plugins.renamer] Failed setting permissions for file: /media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Video/Movies/Need for Speed (2014)/Need for Speed.mkv, Traceback (most recent call last):
    File "/opt/couchpotato/couchpotato/core/plugins/renamer.py", line 802, in moveFile
    os.chmod(dest, Env.getPermission('file'))
    OSError: [Errno 1] Operation not permitted: '/media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Video/Movies/Need for Speed (2014)/Need for Speed.mkv'

  • Any help?


    I'm still having permission issues. SAB will download a show, but it seems like it can copy the folder from incomplete to Complete but It can't delete the folder at all


    When sickbeard renames the files and tries to move it to my raid it gets errors, but is able to move it, but can't delete the folder out of the complete folder.

  • Please post the output of the following commands:


    Code
    stat /media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Video/Movies
    stat /media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Video/Movies/Need for Speed (2014)


    Also please tell me that you already added the sickbeard/sab/couchpotatoe user to the users group.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • File: `/media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Video/Movies'
    Size: 36864 Blocks: 80 IO Block: 4096 directory
    Device: 97fh/2431d Inode: 68026372 Links: 599
    Access: (0777/drwxrwxrwx) Uid: (65534/ nobody) Gid: (65534/ nogroup)
    Access: 2014-07-14 10:33:12.791239014 -0400
    Modify: 2014-07-14 10:32:39.962739339 -0400
    Change: 2014-07-14 10:32:39.962739339 -0400


    File: `/media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Video/Movies/Need for Speed (2014)'
    Size: 4096 Blocks: 16 IO Block: 4096 directory
    Device: 97fh/2431d Inode: 291635236 Links: 4
    Access: (0777/drwxrwxrwx) Uid: ( 1001/couchpotato) Gid: ( 100/ users)
    Access: 2014-07-14 00:03:16.605739787 -0400
    Modify: 2014-07-13 00:02:44.542201326 -0400
    Change: 2014-07-13 00:02:44.542201326 -0400

  • Here is for my whole raid


    File: `/media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/'
    Size: 12288 Blocks: 32 IO Block: 4096 directory
    Device: 97fh/2431d Inode: 5767169 Links: 22
    Access: (2777/drwxrwsrwx) Uid: ( 0/ root) Gid: ( 100/ users)
    Access: 2014-07-14 07:24:30.401739708 -0400
    Modify: 2014-07-07 19:33:59.802013021 -0400
    Change: 2014-07-12 15:36:17.478520048 -0400



    Here is for my download folder where Sab dumps to


    File: `/media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Downloads'
    Size: 4096 Blocks: 16 IO Block: 4096 directory
    Device: 97fh/2431d Inode: 61128707 Links: 4
    Access: (0777/drwxrwxrwx) Uid: (65534/ nobody) Gid: ( 100/ users)
    Access: 2014-07-14 07:24:34.111239371 -0400
    Modify: 2014-07-08 22:12:55.802172426 -0400
    Change: 2014-07-12 15:36:17.478520048 -0400

  • stat of a "downloaded" folder in your downloads dir, which sickbeard cannot remove?


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Hehe... please give me the stat command for that specific folder. ;)


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Size: 4096 Blocks: 16 IO Block: 4096 directory
    Device: 97fh/2431d Inode: 108265520 Links: 7
    Access: (0777/drwxrwxrwx) Uid: (65534/ nobody) Gid: (65534/ nogroup)
    Access: 2014-07-14 07:31:19.121740286 -0400
    Modify: 2014-07-08 22:23:21.125740390 -0400
    Change: 2014-07-12 15:36:18.354241538 -0400
    root@Server:~#


    I get the same thing from my Complete and incomplete folder

  • If those outputs are all right and the users are all in the users group i don't see why it can't delete it...


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • sorry, never got a notification that you replied


    File: `/media/22b552f9-61af-4337-894a-e46463517322/OMV_RAID/Downloads/Complete/TV/Falling Skies S04E05'
    Size: 4096 Blocks: 16 IO Block: 4096 directory
    Device: 97fh/2431d Inode: 108265725 Links: 2
    Access: (0777/drwxrwxrwx) Uid: ( 1002/ sabnzbd) Gid: ( 100/ users)
    Access: 2014-07-26 10:25:41.167392399 -0400
    Modify: 2014-07-22 22:10:39.245845754 -0400
    Change: 2014-07-26 10:25:41.107391476 -0400
    root@Server:~#


    When i used extplorer i see these permissions on my raid

Jetzt mitmachen!

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