Results 1 to 4 of 4

Thread: set file permissions right for synchronizing network folders

  1. #1
    Join Date
    May 2007
    Beans
    408
    Distro
    Ubuntu 20.04 Focal Fossa

    set file permissions right for synchronizing network folders

    Problem: trying to synchronize network folders using grsync I continuously get error messages indicating "permission denied"

    Here is how I do it: I mount the source folder on the target machine. User on source machine and target machine are the same, thus the file permissions should be set correctly. I have played around setting permissions using chmod -R (recoursively) but sometimes still get error messages.

    Here are my questions: if I mount a network folder from machine A (source folder) to a folder on machine B (target folder) and run grsync on machine B how do I have to set the permissions in order to have a complete clone of the source folder in the target folder?

  2. #2
    Join Date
    Apr 2007
    Beans
    3,111
    Distro
    Ubuntu

    Re: set file permissions right for synchronizing network folders

    You do not indicate how the network folder is mounted. This determines whether the mount supports linux permissions or not.

  3. #3
    Join Date
    May 2007
    Beans
    408
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: set file permissions right for synchronizing network folders

    sudo mount -t cifs //ip/<source-share> /<target-share>

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: set file permissions right for synchronizing network folders

    Thread closed by request.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •