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

    Inside a datasets all files are copying read only files and how to change full controll permissions using commands

    Scheduled Pinned Locked Moved IT Discussion
    45 Posts 3 Posters 2.6k 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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      @Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:

      rsync -rvp --stats --delete /mnt/testvol/ [email protected]::test
      rsync -avz --stats --delete /mnt/testvol/ [email protected]::test
      rsync -arzp --stats --delete /mnt/testvol/ [email protected]::test

      I have a feeling you didn't read what I posted. All three of these do overlapping things. r, v and p are inclusive in a like I showed above. So you are testing the same thing over and over again. Why not stick to avz?

      1 Reply Last reply Reply Quote 1
      • G
        Ghani
        last edited by

        Dear Friend,

        I have used
        rsync -avz --stats --delete /mnt/testvol/ [email protected]::test this command. Remains the same error comes.

        I attached screenshot for your reference.

        0_1489135031237_error occur.PNG

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Ghani
          last edited by

          @Ghani Are you sure that all the same users and options exist at the other location?

          1 Reply Last reply Reply Quote 1
          • G
            Ghani
            last edited by

            Yes ...

            I created datasets with same name and assigned same windows permissions in both source and destination freenas. Source server is production server.
            Destination server is backup server. using rsync tools for backup.

            Friends ... i have doubt ?? , we assigned windows user permissions in all datasets. But we using rsync with root user login .. it happen any issue for permission transfer ?

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Try adding -AX to it as well. X is for the extended attributes.

              1 Reply Last reply Reply Quote 0
              • G
                Ghani
                last edited by

                rsync -AX --stats --delete /mnt/testvol/ [email protected]::test like this ???

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Add AX to what you had before.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Ghani @scottalanmiller
                    last edited by

                    @scottalanmiller

                    rsync -avzAX --stats --delete /mnt/testvol/ [email protected]::test like this ??? correct ?

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • G
                      Ghani
                      last edited by

                      Dear Friend ... same error happen again

                      0_1489151525285_rsync errors.PNG

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Ghani
                        last edited by

                        @Ghani said in Inside a datasets all files are copying read only files and how to change full controll permissions using commands:

                        @scottalanmiller

                        rsync -avzAX --stats --delete /mnt/testvol/ [email protected]::test like this ??? correct ?

                        Yes. That's what I was hoping for.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Ghani
                          last edited by

                          @Ghani so the question is... why would you not have permission on the second host?

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            Ghani @scottalanmiller
                            last edited by

                            @scottalanmiller

                            Already we set as same in all windows permissions in both source and destination created datasets. Then how ?

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 3
                            • 3 / 3
                            • First post
                              Last post