Displaying 4 results from an estimated 4 matches for "tmp_dest_name".
2019 Sep 21
4
Samba 4.11 "Stale file handle"
...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', tmp_dest_n...
2019 Sep 22
0
Samba 4.11 "Stale file handle"
...e 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.m...
2019 Sep 22
0
Samba 4.11 "Stale file handle"
...ry 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>
> shuti...
2019 Sep 22
2
Samba 4.11 "Stale file handle"
...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 <modu...