• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Permission Denied Capture

Scheduled Pinned Locked Moved
FOG Problems
5
23
3.9k
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.
  • D
    Detoss
    last edited by Dec 9, 2020, 2:07 PM

    Currently I have a Centos Fog server, I added more space on another drive. And Fog website has been setup as an additional and it shows Its been added and working. But when I try to capture an image to that storage node I get the error below.

    Permission Denied:

    Reason: mounting (ip) /image/dev/ on /images failed: Permission Denied.

    I am pretty sure it deals with my .fogsettings

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 9, 2020, 4:28 PM

      @Detoss Please give us some more information. Let’s start with some basics like the FOG version you use?

      And Fog website has been setup as an additional and it shows Its been added and working.

      What do you mean by that?

      Please run the following commands on your FOG server and post output here:

      cat /etc/exports
      ls -alR /images
      df -h
      

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      D W 2 Replies Last reply Dec 9, 2020, 6:04 PM Reply Quote 0
      • D
        Detoss @Sebastian Roth
        last edited by Sebastian Roth Dec 9, 2020, 2:25 PM Dec 9, 2020, 6:04 PM

        @sebastian-roth 1.5.9 is the Version-

        [root@fog ~]# cat /etc/exports
        /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
        /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
        
        [root@fog ~]# ls -alR /images
        /images:
        total 0
        drwxrwxrwx.  6 fogproject root  89 Nov 23 15:02 .
        dr-xr-xr-x. 21 root       root 288 Nov 16 16:57 ..
        drwxrwxrwx.  4 fogproject root  66 Nov 23 15:02 dev
        drwxrwxrwx.  2 root       root 254 Nov 19 15:22 INFRA
        drwxrwxrwx.  2 root       root 206 Nov 23 15:02 INSTALL
        -rwxrwxrwx.  1 fogproject root   0 Nov 16 16:57 .mntcheck
        drwxrwxrwx.  2 fogproject root  30 Nov 16 16:57 postdownloadscripts
        
        /images/dev:
        total 0
        drwxrwxrwx. 4 fogproject root  66 Nov 23 15:02 .
        drwxrwxrwx. 6 fogproject root  89 Nov 23 15:02 ..
        drwxrwxrwx. 2 root       root 210 Nov 19 15:02 544810d0c6ac
        -rwxrwxrwx. 1 fogproject root   0 Nov 16 16:57 .mntcheck
        drwxrwxrwx. 2 fogproject root  26 Nov 16 16:57 postinitscripts
        
        /images/dev/544810d0c6ac:
        total 38676
        drwxrwxrwx. 2 root       root      210 Nov 19 15:02 .
        drwxrwxrwx. 4 fogproject root       66 Nov 23 15:02 ..
        -rw-r--r--. 1 root       root       12 Nov 19 15:02 d1.fixed_size_partitions
        -rw-r--r--. 1 root       root  1048576 Nov 19 15:02 d1.mbr
        -rw-r--r--. 1 root       root     1191 Nov 19 15:02 d1.minimum.partitions
        -rw-r--r--. 1 root       root       15 Nov 19 15:02 d1.original.fstypes
        -rw-r--r--. 1 root       root        0 Nov 19 15:02 d1.original.swapuuids
        -rw-r--r--. 1 root       root 38262788 Nov 19 15:02 d1p1.img
        -rw-r--r--. 1 root       root   269100 Nov 19 15:02 d1p2.img
        -rw-r--r--. 1 root       root       20 Nov 19 15:02 d1p3.img.000
        -rw-r--r--. 1 root       root     1191 Nov 19 15:02 d1.partitions
        
        /images/dev/postinitscripts:
        total 4
        drwxrwxrwx. 2 fogproject root  26 Nov 16 16:57 .
        drwxrwxrwx. 4 fogproject root  66 Nov 23 15:02 ..
        -rwxrwxrwx. 1 fogproject root 249 Nov 16 16:57 fog.postinit
        
        /images/INFRA:
        total 32876204
        drwxrwxrwx. 2 root       root         254 Nov 19 15:22 .
        drwxrwxrwx. 6 fogproject root          89 Nov 23 15:02 ..
        -rwxrwxrwx. 1 root       root           6 Nov 19 15:10 d1.fixed_size_partitions
        -rwxrwxrwx. 1 root       root     1048576 Nov 19 15:10 d1.mbr
        -rwxrwxrwx. 1 root       root        1217 Nov 19 15:10 d1.minimum.partitions
        -rwxrwxrwx. 1 root       root          80 Nov 19 15:10 d1.original.fstypes
        -rwxrwxrwx. 1 root       root           0 Nov 19 15:09 d1.original.swapuuids
        -rwxrwxrwx. 1 root       root    51057535 Nov 19 15:11 d1p1.img
        -rwxrwxrwx. 1 root       root      269157 Nov 19 15:11 d1p2.img
        -rwxrwxrwx. 1 root       root 18166546216 Nov 19 15:18 d1p3.img
        -rwxrwxrwx. 1 root       root   551758402 Nov 19 15:18 d1p4.img
        -rwxrwxrwx. 1 root       root 14113867255 Nov 19 15:21 d1p5.img
        -rwxrwxrwx. 1 root       root   780659205 Nov 19 15:22 d1p6.img
        -rwxrwxrwx. 1 root       root        1217 Nov 19 15:09 d1.partitions
        
        /images/INSTALL:
        total 12453868
        drwxrwxrwx. 2 root       root         206 Nov 23 15:02 .
        drwxrwxrwx. 6 fogproject root          89 Nov 23 15:02 ..
        -rwxrwxrwx. 1 root       root           4 Nov 23 14:54 d1.fixed_size_partitions
        -rwxrwxrwx. 1 root       root     1048576 Nov 23 14:55 d1.mbr
        -rwxrwxrwx. 1 root       root         266 Nov 23 14:55 d1.minimum.partitions
        -rwxrwxrwx. 1 root       root          15 Nov 23 14:54 d1.original.fstypes
        -rwxrwxrwx. 1 root       root           0 Nov 23 14:54 d1.original.swapuuids
        -rwxrwxrwx. 1 root       root    10678071 Nov 23 14:55 d1p1.img
        -rwxrwxrwx. 1 root       root 12284800232 Nov 23 15:02 d1p2.img
        -rwxrwxrwx. 1 root       root   456215178 Nov 23 15:02 d1p3.img
        -rwxrwxrwx. 1 root       root         266 Nov 23 14:54 d1.partitions
        
        /images/postdownloadscripts:
        total 4
        drwxrwxrwx. 2 fogproject root  30 Nov 16 16:57 .
        drwxrwxrwx. 6 fogproject root  89 Nov 23 15:02 ..
        -rwxrwxrwx. 1 fogproject root 235 Nov 16 16:57 fog.postdownload
        
        [root@fog ~]# df -h
        Filesystem                Size  Used Avail Use% Mounted on
        devtmpfs                  1.9G     0  1.9G   0% /dev
        tmpfs                     1.9G     0  1.9G   0% /dev/shm
        tmpfs                     1.9G  8.6M  1.9G   1% /run
        tmpfs                     1.9G     0  1.9G   0% /sys/fs/cgroup
        /dev/mapper/centos-root    50G   47G  3.8G  93% /
        /dev/mapper/centos-image  186G   33M  185G   1% /image
        /dev/sda1                1014M  182M  833M  18% /boot
        tmpfs                     379M     0  379M   0% /run/user/0
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Dec 9, 2020, 2:29 PM Dec 9, 2020, 8:26 PM

          @Detoss Seems like a little typo can make a huge difference. While I am still not really sure I think you use /image as well as /images.

          While /images is on your root partition using up that space you might run into an issue with that. Seems like you wanted to move things to a separate partition but that didn’t work. Tell us more about what you have tried to setup here.

          Please run ls -alR /image and post output here as well.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          D 1 Reply Last reply Dec 10, 2020, 1:59 PM Reply Quote 0
          • D
            Detoss @Sebastian Roth
            last edited by Dec 10, 2020, 1:59 PM

            @sebastian-roth Well hopefully there’s an easy way to correct this or just point my images to it since its where the majority of space is.

            [root@fog ~]# ls -alR /image
            /image:
            total 0
            drwxr-xr-x. 2 root root 6 Nov 10 16:17 .
            dr-xr-xr-x. 21 root root 288 Nov 16 16:57 …

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Dec 10, 2020, 4:47 PM

              @Detoss As the /image (no ‘s’ at the end) directory is completely empty you can simply move all your stuff into that and re-mount as /images. Run as root:

              mv /images/.mntcheck /image/
              mv /images/* /image/
              

              Now edit the file /etc/fstab and change /image to /images in there. Now reboot your whole server and run df -h after the reboot to make sure the images are now on the other volume.

              As well double check the storage node settings in the FOG web UI to point to /images (as it should by default).

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              D 2 Replies Last reply Dec 14, 2020, 3:11 PM Reply Quote 0
              • W
                Will @Sebastian Roth
                last edited by Dec 10, 2020, 10:58 PM

                @sebastian-roth said in Permission Denied Capture:

                @Detoss Please give us some more information. Let’s start with some basics like the FOG version you use?

                And Fog website has been setup as an additional and it shows Its been added and working.

                What do you mean by that?

                Please run the following commands on your FOG server and post output here:

                cat /etc/exports
                ls -alR /images
                df -h
                

                I have encountered the same issue when I want to save the image on to another folder on a RAID1 which uses soft link.
                When trying to capture the image and save it to the RAID1 folder, FOG says “Permission denied”, even its being configured as 777

                george1421G 1 Reply Last reply Dec 11, 2020, 12:26 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Dec 11, 2020, 11:57 AM

                  @Will This topic is not about a soft link like you seem to have it. Please open your own topic and post all your details there. There is no point in cross posting a different issue here.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @Will
                    last edited by Dec 11, 2020, 12:26 PM

                    @will I agree please create your own post. There are several things you can do pretty easily, its just not proper to confuse this thread.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                    1 Reply Last reply Reply Quote 0
                    • D
                      Detoss @Sebastian Roth
                      last edited by Sebastian Roth Dec 14, 2020, 10:40 AM Dec 14, 2020, 3:11 PM

                      @sebastian-roth Okay it is now showing this!

                      [root@fog ~]# df -h
                      Filesystem                Size  Used Avail Use% Mounted on
                      devtmpfs                  1.9G     0  1.9G   0% /dev
                      tmpfs                     1.9G     0  1.9G   0% /dev/shm
                      tmpfs                     1.9G  8.6M  1.9G   1% /run
                      tmpfs                     1.9G     0  1.9G   0% /sys/fs/cgroup
                      /dev/mapper/centos-root    50G  3.0G   48G   6% /
                      /dev/mapper/centos-image  186G   44G  142G  24% /images
                      /dev/sda1                1014M  182M  833M  18% /boot
                      tmpfs                     379M     0  379M   0% /run/user/0
                      [root@fog ~]#
                      

                      I will be trying it soon as I am back in the office.

                      Thank you again for the help!

                      1 Reply Last reply Reply Quote 1
                      • D
                        Detoss @Sebastian Roth
                        last edited by Dec 14, 2020, 6:21 PM

                        @sebastian-roth I tried to image again, now getting Partclone fail which is a first for me- Is this related or another topic I need to open?

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Dec 14, 2020, 8:24 PM

                          @Detoss Please Post a picture of the error screen. You might post it here as we are not sure if it’s related or not.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          D 1 Reply Last reply Dec 14, 2020, 9:28 PM Reply Quote 0
                          • D
                            Detoss @Sebastian Roth
                            last edited by Dec 14, 2020, 9:28 PM

                            @sebastian-roth Is there somewhere I can grab the error log? Or do is a picture fine from my cell.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Dec 15, 2020, 6:08 AM

                              @Detoss Just take a picture and upload here or on an external server and post a link.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              D 1 Reply Last reply Dec 15, 2020, 3:13 PM Reply Quote 0
                              • D
                                Detoss @Sebastian Roth
                                last edited by Dec 15, 2020, 3:13 PM

                                @sebastian-roth Here is what I got 90% into capture.

                                https://ibb.co/2vcBMyh
                                https://ibb.co/Hqk9Qcg
                                https://ibb.co/HBvMLN6

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Dec 15, 2020, 8:24 PM

                                  @Detoss Those errors point to FOG was not able to move the captured image from /images/dev/b07b2549fe0a to /images/CSR-2020 after it successfully uploaded.

                                  You can manually move it: sudo mv /images/dev/b07b2549fe0a /images/CSR-2020

                                  Possible the automatic move did not work because of a permission issue. Please run ls -alR /images now that you’ve moved things and post output here again.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  D 1 Reply Last reply Dec 15, 2020, 10:38 PM Reply Quote 0
                                  • D
                                    Detoss @Sebastian Roth
                                    last edited by Sebastian Roth Dec 16, 2020, 11:23 AM Dec 15, 2020, 10:38 PM

                                    @sebastian-roth

                                    [root@fog ~]# ls -alR /images
                                    /images:
                                    total 0
                                    drwxr-xr-x.  6 root       root  89 Dec 14 08:47 .
                                    dr-xr-xr-x. 21 root       root 288 Nov 16 16:57 ..
                                    drwxrwxrwx.  6 fogproject root 106 Dec 15 08:36 dev
                                    drwxrwxrwx.  2 root       root   6 Dec 14 11:47 INFRA
                                    drwxrwxrwx.  2 root       root 206 Nov 23 15:02 INSTALL
                                    -rwxrwxrwx.  1 fogproject root   0 Nov 16 16:57 .mntcheck
                                    drwxrwxrwx.  2 fogproject root  30 Nov 16 16:57 postdownloadscripts
                                    
                                    /images/dev:
                                    total 0
                                    drwxrwxrwx. 6 fogproject root 106 Dec 15 08:36 .
                                    drwxr-xr-x. 6 root       root  89 Dec 14 08:47 ..
                                    drwxrwxrwx. 2 root       root 210 Nov 19 15:02 544810d0c6ac
                                    drwxrwxrwx. 2 root       root 210 Dec 14 12:16 b07b2549fd56
                                    drwxrwxrwx. 2 root       root 254 Dec 15 08:48 b07b2549fe0a
                                    -rwxrwxrwx. 1 fogproject root   0 Nov 16 16:57 .mntcheck
                                    drwxrwxrwx. 2 fogproject root  26 Nov 16 16:57 postinitscripts
                                    
                                    /images/dev/544810d0c6ac:
                                    total 38676
                                    drwxrwxrwx. 2 root       root      210 Nov 19 15:02 .
                                    drwxrwxrwx. 6 fogproject root      106 Dec 15 08:36 ..
                                    -rw-r--r--. 1 root       root       12 Nov 19 15:02 d1.fixed_size_partitions
                                    -rw-r--r--. 1 root       root  1048576 Nov 19 15:02 d1.mbr
                                    -rw-r--r--. 1 root       root     1191 Nov 19 15:02 d1.minimum.partitions
                                    -rw-r--r--. 1 root       root       15 Nov 19 15:02 d1.original.fstypes
                                    -rw-r--r--. 1 root       root        0 Nov 19 15:02 d1.original.swapuuids
                                    -rw-r--r--. 1 root       root 38262788 Nov 19 15:02 d1p1.img
                                    -rw-r--r--. 1 root       root   269100 Nov 19 15:02 d1p2.img
                                    -rw-r--r--. 1 root       root       20 Nov 19 15:02 d1p3.img.000
                                    -rw-r--r--. 1 root       root     1191 Nov 19 15:02 d1.partitions
                                    
                                    /images/dev/b07b2549fd56:
                                    total 43776
                                    drwxrwxrwx. 2 root       root      210 Dec 14 12:16 .
                                    drwxrwxrwx. 6 fogproject root      106 Dec 15 08:36 ..
                                    -rw-r--r--. 1 root       root       10 Dec 14 12:15 d1.fixed_size_partitions
                                    -rw-r--r--. 1 root       root  1048576 Dec 14 12:15 d1.mbr
                                    -rw-r--r--. 1 root       root     1225 Dec 14 12:15 d1.minimum.partitions
                                    -rw-r--r--. 1 root       root       60 Dec 14 12:15 d1.original.fstypes
                                    -rw-r--r--. 1 root       root        0 Dec 14 12:15 d1.original.swapuuids
                                    -rw-r--r--. 1 root       root 43484674 Dec 14 12:15 d1p1.img
                                    -rw-r--r--. 1 root       root   269159 Dec 14 12:16 d1p2.img
                                    -rw-r--r--. 1 root       root       20 Dec 14 12:16 d1p3.img.000
                                    -rw-r--r--. 1 root       root     1225 Dec 14 12:15 d1.partitions
                                    
                                    /images/dev/b07b2549fe0a:
                                    total 38506376
                                    drwxrwxrwx. 2 root       root         254 Dec 15 08:48 .
                                    drwxrwxrwx. 6 fogproject root         106 Dec 15 08:36 ..
                                    -rwxrwxrwx. 1 root       root           8 Dec 15 08:36 d1.fixed_size_partitions
                                    -rwxrwxrwx. 1 root       root     1048576 Dec 15 08:36 d1.mbr
                                    -rwxrwxrwx. 1 root       root        1225 Dec 15 08:36 d1.minimum.partitions
                                    -rwxrwxrwx. 1 root       root          60 Dec 15 08:36 d1.original.fstypes
                                    -rwxrwxrwx. 1 root       root           0 Dec 15 08:36 d1.original.swapuuids
                                    -rwxrwxrwx. 1 root       root    43479518 Dec 15 08:36 d1p1.img
                                    -rwxrwxrwx. 1 root       root      269153 Dec 15 08:36 d1p2.img
                                    -rwxrwxrwx. 1 root       root 23596927308 Dec 15 08:45 d1p3.img
                                    -rwxrwxrwx. 1 root       root   470632049 Dec 15 08:45 d1p4.img
                                    -rwxrwxrwx. 1 root       root 14533669671 Dec 15 08:48 d1p5.img
                                    -rwxrwxrwx. 1 root       root   784473335 Dec 15 08:48 d1p6.img
                                    -rwxrwxrwx. 1 root       root        1225 Dec 15 08:36 d1.partitions
                                    
                                    /images/dev/postinitscripts:
                                    total 4
                                    drwxrwxrwx. 2 fogproject root  26 Nov 16 16:57 .
                                    drwxrwxrwx. 6 fogproject root 106 Dec 15 08:36 ..
                                    -rwxrwxrwx. 1 fogproject root 249 Nov 16 16:57 fog.postinit
                                    
                                    /images/INFRA:
                                    total 0
                                    drwxrwxrwx. 2 root root  6 Dec 14 11:47 .
                                    drwxr-xr-x. 6 root root 89 Dec 14 08:47 ..
                                    
                                    /images/INSTALL:
                                    total 12453868
                                    drwxrwxrwx. 2 root root         206 Nov 23 15:02 .
                                    drwxr-xr-x. 6 root root          89 Dec 14 08:47 ..
                                    -rwxrwxrwx. 1 root root           4 Nov 23 14:54 d1.fixed_size_partitions
                                    -rwxrwxrwx. 1 root root     1048576 Nov 23 14:55 d1.mbr
                                    -rwxrwxrwx. 1 root root         266 Nov 23 14:55 d1.minimum.partitions
                                    -rwxrwxrwx. 1 root root          15 Nov 23 14:54 d1.original.fstypes
                                    -rwxrwxrwx. 1 root root           0 Nov 23 14:54 d1.original.swapuuids
                                    -rwxrwxrwx. 1 root root    10678071 Nov 23 14:55 d1p1.img
                                    -rwxrwxrwx. 1 root root 12284800232 Nov 23 15:02 d1p2.img
                                    -rwxrwxrwx. 1 root root   456215178 Nov 23 15:02 d1p3.img
                                    -rwxrwxrwx. 1 root root         266 Nov 23 14:54 d1.partitions
                                    
                                    /images/postdownloadscripts:
                                    total 4
                                    drwxrwxrwx. 2 fogproject root  30 Nov 16 16:57 .
                                    drwxr-xr-x. 6 root       root  89 Dec 14 08:47 ..
                                    -rwxrwxrwx. 1 fogproject root 235 Nov 16 16:57 fog.postdownload
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Dec 16, 2020, 5:22 PM

                                      @Detoss Update the permissions like this sudo chmod 777 /images and then try another capture.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      D 1 Reply Last reply Dec 16, 2020, 10:56 PM Reply Quote 0
                                      • D
                                        Detoss @Sebastian Roth
                                        last edited by Dec 16, 2020, 10:56 PM

                                        @sebastian-roth AH! that worked, may I ask what is the purpose or how it worked? I am trying to understand Linux better.

                                        T 1 Reply Last reply Dec 17, 2020, 12:54 AM Reply Quote 0
                                        • T
                                          Tom Elliott @Detoss
                                          last edited by Tom Elliott Dec 16, 2020, 6:57 PM Dec 17, 2020, 12:54 AM

                                          @detoss so getting very much details.

                                          -rwxrwxrwx is what you see files appear as. Similar for directory but the 1st dash will usually be a d, denoting directory.

                                          Notice there are 3 groups of rwx.

                                          r=read=4
                                          w=write=2
                                          x=execute=1

                                          First grouping rwx (left to right) = owner
                                          Second grouping rwx = group
                                          Third grouping rwx = other/everyone

                                          So to make owner group and other have max permissions

                                          777

                                          Does this make sense or at least start to help?

                                          There are other pieces to this but this is most likely what most people want to understand.

                                          The chmod command is short for change mode. Mode here basically means permissions.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                          D 1 Reply Last reply Dec 21, 2020, 5:27 PM Reply Quote 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            18/23
                                            Last post

                                          163

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project