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

    Problem mounted file system (permission denied) [SOLVED]

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    17
    17.1k
    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.
    • SlowaveS
      Slowave
      last edited by

      Beast question:
      The user in the “storage Management” is the same user that have the permission ?

      1 Reply Last reply Reply Quote 0
      • S
        Seydoo
        last edited by

        here are the right on /images in /storage

        drwxrwxrwx 4 root root 4096 21 mai 09:29 images
        and for /dev in /images :
        drwxrwxrwx 2 root root 4096 21 mai 09:29 dev

        In storage management the user is default create by fog (username fog)

        1 Reply Last reply Reply Quote 0
        • SlowaveS
          Slowave
          last edited by Slowave

          Can you just try to put the user root in “Storage Management” and test the upload ?

          And on your server:

          ls -laR /images

          1 Reply Last reply Reply Quote 0
          • T
            TheKoR
            last edited by

            Change /etc/export to :

            /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
            /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)
            /storage/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3,)
            /storage/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4,)

            Ubuntu 13.10 - Fog 1.3.0
            XEON E5630 - 16 Go - 6To raid 5
            Best download : 22Go in 23 sec
            Avg rate : 4.5G/min on 20 unicasts at same time

            1 Reply Last reply Reply Quote 0
            • S
              Seydoo
              last edited by

              @TheKoR said:

              Change /etc/export to :

              /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
              /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)
              /storage/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3,)
              /storage/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4,)

              Done but problem still exist
              do i have to del /images lines and just keep /storage lines ?

              Here is a recap of my tree :

              /images
              /images/dev
              /images/postdownloadscripts
              /storage
              /storage/images
              /storage/images/dev
              /storage/images/postdownloadscripts

              In storage management image path is /storage/images

              1 Reply Last reply Reply Quote 0
              • S
                Seydoo
                last edited by

                Something strange in the error is this section :

                Checking Mounted File System …mounting x.x.x.:/folder/images/dev on /images failed : permission denied

                in wiki the “mounting on” isn’t present, could it be the real problem and if yes how can i change this ?

                1 Reply Last reply Reply Quote 0
                • T
                  TheKoR
                  last edited by

                  DOn’t remove line int fstab

                  In your webgui : Image Path : /storage/images ? and good Management Username /password

                  Ubuntu 13.10 - Fog 1.3.0
                  XEON E5630 - 16 Go - 6To raid 5
                  Best download : 22Go in 23 sec
                  Avg rate : 4.5G/min on 20 unicasts at same time

                  1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator @Seydoo
                    last edited by

                    @Seydoo said:

                    /storage

                    Hi,

                    Your /storage is a local storage or a NFS mount from another system (like Other server, NAS, …)

                    Regards,
                    Ch3i.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Seydoo
                      last edited by Seydoo

                      @ch3i said:

                      @Seydoo said:

                      /storage

                      Hi,

                      Your /storage is a local storage or a NFS mount from another system (like Other server, NAS, …)

                      Regards,
                      Ch3i.

                      My /storage is a local storage with all permission (chmod 777)

                      I just see in my webgui in image management a curious message :
                      I juste have 1 image created
                      image name : my image name
                      image size : ON CLIENT : 0.00iB
                      Image Size : ON SERVER : FOGFTP : Login failed. Host x.x.x.x, Username: Fog, Password: password (defautlt i didnt touch it for the moment), Error: ftp_login(): Login incorrect

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @Seydoo
                        last edited by

                        @Seydoo Have you the .mntcheck in /storage/images and /storage/images/dev ?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Seydoo @ch3i
                          last edited by

                          @ch3i said:

                          @Seydoo Have you the .mntcheck in /storage/images and /storage/images/dev ?

                          y es I have it (created with touch command)

                          1 Reply Last reply Reply Quote 0
                          • S
                            Seydoo
                            last edited by

                            My problem is solve, due to a bad password (user fog on linux with not the same password than fog tftp user)
                            tanks to ch3i for his help

                            ch3iC 1 Reply Last reply Reply Quote 1
                            • ch3iC
                              ch3i Moderator @Seydoo
                              last edited by

                              @Seydoo said:

                              My problem is solve, due to a bad password (user fog on linux with not the same password than fog tftp user)
                              tanks to ch3i for his help

                              The problem was that you have a password policy that does not accept the password “password”.

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

                              133

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project