From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 20 Jun 2019 18:04:36 +0300 From: Oleg To: 9fans@9fans.net Message-ID: <20190620150435.GA31903@legohost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) Content-Transfer-Encoding: quoted-printable Subject: [9fans] linux 9p: uid & gid Topicbox-Message-UUID: 01068612-eada-11e9-9d60-3106f5b1d025 Hi, all. I wrote a 9p fs with help of libixp and after mounting i see strange uid = and gid numbers for files: ~# mount -t 9p -o trans=3Dunix,noextend q t ~# ls -l t -rw-rw-rw- 1 4294967294 4294967294 1 Jan 1 1970 conf -rw-rw-rw- 1 4294967294 4294967294 1 Jan 1 1970 data -rw-rw-rw- 1 4294967294 4294967294 1 Jan 1 1970 stat If i do mount with dfltuid and dfltgid, i get normal values: ~# mount -t 9p -o trans=3Dunix,noextend,trans=3Dunix,noextend,dfltuid=3D0= ,dfltgid=3D0 q t ~# ls -l t -rw-rw-rw- 1 root root 1 Jan 1 1970 conf -rw-rw-rw- 1 root root 1 Jan 1 1970 data -rw-rw-rw- 1 root root 1 Jan 1 1970 stat But in any case chown call to these files sends empty uid and gid strings= in wstat T-message. Is there any way to make uid & gid works as expected? Thanks. --=20 =D0=9E=D0=BB=D0=B5=D0=B3 =D0=9D=D0=B5=D0=BC=D0=B0=D0=BD=D0=BE=D0=B2 (Oleg= Nemanov)