Displaying 4 results from an estimated 4 matches for "tmp_dest_fd".
2019 Sep 21
4
Samba 4.11 "Stale file handle"
...cifs
mounts. Before I submit a bug report, could someone else 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...
2019 Sep 22
0
Samba 4.11 "Stale file handle"
...d someone else 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>
&g...
2019 Sep 22
0
Samba 4.11 "Stale file handle"
...omeone else 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>...
2019 Sep 22
2
Samba 4.11 "Stale file handle"
...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...