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
Merge pull request
#253
from eryx/master
Fix
#252
tags/v1.2.0-rc1
无闻
11 years ago
parent
bf703ef617
d5d04a66f3
commit
9bdff5bd97
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
@@ -161,7 +161,7 @@ func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
}
defer fr.Close()
fw, err := os.
Create(tmpP
)
fw, err := os.
OpenFile(tmpP, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0600
)
if err != nil {
return err
}
Write
Preview
Loading…
Cancel
Save