Results 1 to 7 of 7

Thread: during backup, rsync lacks permision to create dir or open file over NFS

  1. #1
    Join Date
    Nov 2008
    Location
    Northern VA
    Posts
    359

    Default during backup, rsync lacks permision to create dir or open file over NFS

    Hi, Have shared a backup directory on an openSuse 13.1 machine (server) with rw permissions for any host on the subnet (192.168.x.x.). Ownership of both client and server is given to the same user name. But have what seem to be permissions problems and I'm not sure what to look for. A client machine (also openSuse 13.1) needs to be root to mount the NFS directory on the server, but after that the client user can read and write there. Running rsync from the client to back it's files to the server over NFS works only partly; if a new directory is needed the transfer fails with the message that permissions are not sufficient to create a directory. The user login and UID are the same on both machines. My hope is that this is not the intended behavior of rsync and that I need to tweak the config to make backups go smoothly, Thanks in advance.
    Leap/KDE and a film-based photographer

  2. #2

    Default Re: during backup, rsync lacks permision to create dir or open fileover NFS

    On 03/14/2014 01:56 PM, konsultor pecked at the keyboard and wrote:
    > Hi, Have shared a backup directory on an openSuse 13.1 machine (server)
    > with rw permissions for any host on the subnet (192.168.x.x.).
    > Ownership of both client and server is given to the same user name. But
    > have what seem to be permissions problems and I'm not sure what to look
    > for. A client machine (also openSuse 13.1) needs to be root to mount
    > the NFS directory on the server, but after that the client user can read
    > and write there. Running rsync from the client to back it's files to the
    > server over NFS works only partly; if a new directory is needed the
    > transfer fails with the message that permissions are not sufficient to
    > create a directory. The user login and UID are the same on both
    > machines. My hope is that this is not the intended behavior of rsync
    > and that I need to tweak the config to make backups go smoothly, Thanks
    > in advance.
    >
    >


    If the server is running linux why not just use rsync direct?

    Code:
    rsync  [options] /some_dir/  somemachine:/samedir/
    Ken

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: during backup, rsync lacks permision to create dir or open fileover NFS

    On 2014-03-14 18:56, konsultor wrote:

    > create a directory. The user login and UID are the same on both
    > machines. My hope is that this is not the intended behavior of rsync
    > and that I need to tweak the config to make backups go smoothly, Thanks
    > in advance.


    I think it would be better to setup an rsync server daemon, instead of
    going over NFS with rsync. More efficient, less resources...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  4. #4
    Join Date
    Nov 2008
    Location
    Northern VA
    Posts
    359

    Default Re: during backup, rsync lacks permision to create dir or open file over NFS

    OK. Will try that and report later.
    Leap/KDE and a film-based photographer

  5. #5
    Join Date
    Nov 2008
    Location
    Northern VA
    Posts
    359

    Default Re: during backup, rsync lacks permision to create dir or open file over NFS

    Started rsync on both client and server. Launching Grsync on client produces a window that differs significantly from any described in Grsyn tutorials. There are no working tabs and no way to create a session. I have a screen shot which shows the Help window open (with the version).
    [IMG]flanagan-consulting.com/images/GrsyncStart.jpeg[/IMG]
    Is there something obviously wrong with my installation?
    Leap/KDE and a film-based photographer

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: during backup, rsync lacks permision to create dir or open fileover NFS

    On 2014-03-16 03:06, konsultor wrote:
    >
    > Started rsync on both client and server. Launching Grsync on client
    > produces a window that differs significantly from any described in Grsyn
    > tutorials. There are no working tabs and no way to create a session.


    What the h**k is that grsync? No, good grief, open terminals and get
    typing! >:-)

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  7. #7
    josephkk NNTP User

    Default Re: during backup, rsync lacks permision to create dir or open file over NFS

    On Sun, 16 Mar 2014 02:06:02 GMT, konsultor
    <konsultor@no-mx.forums.opensuse.org> wrote:

    >
    >Started rsync on both client and server. Launching Grsync on client
    >produces a window that differs significantly from any described in Grsyn
    >tutorials. There are no working tabs and no way to create a session.
    >I have a screen shot which shows the Help window open (with the
    >version).
    >[image: flanagan-consulting.com/images/GrsyncStart.jpeg]
    >Is there something obviously wrong with my installation?


    Only one end should run a server. The other uses the client fancy tool.
    Watch the permissions (drwxrwxrwx) on the directories to prevent issues.

    ?-)

Posting Permissions

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