Deluge permissions on a Synology NAS












0















I installed Deluge through this guide. I have a Synology DS212+.



To summarize: I installed Debian chroot (from the SynoCommunity repository). Through that I installed the packages deluged (server software) and deluge-web (webinterface). That way I can control the server side through the various clients available on different desktops.



It works quite well, except for one part: permissions. Whenever I add a torrent it creates the files and folders with drwxr-xr-x permissions. That way I'm not able to do anything (delete, rename, edit) with the files and folders in other environments. It looks like this when I do a dir command:



drwxrwxrwx    3 media    users         4096 Sep 30 15:34 .
drwxrwxrwx 4 media users 4096 Sep 30 13:10 ..
drwxr-xr-x 2 root root 4096 Sep 30 15:24 Die Hard (1988)


What I want is torrent files and folders created by deluge to be writable (drwxrwxrwx), in the users group, and made by the user media.



To be honest I have no idea where to start looking and what part is responsible for this (synology part? chroot? deluge? the mount command that I executed on the download folder?).










share|improve this question





























    0















    I installed Deluge through this guide. I have a Synology DS212+.



    To summarize: I installed Debian chroot (from the SynoCommunity repository). Through that I installed the packages deluged (server software) and deluge-web (webinterface). That way I can control the server side through the various clients available on different desktops.



    It works quite well, except for one part: permissions. Whenever I add a torrent it creates the files and folders with drwxr-xr-x permissions. That way I'm not able to do anything (delete, rename, edit) with the files and folders in other environments. It looks like this when I do a dir command:



    drwxrwxrwx    3 media    users         4096 Sep 30 15:34 .
    drwxrwxrwx 4 media users 4096 Sep 30 13:10 ..
    drwxr-xr-x 2 root root 4096 Sep 30 15:24 Die Hard (1988)


    What I want is torrent files and folders created by deluge to be writable (drwxrwxrwx), in the users group, and made by the user media.



    To be honest I have no idea where to start looking and what part is responsible for this (synology part? chroot? deluge? the mount command that I executed on the download folder?).










    share|improve this question



























      0












      0








      0








      I installed Deluge through this guide. I have a Synology DS212+.



      To summarize: I installed Debian chroot (from the SynoCommunity repository). Through that I installed the packages deluged (server software) and deluge-web (webinterface). That way I can control the server side through the various clients available on different desktops.



      It works quite well, except for one part: permissions. Whenever I add a torrent it creates the files and folders with drwxr-xr-x permissions. That way I'm not able to do anything (delete, rename, edit) with the files and folders in other environments. It looks like this when I do a dir command:



      drwxrwxrwx    3 media    users         4096 Sep 30 15:34 .
      drwxrwxrwx 4 media users 4096 Sep 30 13:10 ..
      drwxr-xr-x 2 root root 4096 Sep 30 15:24 Die Hard (1988)


      What I want is torrent files and folders created by deluge to be writable (drwxrwxrwx), in the users group, and made by the user media.



      To be honest I have no idea where to start looking and what part is responsible for this (synology part? chroot? deluge? the mount command that I executed on the download folder?).










      share|improve this question
















      I installed Deluge through this guide. I have a Synology DS212+.



      To summarize: I installed Debian chroot (from the SynoCommunity repository). Through that I installed the packages deluged (server software) and deluge-web (webinterface). That way I can control the server side through the various clients available on different desktops.



      It works quite well, except for one part: permissions. Whenever I add a torrent it creates the files and folders with drwxr-xr-x permissions. That way I'm not able to do anything (delete, rename, edit) with the files and folders in other environments. It looks like this when I do a dir command:



      drwxrwxrwx    3 media    users         4096 Sep 30 15:34 .
      drwxrwxrwx 4 media users 4096 Sep 30 13:10 ..
      drwxr-xr-x 2 root root 4096 Sep 30 15:24 Die Hard (1988)


      What I want is torrent files and folders created by deluge to be writable (drwxrwxrwx), in the users group, and made by the user media.



      To be honest I have no idea where to start looking and what part is responsible for this (synology part? chroot? deluge? the mount command that I executed on the download folder?).







      permissions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      Rui F Ribeiro

      41.5k1483140




      41.5k1483140










      asked Oct 6 '14 at 10:56









      BobBob

      13816




      13816






















          1 Answer
          1






          active

          oldest

          votes


















          1














          After asking around on other places I found the answer. Following the instructions here and setting the umask to 0, I managed to set the permissions the way I want it.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f159573%2fdeluge-permissions-on-a-synology-nas%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            After asking around on other places I found the answer. Following the instructions here and setting the umask to 0, I managed to set the permissions the way I want it.






            share|improve this answer




























              1














              After asking around on other places I found the answer. Following the instructions here and setting the umask to 0, I managed to set the permissions the way I want it.






              share|improve this answer


























                1












                1








                1







                After asking around on other places I found the answer. Following the instructions here and setting the umask to 0, I managed to set the permissions the way I want it.






                share|improve this answer













                After asking around on other places I found the answer. Following the instructions here and setting the umask to 0, I managed to set the permissions the way I want it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 6 '14 at 18:39









                BobBob

                13816




                13816






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f159573%2fdeluge-permissions-on-a-synology-nas%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Accessing regular linux commands in Huawei's Dopra Linux

                    Can't connect RFCOMM socket: Host is down

                    Kernel panic - not syncing: Fatal Exception in Interrupt