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/NEKO/pytest.txt open("/home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt", O_WRONLY|O_CREAT|O_NONBLOCK, 0666) = -1 EOPNOTSUPP (Operation not supported)

two bash straces as well:


➔ sh -c 'date> /home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt'
open("/home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

➔ strace -ff -efile sh -c 'date >> /home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt' open("/home/glen/.gvfs/sftp:host=ewok.local/media/NEKO/pytest.txt", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3


--
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to