document-portal: Fix ownership of basic directories

We now report these as the user uid+gid instead of root.
tingping/wmclass
Alexander Larsson 2017-02-14 09:07:15 +01:00
parent 86bf88d89f
commit 84246b6ec5
1 changed files with 2 additions and 0 deletions

View File

@ -848,6 +848,8 @@ xdp_inode_stat (XdpInode *inode,
struct stat *stbuf)
{
stbuf->st_ino = inode->ino;
stbuf->st_uid = getuid ();
stbuf->st_gid = getgid ();
switch (inode->type)
{