This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Corrected log message
tags/v1.2.0-rc1
Sebastian Jackel
11 years ago
parent
be7ce72ebe
commit
51abaf788c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/publickey.go
+ 1
- 1
models/publickey.go
View File
@@ -160,7 +160,7 @@ func saveAuthorizedKeyFile(key *PublicKey) error {
return err
}
if finfo.Mode().Perm() > 0600 {
log.Error("authorized_keys file has unusual permission flags:
" + finfo.Mode().Perm() + " - setting to -rw-r--r--"
)
log.Error(
3,
"authorized_keys file has unusual permission flags:
%s - setting to -rw-------", finfo.Mode().Perm().String()
)
f.Chmod(0600)
}
Write
Preview
Loading…
Cancel
Save