On 11.09.2016 14:02, Elan Ruusamäe wrote:
strace shows just C level error:
open("/home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt",
O_RDWR) = -1 EOPNOTSUPP (Operation not supported)
some more examples:
➔ strace -eopen truncate --size=0
/home/glen/.gvfs/sftp:host=ewok.local/media/N
any ideas?
i.e how come truncate from bash works and not from python, and how to
make it work
➔ python3 -c
'open("/home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt", "rb+")'
Traceback (most recent call last):
File "", line 1, in
OSError: [Errno 95] Operation not supported:
'/ho