search for: file_tmp

Displaying 5 results from an estimated 5 matches for "file_tmp".

2019 Sep 21
4
Samba 4.11 "Stale file handle"
...se try this out so it's not just my setup? How to reproduce: 1. Mount a Samba 4.11 share using the mount command: mount //server1/share /tmp/share1 2. Run python script that is using mkstemp: import shutil import tempfile tmp_dest_fd, tmp_dest_name = tempfile.mkstemp(prefix=b'.file_tmp', dir='/tmp/share1', suffix='test.pdf') shutil.move('testfile', tmp_dest_name) Result: Traceback (most recent call last): File "./test.py", line 9, in <module> shutil.move('testfile', tmp_dest_name) File "/usr/lib64/python2.7/shu...
2009 Nov 26
2
quote warning not being triggered (yet again)
...E}`" # set mail value MAIL_DATE="`${BIN_DATE} '+%a, %d %b %Y %T %z (%Z)'`" MAIL_MESSAGE_ID="`${BIN_DATE} '+%Y%m%d%H%M%S'`@${HOSTNAME}" # set filename values FILE_DATE="`${BIN_DATE} '+%s'`" FILE_NAME="${FILE_DATE}.$$.${HOSTNAME}" FILE_TMP="${DIR_MAILDIR_TMP}/${FILE_NAME}" # write out message ${BIN_CAT} << EOF > ${FILE_TMP} To: ${MAIL_TO} From: ${MAIL_FROM} Subject: ${MAIL_SUBJECT} Message-Id: <${MAIL_MESSAGE_ID}> Date: ${MAIL_DATE} MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Dispositio...
2019 Sep 22
0
Samba 4.11 "Stale file handle"
...up? > > How to reproduce: > 1. Mount a Samba 4.11 share using the mount command: mount > //server1/share /tmp/share1 > 2. Run python script that is using mkstemp: > import shutil > import tempfile > > tmp_dest_fd, tmp_dest_name = tempfile.mkstemp(prefix=b'.file_tmp', > dir='/tmp/share1', suffix='test.pdf') > shutil.move('testfile', tmp_dest_name) > > Result: > Traceback (most recent call last): > File "./test.py", line 9, in <module> > shutil.move('testfile', tmp_dest_name) &gt...
2019 Sep 22
0
Samba 4.11 "Stale file handle"
...> > How to reproduce: > 1. Mount a Samba 4.11 share using the mount command: mount > //server1/share /tmp/share1 > 2. Run python script that is using mkstemp: > import shutil > import tempfile > > tmp_dest_fd, tmp_dest_name = tempfile.mkstemp(prefix=b'.file_tmp', > dir='/tmp/share1', suffix='test.pdf') > shutil.move('testfile', tmp_dest_name) > > Result: > Traceback (most recent call last): > File "./test.py", line 9, in <module> > shutil.move('testfile', tmp_dest_name)...
2019 Sep 22
2
Samba 4.11 "Stale file handle"
...ce: >> 1. Mount a Samba 4.11 share using the mount command: mount >> //server1/share /tmp/share1 >> 2. Run python script that is using mkstemp: >> import shutil >> import tempfile >> >> tmp_dest_fd, tmp_dest_name = tempfile.mkstemp(prefix=b'.file_tmp', >> dir='/tmp/share1', suffix='test.pdf') >> shutil.move('testfile', tmp_dest_name) >> >> Result: >> Traceback (most recent call last): >> File "./test.py", line 9, in <module> >> shutil.move('testf...