Compare commits
2 Commits
60e91b9b0f
...
d031c820ff
Author | SHA1 | Date |
---|---|---|
Ophestra Umiker | d031c820ff | |
Ophestra Umiker | 5524e09a5f |
|
@ -91,7 +91,7 @@ func parseConfig(p string, puid int) (fid int, ok bool) {
|
|||
} else if s.Mode().Perm() != 0400 {
|
||||
log.Fatal("bad fsurc perm")
|
||||
} else if st := s.Sys().(*syscall.Stat_t); st.Uid != 0 || st.Gid != 0 {
|
||||
log.Fatal("fsurc must be owned by uid 0")
|
||||
log.Fatal("fsurc must be owner by uid 0")
|
||||
}
|
||||
|
||||
if r, err := os.Open(p); err != nil {
|
||||
|
|
Loading…
Reference in New Issue