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

Protected Snapins

Scheduled Pinned Locked Moved
Feature Request
3
6
1.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.
  • J
    Joseph Hales Testers
    last edited by Apr 15, 2015, 9:42 PM

    Can we add a protected check box to the snapins like we have for the images to prevent unintentional deletion.

    RTFM

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Tom Elliott Aug 29, 2015, 5:26 PM Apr 15, 2015, 10:06 PM

      They should only be deleted if you actually delete the snapin and say yes to delete the file. The images are a bit more necessary due to time to upload and image and simplicity of overwriting an image. On snapins, you’d have to choose a new file with the same name to make it suddenly delete. At the file level though, the good ol’

      chattr +i <filename>
      

      will do the trick so well even the root user can’t delete it or overwrite it.

      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

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Tom Elliott Aug 29, 2015, 5:27 PM Apr 15, 2015, 10:47 PM

        They should only be deleted if you actually delete the snapin and say yes to delete the file. The images are a bit more necessary due to time to upload and image and simplicity of overwriting an image. On snapins, you’d have to choose a new file with the same name to make it suddenly delete. At the file level though, the good ol’

        chattr +i <filename>
        

        will do the trick so well even the root user can’t delete it or overwrite it.

        #Awesome

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • J
          Joseph Hales Testers
          last edited by Apr 15, 2015, 10:53 PM

          I still have the files I just had to look up and recreate all the arguments which was annoying.

          RTFM

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Apr 15, 2015, 11:56 PM

            3257 add’s protection to snapins now.

            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

            1 Reply Last reply Reply Quote 0
            • J
              Joseph Hales Testers
              last edited by Apr 16, 2015, 2:56 AM

              Hazza!!!

              RTFM

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                6/6
                Last post

              171

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project