mkstemp permission denied

Kevin Loechner loechner at brave.cs.uml.edu
Thu Jun 12 03:15:08 EST 2003


We are using rsync to push DNS records from one machine (running rsync
2.5.6 as a client process on Debian woody) to a collocation server (
running rsync 2.5.6 as a daemon on RedHat 7.3).  To test this process we
are using a script that pushes one file from the Debian box to the
collocation server.  It appears that a file transfers, but upon checking there is
no file transfer and an error in the rsyncd log.

relevant line in /var/log/rsyncd.conf
2003/06/11 08:21:11 [9300] mkstemp .stupid.fle.j3PApB failed: Permission denied

*** /etc/rsyncd.conf ***
[dns_records]
path = /var/named/
comment = Accepts client request to download DNS records
secrets file = /etc/rsyncd.secrets
read only = false

*** /etc/xinetd.d/rsync ***
service rsync
{
        only_from       = 0.0.0.0 # see rsyncd.conf for restrictions
        bind            = <server IP address>
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/local/bin/rsync
        server_args     = --config=/etc/rsyncd.conf --daemon
        log_on_failure  += USERID

}

*** -vv output from running test script ***
opening tcp connection to ns2.lctc.org port 873
building file list ...
expand file_list to 4000 bytes, did move
done
stupid.fle
total: matches=0  tag_hits=0  false_alarms=0 data=22
wrote 193 bytes  read 56 bytes  166.00 bytes/sec
total size is 22  speedup is 0.09

TIA,
Kevin Loechner
-------------------------------------
Lowell Telecommunications Corporation
Community Software Engineer
cse3 at ltc.org
(978)934-4350
-------------------------------------




More information about the rsync mailing list