From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Thu, 4 Apr 2013 17:37:16 +0200 Message-ID: <1449005.euM3M5tFsJ@coil> User-Agent: KMail/4.10.1 (Linux/3.9.0-rc3-l50; KDE/4.10.1; x86_64; ; ) In-Reply-To: References: <1770421.dE5U4bBIyp@coil> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] p9p vs. linux 9fs mount Topicbox-Message-UUID: 3dca5bfc-ead8-11e9-9d60-3106f5b1d025 On Thursday 04 of April 2013 11:19:53 erik quanstrom wrote: >=20 > guess. try >> instead of >. > may try to remove the file first. ... how do i send you cookies? ;-) # strace for `>' open("/mnt/acme/2/ctl", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) =3D= -1=20 EACCES (Permission denied) # strace for `>>' open("/mnt/acme/2/ctl", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) =3D= 3 with the difference being `O_TRUNC'. cheers, --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]]