Rights permission with Eclipse on Arch

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I tried to manage permission on my tomcat group this morning to be able to access the /webapps folder through eclipse without having to run it as root.



What i've already done:

-Removed .lock file at .metadata in my /usr/share/tomcat8/webapps

-Followed these steps to set up permissions the "right way" https://superuser.com/questions/632618/best-practice-for-access-permission-to-users-for-apache-tomcat



Still eclipse won't open using this workspace as a non-root user. I get two error messages : this followed by this



Here are some information of use.



Operating System: Arch Linux
Kernel Version: 4.18.16-arch1-1-ARCH



[falkon@BlackHawk bin]$ pacman -Qi eclipse
Name : eclipse-jee
Version : 4.9-1
Description : Highly extensible IDE for JEE
Architecture : x86_64
URL : https://eclipse.org
Licenses : EPL
Groups : None
Provides : eclipse=4.9-1
Depends On : eclipse-common java-environment>=8 webkit2gtk unzip
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : eclipse
Replaces : None
Installed Size : 233.19 MiB
Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date : Wed 19 Sep 2018 10:35:43 PM +01
Install Date : Wed 26 Sep 2018 01:43:36 PM +01
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

[falkon@BlackHawk bin]$ groups
tomcat8 network wheel falkon
[falkon@BlackHawk bin]$ ls -la /usr/share/tomcat8/ /usr/share/tomcat8/webapps/
/usr/share/tomcat8/:
total 32
drwxr-xr-x 6 tomcat8 tomcat8 4096 Nov 2 09:11 .
drwxr-xr-x 298 root root 12288 Nov 2 15:23 ..
drwxr-xr-x 2 root root 4096 Nov 2 09:11 backup
drwxr-xr-x 2 tomcat8 tomcat8 4096 Sep 26 18:00 bin
lrwxrwxrwx 1 tomcat8 tomcat8 12 Sep 7 10:49 conf -> /etc/tomcat8
drwxr-xr-x 6 tomcat8 tomcat8 4096 Oct 30 11:34 Ensa
lrwxrwxrwx 1 tomcat8 tomcat8 23 Sep 7 10:49 lib -> /usr/share/java/tomcat8
lrwxrwxrwx 1 tomcat8 tomcat8 16 Sep 7 10:49 logs -> /var/log/tomcat8
lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 temp -> /var/tmp/tomcat8/temp
lrwxrwxrwx 1 tomcat8 tomcat8 24 Sep 7 10:49 webapps -> /var/lib/tomcat8/webapps
lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 work -> /var/tmp/tomcat8/work
drwxr-xr-x 3 root root 4096 Nov 2 09:29 wtpwebapps

/usr/share/tomcat8/webapps/:
total 1772
drwxrwxr-x 17 tomcat8 tomcat8 4096 Nov 2 09:20 .
drwxrwxr-x 3 tomcat8 tomcat8 4096 Sep 26 16:25 ..
drwxr-xr-x 3 root root 4096 Nov 2 09:20 conf
drwxrwsr-x 14 tomcat8 tomcat8 4096 Sep 26 18:00 docs
drwxrwsr-x 6 root root 4096 Oct 30 11:34 Etudiant
-rw-rwSr-- 1 root root 1741558 Oct 30 11:55 Etudiant.war
drwxrwsr-x 6 root tomcat8 4096 Oct 24 17:27 examples
drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 host-manager
drwxr-xr-x 2 root root 4096 Nov 2 09:20 logs
drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 manager
drwxrwsr-x 4 root root 4096 Nov 2 08:56 .metadata
drwxrwsr-x 4 root root 4096 Nov 1 19:43 .recommenders
drwxrwsr-x 3 tomcat8 tomcat8 4096 Sep 26 18:00 ROOT
drwxrwsr-x 4 root root 4096 Oct 30 10:48 Servers
drwxr-xr-x 2 root root 4096 Nov 2 09:20 temp
drwxr-xr-x 2 root root 4096 Nov 2 09:20 webapps
drwxr-xr-x 3 root root 4096 Nov 2 09:20 work
drwxr-xr-x 3 root root 4096 Nov 2 09:20 wtpwebapps









share|improve this question







New contributor




FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    I tried to manage permission on my tomcat group this morning to be able to access the /webapps folder through eclipse without having to run it as root.



    What i've already done:

    -Removed .lock file at .metadata in my /usr/share/tomcat8/webapps

    -Followed these steps to set up permissions the "right way" https://superuser.com/questions/632618/best-practice-for-access-permission-to-users-for-apache-tomcat



    Still eclipse won't open using this workspace as a non-root user. I get two error messages : this followed by this



    Here are some information of use.



    Operating System: Arch Linux
    Kernel Version: 4.18.16-arch1-1-ARCH



    [falkon@BlackHawk bin]$ pacman -Qi eclipse
    Name : eclipse-jee
    Version : 4.9-1
    Description : Highly extensible IDE for JEE
    Architecture : x86_64
    URL : https://eclipse.org
    Licenses : EPL
    Groups : None
    Provides : eclipse=4.9-1
    Depends On : eclipse-common java-environment>=8 webkit2gtk unzip
    Optional Deps : None
    Required By : None
    Optional For : None
    Conflicts With : eclipse
    Replaces : None
    Installed Size : 233.19 MiB
    Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
    Build Date : Wed 19 Sep 2018 10:35:43 PM +01
    Install Date : Wed 26 Sep 2018 01:43:36 PM +01
    Install Reason : Explicitly installed
    Install Script : No
    Validated By : Signature

    [falkon@BlackHawk bin]$ groups
    tomcat8 network wheel falkon
    [falkon@BlackHawk bin]$ ls -la /usr/share/tomcat8/ /usr/share/tomcat8/webapps/
    /usr/share/tomcat8/:
    total 32
    drwxr-xr-x 6 tomcat8 tomcat8 4096 Nov 2 09:11 .
    drwxr-xr-x 298 root root 12288 Nov 2 15:23 ..
    drwxr-xr-x 2 root root 4096 Nov 2 09:11 backup
    drwxr-xr-x 2 tomcat8 tomcat8 4096 Sep 26 18:00 bin
    lrwxrwxrwx 1 tomcat8 tomcat8 12 Sep 7 10:49 conf -> /etc/tomcat8
    drwxr-xr-x 6 tomcat8 tomcat8 4096 Oct 30 11:34 Ensa
    lrwxrwxrwx 1 tomcat8 tomcat8 23 Sep 7 10:49 lib -> /usr/share/java/tomcat8
    lrwxrwxrwx 1 tomcat8 tomcat8 16 Sep 7 10:49 logs -> /var/log/tomcat8
    lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 temp -> /var/tmp/tomcat8/temp
    lrwxrwxrwx 1 tomcat8 tomcat8 24 Sep 7 10:49 webapps -> /var/lib/tomcat8/webapps
    lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 work -> /var/tmp/tomcat8/work
    drwxr-xr-x 3 root root 4096 Nov 2 09:29 wtpwebapps

    /usr/share/tomcat8/webapps/:
    total 1772
    drwxrwxr-x 17 tomcat8 tomcat8 4096 Nov 2 09:20 .
    drwxrwxr-x 3 tomcat8 tomcat8 4096 Sep 26 16:25 ..
    drwxr-xr-x 3 root root 4096 Nov 2 09:20 conf
    drwxrwsr-x 14 tomcat8 tomcat8 4096 Sep 26 18:00 docs
    drwxrwsr-x 6 root root 4096 Oct 30 11:34 Etudiant
    -rw-rwSr-- 1 root root 1741558 Oct 30 11:55 Etudiant.war
    drwxrwsr-x 6 root tomcat8 4096 Oct 24 17:27 examples
    drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 host-manager
    drwxr-xr-x 2 root root 4096 Nov 2 09:20 logs
    drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 manager
    drwxrwsr-x 4 root root 4096 Nov 2 08:56 .metadata
    drwxrwsr-x 4 root root 4096 Nov 1 19:43 .recommenders
    drwxrwsr-x 3 tomcat8 tomcat8 4096 Sep 26 18:00 ROOT
    drwxrwsr-x 4 root root 4096 Oct 30 10:48 Servers
    drwxr-xr-x 2 root root 4096 Nov 2 09:20 temp
    drwxr-xr-x 2 root root 4096 Nov 2 09:20 webapps
    drwxr-xr-x 3 root root 4096 Nov 2 09:20 work
    drwxr-xr-x 3 root root 4096 Nov 2 09:20 wtpwebapps









    share|improve this question







    New contributor




    FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I tried to manage permission on my tomcat group this morning to be able to access the /webapps folder through eclipse without having to run it as root.



      What i've already done:

      -Removed .lock file at .metadata in my /usr/share/tomcat8/webapps

      -Followed these steps to set up permissions the "right way" https://superuser.com/questions/632618/best-practice-for-access-permission-to-users-for-apache-tomcat



      Still eclipse won't open using this workspace as a non-root user. I get two error messages : this followed by this



      Here are some information of use.



      Operating System: Arch Linux
      Kernel Version: 4.18.16-arch1-1-ARCH



      [falkon@BlackHawk bin]$ pacman -Qi eclipse
      Name : eclipse-jee
      Version : 4.9-1
      Description : Highly extensible IDE for JEE
      Architecture : x86_64
      URL : https://eclipse.org
      Licenses : EPL
      Groups : None
      Provides : eclipse=4.9-1
      Depends On : eclipse-common java-environment>=8 webkit2gtk unzip
      Optional Deps : None
      Required By : None
      Optional For : None
      Conflicts With : eclipse
      Replaces : None
      Installed Size : 233.19 MiB
      Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
      Build Date : Wed 19 Sep 2018 10:35:43 PM +01
      Install Date : Wed 26 Sep 2018 01:43:36 PM +01
      Install Reason : Explicitly installed
      Install Script : No
      Validated By : Signature

      [falkon@BlackHawk bin]$ groups
      tomcat8 network wheel falkon
      [falkon@BlackHawk bin]$ ls -la /usr/share/tomcat8/ /usr/share/tomcat8/webapps/
      /usr/share/tomcat8/:
      total 32
      drwxr-xr-x 6 tomcat8 tomcat8 4096 Nov 2 09:11 .
      drwxr-xr-x 298 root root 12288 Nov 2 15:23 ..
      drwxr-xr-x 2 root root 4096 Nov 2 09:11 backup
      drwxr-xr-x 2 tomcat8 tomcat8 4096 Sep 26 18:00 bin
      lrwxrwxrwx 1 tomcat8 tomcat8 12 Sep 7 10:49 conf -> /etc/tomcat8
      drwxr-xr-x 6 tomcat8 tomcat8 4096 Oct 30 11:34 Ensa
      lrwxrwxrwx 1 tomcat8 tomcat8 23 Sep 7 10:49 lib -> /usr/share/java/tomcat8
      lrwxrwxrwx 1 tomcat8 tomcat8 16 Sep 7 10:49 logs -> /var/log/tomcat8
      lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 temp -> /var/tmp/tomcat8/temp
      lrwxrwxrwx 1 tomcat8 tomcat8 24 Sep 7 10:49 webapps -> /var/lib/tomcat8/webapps
      lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 work -> /var/tmp/tomcat8/work
      drwxr-xr-x 3 root root 4096 Nov 2 09:29 wtpwebapps

      /usr/share/tomcat8/webapps/:
      total 1772
      drwxrwxr-x 17 tomcat8 tomcat8 4096 Nov 2 09:20 .
      drwxrwxr-x 3 tomcat8 tomcat8 4096 Sep 26 16:25 ..
      drwxr-xr-x 3 root root 4096 Nov 2 09:20 conf
      drwxrwsr-x 14 tomcat8 tomcat8 4096 Sep 26 18:00 docs
      drwxrwsr-x 6 root root 4096 Oct 30 11:34 Etudiant
      -rw-rwSr-- 1 root root 1741558 Oct 30 11:55 Etudiant.war
      drwxrwsr-x 6 root tomcat8 4096 Oct 24 17:27 examples
      drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 host-manager
      drwxr-xr-x 2 root root 4096 Nov 2 09:20 logs
      drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 manager
      drwxrwsr-x 4 root root 4096 Nov 2 08:56 .metadata
      drwxrwsr-x 4 root root 4096 Nov 1 19:43 .recommenders
      drwxrwsr-x 3 tomcat8 tomcat8 4096 Sep 26 18:00 ROOT
      drwxrwsr-x 4 root root 4096 Oct 30 10:48 Servers
      drwxr-xr-x 2 root root 4096 Nov 2 09:20 temp
      drwxr-xr-x 2 root root 4096 Nov 2 09:20 webapps
      drwxr-xr-x 3 root root 4096 Nov 2 09:20 work
      drwxr-xr-x 3 root root 4096 Nov 2 09:20 wtpwebapps









      share|improve this question







      New contributor




      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I tried to manage permission on my tomcat group this morning to be able to access the /webapps folder through eclipse without having to run it as root.



      What i've already done:

      -Removed .lock file at .metadata in my /usr/share/tomcat8/webapps

      -Followed these steps to set up permissions the "right way" https://superuser.com/questions/632618/best-practice-for-access-permission-to-users-for-apache-tomcat



      Still eclipse won't open using this workspace as a non-root user. I get two error messages : this followed by this



      Here are some information of use.



      Operating System: Arch Linux
      Kernel Version: 4.18.16-arch1-1-ARCH



      [falkon@BlackHawk bin]$ pacman -Qi eclipse
      Name : eclipse-jee
      Version : 4.9-1
      Description : Highly extensible IDE for JEE
      Architecture : x86_64
      URL : https://eclipse.org
      Licenses : EPL
      Groups : None
      Provides : eclipse=4.9-1
      Depends On : eclipse-common java-environment>=8 webkit2gtk unzip
      Optional Deps : None
      Required By : None
      Optional For : None
      Conflicts With : eclipse
      Replaces : None
      Installed Size : 233.19 MiB
      Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
      Build Date : Wed 19 Sep 2018 10:35:43 PM +01
      Install Date : Wed 26 Sep 2018 01:43:36 PM +01
      Install Reason : Explicitly installed
      Install Script : No
      Validated By : Signature

      [falkon@BlackHawk bin]$ groups
      tomcat8 network wheel falkon
      [falkon@BlackHawk bin]$ ls -la /usr/share/tomcat8/ /usr/share/tomcat8/webapps/
      /usr/share/tomcat8/:
      total 32
      drwxr-xr-x 6 tomcat8 tomcat8 4096 Nov 2 09:11 .
      drwxr-xr-x 298 root root 12288 Nov 2 15:23 ..
      drwxr-xr-x 2 root root 4096 Nov 2 09:11 backup
      drwxr-xr-x 2 tomcat8 tomcat8 4096 Sep 26 18:00 bin
      lrwxrwxrwx 1 tomcat8 tomcat8 12 Sep 7 10:49 conf -> /etc/tomcat8
      drwxr-xr-x 6 tomcat8 tomcat8 4096 Oct 30 11:34 Ensa
      lrwxrwxrwx 1 tomcat8 tomcat8 23 Sep 7 10:49 lib -> /usr/share/java/tomcat8
      lrwxrwxrwx 1 tomcat8 tomcat8 16 Sep 7 10:49 logs -> /var/log/tomcat8
      lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 temp -> /var/tmp/tomcat8/temp
      lrwxrwxrwx 1 tomcat8 tomcat8 24 Sep 7 10:49 webapps -> /var/lib/tomcat8/webapps
      lrwxrwxrwx 1 tomcat8 tomcat8 21 Sep 7 10:49 work -> /var/tmp/tomcat8/work
      drwxr-xr-x 3 root root 4096 Nov 2 09:29 wtpwebapps

      /usr/share/tomcat8/webapps/:
      total 1772
      drwxrwxr-x 17 tomcat8 tomcat8 4096 Nov 2 09:20 .
      drwxrwxr-x 3 tomcat8 tomcat8 4096 Sep 26 16:25 ..
      drwxr-xr-x 3 root root 4096 Nov 2 09:20 conf
      drwxrwsr-x 14 tomcat8 tomcat8 4096 Sep 26 18:00 docs
      drwxrwsr-x 6 root root 4096 Oct 30 11:34 Etudiant
      -rw-rwSr-- 1 root root 1741558 Oct 30 11:55 Etudiant.war
      drwxrwsr-x 6 root tomcat8 4096 Oct 24 17:27 examples
      drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 host-manager
      drwxr-xr-x 2 root root 4096 Nov 2 09:20 logs
      drwxrwsr-x 5 tomcat8 tomcat8 4096 Sep 26 18:00 manager
      drwxrwsr-x 4 root root 4096 Nov 2 08:56 .metadata
      drwxrwsr-x 4 root root 4096 Nov 1 19:43 .recommenders
      drwxrwsr-x 3 tomcat8 tomcat8 4096 Sep 26 18:00 ROOT
      drwxrwsr-x 4 root root 4096 Oct 30 10:48 Servers
      drwxr-xr-x 2 root root 4096 Nov 2 09:20 temp
      drwxr-xr-x 2 root root 4096 Nov 2 09:20 webapps
      drwxr-xr-x 3 root root 4096 Nov 2 09:20 work
      drwxr-xr-x 3 root root 4096 Nov 2 09:20 wtpwebapps






      command-line arch-linux eclipse






      share|improve this question







      New contributor




      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 43 mins ago









      FeatherAndInk

      12




      12




      New contributor




      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      FeatherAndInk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          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',
          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
          );



          );






          FeatherAndInk is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479434%2frights-permission-with-eclipse-on-arch%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          FeatherAndInk is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          FeatherAndInk is a new contributor. Be nice, and check out our Code of Conduct.












          FeatherAndInk is a new contributor. Be nice, and check out our Code of Conduct.











          FeatherAndInk is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479434%2frights-permission-with-eclipse-on-arch%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)