mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
This commit is contained in:
parent
e5cc55ce09
commit
f05ccd775a
@ -57,7 +57,9 @@ type dirJunctFileInfo struct {
|
||||
}
|
||||
|
||||
func (fi *dirJunctFileInfo) Mode() os.FileMode {
|
||||
return fi.FileInfo.Mode() ^ os.ModeSymlink | os.ModeDir
|
||||
// Simulate a directory and not a symlink; also set the execute
|
||||
// bits so the directory can be traversed Unix-side.
|
||||
return fi.FileInfo.Mode() ^ os.ModeSymlink | os.ModeDir | 0111
|
||||
}
|
||||
|
||||
func (fi *dirJunctFileInfo) IsDir() bool {
|
||||
|
Loading…
Reference in New Issue
Block a user