On 11/19/2015 12:05 PM, Per Jessen wrote:
Andrei Borzenkov wrote:
What are exact permissions and owners of
/tmp (ls -ld /tmp)
# ls -ld /tmp drwxrwxrwt 12 root root 19750912 2015-11-19 11:45 /tmp
tempfile (ls -l /tmp/temfile)
# ls -l /tmp/tempfile.lFucmE -rw------- 1 bulwark daemon 237891 2015-11-19 10:26 /tmp/tempfile.lFucmE
destination (ls -l /tmp/destination)?
# ls -l ./bulwark_recipient_map -rw-r--r-- 1 bulwark daemon 237891 2015-11-19 10:42 ./bulwark_recipient_map
As the destination is an existing file, rename(2) would fail if the user doesn't have write access to the target directory: $ ls -ldog /tmp/src /tmp /tmp/d/dest /tmp/d drwxrwxrwt 9 300 Nov 19 12:54 /tmp dr-x------ 2 60 Nov 19 12:53 /tmp/d -rw-r--r-- 1 1638 Nov 19 12:52 /tmp/d/dest -rw-r--r-- 1 1638 Nov 19 12:53 /tmp/src $ mv /tmp/src /tmp/d/dest mv: cannot move ‘/tmp/src’ to ‘/tmp/d/dest’: Permission denied Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org