mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 02:21:50 +08:00
luci-app-attendedsysupgrade: filemode should be octal
Fix decimal "600" file mode that should have octal prefix. Link: #8650 Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
This commit is contained in:
committed by
Paul Donald
parent
a31eccfa14
commit
3fe51f362d
+1
-1
@@ -459,7 +459,7 @@ return view.extend({
|
||||
let form_data = new FormData();
|
||||
form_data.append('sessionid', rpc.getSessionID());
|
||||
form_data.append('filename', '/tmp/firmware.bin');
|
||||
form_data.append('filemode', 600);
|
||||
form_data.append('filemode', 0o600);
|
||||
form_data.append('filedata', response.blob());
|
||||
|
||||
ui.showModal(_('Uploading...'), [
|
||||
|
||||
Reference in New Issue
Block a user