Browse Source
Merge pull request #2238 from combineads/change_default_mode
Change default permissions
pull/2252/head
Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/filer/filer.go
|
|
@ -207,7 +207,7 @@ func (f *Filer) ensureParentDirecotryEntry(ctx context.Context, entry *Entry, di |
|
|
|
Attr: Attr{ |
|
|
|
Mtime: now, |
|
|
|
Crtime: now, |
|
|
|
Mode: os.ModeDir | entry.Mode | 0110, |
|
|
|
Mode: os.ModeDir | entry.Mode | 0111, |
|
|
|
Uid: entry.Uid, |
|
|
|
Gid: entry.Gid, |
|
|
|
Collection: entry.Collection, |
|
|
|