|
@@ -4,8 +4,6 @@ import (
|
|
|
//"path/filepath"
|
|
//"path/filepath"
|
|
|
//"log"
|
|
//"log"
|
|
|
|
|
|
|
|
- "fmt"
|
|
|
|
|
-
|
|
|
|
|
fs "imuslab.com/arozos/mod/filesystem"
|
|
fs "imuslab.com/arozos/mod/filesystem"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
@@ -78,11 +76,6 @@ func (u *User) GetFileOwner(fsh *fs.FileSystemHandler, vpath string) string {
|
|
|
return ""
|
|
return ""
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if fsh.Hierarchy == "user" {
|
|
|
|
|
- fmt.Println(realpath, vpath)
|
|
|
|
|
- return ""
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if fsh.UUID == "user" {
|
|
if fsh.UUID == "user" {
|
|
|
//This file is inside user's root. It must be this user's file
|
|
//This file is inside user's root. It must be this user's file
|
|
|
return u.Username
|
|
return u.Username
|