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

    FTP Windows Storage Node

    Scheduled Pinned Locked Moved
    General Problems
    2
    12
    1.2k
    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.
    • V
      Victor.R @george1421
      last edited by

      @george1421 it is not a problem of identification or permissions. Because in FTP connection, cd /images, mkdir (I finds well the folder created in the windows storage) and ls is good works.

      The problem is that windows is not managed by the CHMOD.

      Is it possible to remove the CHMOD function from the capture process?

      george1421G 2 Replies Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Victor.R
        last edited by george1421

        @victor-r said in FTP Windows Storage Node:

        The problem is that windows is not managed by the CHMOD.
        Is it possible to remove the CHMOD function from the capture process?

        OK I totally missed something here, how did windows get involved with the FOG imaging or replication process? Are you using a windows server as a storage node?

        Edit: duh, the very first line of your post. I do have to say that FOG doesn’t support Windows storage node even if I created a tutorial on it. That tutorial is several years old.

        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!

        V 1 Reply Last reply Reply Quote 0
        • V
          Victor.R @george1421
          last edited by

          @george1421 said in FTP Windows Storage Node:

          FOG doesn’t support Windows storage node

          All right, so at the present time FOG doesn’t support Windows storage node and so there is no sollution for my problem.
          Will Fog ever support storage windows?

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Victor.R
            last edited by

            @victor-r So if you want to hack up fog there is a way.

            vi /var/www/html/fog/lib/fog/fogftp.class.php

            This section of code

                126     public function chmod(
                127         $mode,
                128         $filename
                129     ) {
                130         if (!$mode) {
                131             $mode = $this->get('mode');
                132         }
                133         @ftp_chmod(
                134             $this->_link,
                135             $mode,
                136             $filename
                137         );
                138         return $this;
                139     }
            
            

            remove lines 133 to 137
            save the file and reboot the master node.

            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!

            V 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Victor.R
              last edited by

              @victor-r said in FTP Windows Storage Node:

              Will Fog ever support storage windows?

              There is no plans as far as I know to allow Windows to function as a FOG storage node unless you can run a linux subsystem on 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!

              V 1 Reply Last reply Reply Quote 0
              • V
                Victor.R @george1421
                last edited by Victor.R

                @george1421 I think the best sollution is a NAS.

                1 Reply Last reply Reply Quote 0
                • V
                  Victor.R @george1421
                  last edited by

                  @george1421 I will try this.

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @Victor.R
                    last edited by

                    @victor-r said in FTP Windows Storage Node:

                    I will try this.

                    Worst you can do is break your FOG server…

                    Just rerun the installer and it will fix everything you tweak in the code.

                    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!

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      Victor.R @george1421
                      last edited by

                      @george1421 said in FTP Windows Storage Node:

                      Worst you can do is break your FOG server…

                      Editing the file (remove lines 133 to 137) does not work?

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Victor.R
                        last edited by

                        @victor-r Interesting… there must be some other code that is doing that. Rerun the fog installer to put things back.

                        Just to be sure I’m looking in the right area, you are trying to replicate your images from the FOG server to the windows storage node or are you trying to capture directly to a windows storage node?

                        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
                        • 1 / 1
                        • First post
                          Last post

                        168

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project