mirror of https://github.com/perkeep/perkeep.git
fs: set inode when statting directory permanodes
Change-Id: Ie20f02b3abab48c719a0de7b0d1409c559c5e69a
This commit is contained in:
parent
f0edcaa7d4
commit
830c6966a1
|
@ -63,9 +63,10 @@ func (n *mutDir) fullPath() string {
|
|||
|
||||
func (n *mutDir) Attr() fuse.Attr {
|
||||
return fuse.Attr{
|
||||
Mode: os.ModeDir | 0700,
|
||||
Uid: uint32(os.Getuid()),
|
||||
Gid: uint32(os.Getgid()),
|
||||
Inode: n.permanode.AsUint64(),
|
||||
Mode: os.ModeDir | 0700,
|
||||
Uid: uint32(os.Getuid()),
|
||||
Gid: uint32(os.Getgid()),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue