ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What Are You Doing Right Now

    Scheduled Pinned Locked Moved Water Closet
    time waster
    88.9k Posts 285 Posters 42.3m Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch @dafyre
      last edited by

      @dafyre said in What Are You Doing Right Now:

      @JaredBusch said in What Are You Doing Right Now:

      Guess I cannot update..
      0_1493142605403_upload-768ba591-b43d-4bb0-a98d-f90231eac1a8

      SELinux strikes again?

      nope.

      but if you look at the list. I assume the problem was some of the original owncloud style hardening I did.

      Some of the steps of my install process was to set varius ownership and folder/file permissions.

      [root@bna-nc ~]# ls -lZ /var/www/html/nextcloud/
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 3rdparty
      drwxr-x---. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 apps
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 AUTHORS
      drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 config
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 console.php
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 core
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 cron.php
      lrwxrwxrwx. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 data -> /home/nc_data
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 db_structure.xml
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 index.html
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 index.php
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 l10n
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 lib
      -rwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 occ
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs-provider
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 public.php
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 remote.php
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 resources
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 robots.txt
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 settings
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 status.php
      drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 themes
      drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 updater
      -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 version.php
      
      wirestyle22W 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by

        first thing it errs on is the ocs folder..

        drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs
        
        1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22 @JaredBusch
          last edited by wirestyle22

          @JaredBusch said in What Are You Doing Right Now:

          @dafyre said in What Are You Doing Right Now:

          @JaredBusch said in What Are You Doing Right Now:

          Guess I cannot update..
          0_1493142605403_upload-768ba591-b43d-4bb0-a98d-f90231eac1a8

          SELinux strikes again?

          nope.

          but if you look at the list. I assume the problem was some of the original owncloud style hardening I did.

          Some of the steps of my install process was to set varius ownership and folder/file permissions.

          [root@bna-nc ~]# ls -lZ /var/www/html/nextcloud/
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 3rdparty
          drwxr-x---. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 apps
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 AUTHORS
          drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 config
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 console.php
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 core
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 cron.php
          lrwxrwxrwx. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 data -> /home/nc_data
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 db_structure.xml
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 index.html
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 index.php
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 l10n
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 lib
          -rwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 occ
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs-provider
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 public.php
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 remote.php
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 resources
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 robots.txt
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 settings
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 status.php
          drwxr-x---. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 themes
          drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 updater
          -rw-r-----. root   apache unconfined_u:object_r:httpd_sys_content_t:s0 version.php
          

          what is ls -lZ? -Z is not a modifier listed in the man-pages

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @wirestyle22
            last edited by JaredBusch

            @wirestyle22 shows the SELinux context

            in mine. CentOS 7

            0_1493144980717_upload-447fff73-026e-43aa-8e99-6e8fbda1c6fd

            wirestyle22W 2 Replies Last reply Reply Quote 1
            • wirestyle22W
              wirestyle22 @JaredBusch
              last edited by wirestyle22

              @JaredBusch said in What Are You Doing Right Now:

              @wirestyle22 shows the SELinux context

              in mine. CentOS 7

              0_1493144980717_upload-447fff73-026e-43aa-8e99-6e8fbda1c6fd

              if you do rpm -qf $(man -w 2 chown) what is the output?

              mine is: man-pages-3.53-5.el7.noarch

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by

                And found the problem... FFS

                Securing your install breaks the updater. Says it right in the guide.

                https://docs.nextcloud.com/server/11/admin_manual/installation/installation_wizard.html#strong-perms-label

                0_1493145458958_upload-d31e679b-68b8-4141-ab96-cd31d30c5919

                1 Reply Last reply Reply Quote 2
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  What a pain in the ass.
                  https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
                  0_1493145558174_upload-2d291f53-3ca8-4a00-9222-33794e27c3df

                  dafyreD 1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre @JaredBusch
                    last edited by

                    @JaredBusch said in What Are You Doing Right Now:

                    What a pain in the ass.
                    https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
                    0_1493145558174_upload-2d291f53-3ca8-4a00-9222-33794e27c3df

                    Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @dafyre
                      last edited by JaredBusch

                      @dafyre said in What Are You Doing Right Now:

                      @JaredBusch said in What Are You Doing Right Now:

                      What a pain in the ass.
                      https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
                      0_1493145558174_upload-2d291f53-3ca8-4a00-9222-33794e27c3df

                      Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.

                      There is no CLI app. Are you inferring to use occ manually? That does not get arond the problem of getting the files replaced. that is only the upgrade command for the database. That runs with current permissions.

                      dafyreD 1 Reply Last reply Reply Quote 0
                      • dafyreD
                        dafyre @JaredBusch
                        last edited by dafyre

                        @JaredBusch said in What Are You Doing Right Now:

                        @dafyre said in What Are You Doing Right Now:

                        @JaredBusch said in What Are You Doing Right Now:

                        What a pain in the ass.
                        https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
                        0_1493145558174_upload-2d291f53-3ca8-4a00-9222-33794e27c3df

                        Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.

                        There is no CLI app. Are you inferring to use occ manually? That does not get arond the problem of getting the files replaced. that is only the upgrade command for the database. That runs with current permissions.

                        I thought that was supposed to do everything the web updater did.

                        Edit, yes, I am referrring to occ

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • wirestyle22W
                          wirestyle22 @JaredBusch
                          last edited by

                          @JaredBusch said in What Are You Doing Right Now:

                          @wirestyle22 shows the SELinux context

                          in mine. CentOS 7

                          0_1493144980717_upload-447fff73-026e-43aa-8e99-6e8fbda1c6fd

                          You did ls --help not man ls. That's why we have a disparity.

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • EddieJenningsE
                            EddieJennings
                            last edited by

                            Trying to get my little dokuwiki test working.

                            wirestyle22W 1 Reply Last reply Reply Quote 1
                            • wirestyle22W
                              wirestyle22 @EddieJennings
                              last edited by

                              @EddieJennings said in What Are You Doing Right Now:

                              Trying to get my little dokuwiki test working.

                              I want to make a wiki for all of our documentation here. That will be one of my projects.

                              EddieJenningsE 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @dafyre
                                last edited by

                                @dafyre said in What Are You Doing Right Now:

                                @JaredBusch said in What Are You Doing Right Now:

                                @dafyre said in What Are You Doing Right Now:

                                @JaredBusch said in What Are You Doing Right Now:

                                What a pain in the ass.
                                https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
                                0_1493145558174_upload-2d291f53-3ca8-4a00-9222-33794e27c3df

                                Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.

                                There is no CLI app. Are you inferring to use occ manually? That does not get arond the problem of getting the files replaced. that is only the upgrade command for the database. That runs with current permissions.

                                I thought that was supposed to do everything the web updater did.

                                Edit, yes, I am referrring to occ

                                No, occ does not and never has. The web update does has command line options it seems. but again. the issue is directory permissions for the extract from the compressed archive

                                1 Reply Last reply Reply Quote 0
                                • EddieJenningsE
                                  EddieJennings @wirestyle22
                                  last edited by

                                  @wirestyle22 said in What Are You Doing Right Now:

                                  @EddieJennings said in What Are You Doing Right Now:

                                  Trying to get my little dokuwiki test working.

                                  I want to make a wiki for all of our documentation here. That will be one of my projects.

                                  This is a documentation-becomes-wiki project as well as first-time-ever-dealing-with-apache-jump-in-and-try-to-swim project 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @wirestyle22
                                    last edited by JaredBusch

                                    @wirestyle22 said in What Are You Doing Right Now:

                                    @JaredBusch said in What Are You Doing Right Now:

                                    @wirestyle22 shows the SELinux context

                                    in mine. CentOS 7

                                    0_1493144980717_upload-447fff73-026e-43aa-8e99-6e8fbda1c6fd

                                    You did ls --help not man ls. That's why we have a disparity.

                                    nope. don't try and tell me what I fucking typed. You said man did not show it. so I typed man ls to prove it. Don't push your idiocy on me. I have enough of my own indiocy to deal with.

                                    wirestyle22W 2 Replies Last reply Reply Quote 0
                                    • wirestyle22W
                                      wirestyle22 @JaredBusch
                                      last edited by

                                      @JaredBusch said in What Are You Doing Right Now:

                                      @wirestyle22 said in What Are You Doing Right Now:

                                      @JaredBusch said in What Are You Doing Right Now:

                                      @wirestyle22 shows the SELinux context

                                      in mine. CentOS 7

                                      0_1493144980717_upload-447fff73-026e-43aa-8e99-6e8fbda1c6fd

                                      You did ls --help not man ls. That's why we have a disparity.

                                      nope.

                                      What version of man-pages are you using? The only thing I can think of is that mine are out of date?

                                      0_1493146885212_manpages.png

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        Like always, I start from CentOS 7 minimal.

                                        wirestyle22W 1 Reply Last reply Reply Quote 0
                                        • wirestyle22W
                                          wirestyle22 @JaredBusch
                                          last edited by

                                          @JaredBusch said in What Are You Doing Right Now:

                                          Like always, I start from CentOS 7 minimal.

                                          Telling me you start with CentOS minimal is like saying you start with flour when you make bread. I don't even think man-pages comes installed on the minimal install.

                                          JaredBuschJ DustinB3403D 2 Replies Last reply Reply Quote 0
                                          • wirestyle22W
                                            wirestyle22 @JaredBusch
                                            last edited by

                                            @JaredBusch said in What Are You Doing Right Now:

                                            Don't push your idiocy on me

                                            Being unintelligent and having a lack of knowledge are two different things. The only way I could recreate what I was seeing in your ss was using ls --help. It's completely reasonable for me to think that.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1978
                                            • 1979
                                            • 1980
                                            • 1981
                                            • 1982
                                            • 4443
                                            • 4444
                                            • 1980 / 4444
                                            • First post
                                              Last post