﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
19003	Shared folders: ftruncate on file opened with O_APPEND fails with EPERM -> fixed in 6.1.4	Anders Kaseorg	BP	"In a shared folder mounted from a Windows 10 host (1903 build 18362.295) in an Ubuntu guest (I've tried 18.04 or 19.04) with Guest Additions 6.0.12 installed from the Guest Additions CD, the following unexpectedly fails:

root@osboxes:/mnt/test# python3 -c 'open(""foo"", ""a+"").truncate()'
Traceback (most recent call last):
  File ""<string>"", line 1, in <module>
PermissionError: [Errno 1] Operation not permitted

Alternate reproduction recipes:

root@osboxes:/mnt/test# perl -e 'open F, "">>foo""; truncate F, 0 or die $!'
Operation not permitted at -e line 1.

root@osboxes:/mnt/test# truncate -s0 /dev/stdout >> foo
truncate: failed to truncate '/dev/stdout' at 0 bytes: Operation not permitted
"	defect	closed	shared folders	VirtualBox 6.0.12	fixed			Linux	Windows
