From 571936ddc64d709fc113057b3927eacfea17443b Mon Sep 17 00:00:00 2001 From: chinonso098 Date: Mon, 22 Jul 2024 23:09:42 -0400 Subject: [PATCH] change from '0777' to 0o777 --- src/Things to do.txt | 1 + src/app/shared/system-service/file.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Things to do.txt b/src/Things to do.txt index 8e9420bd..23384e20 100644 --- a/src/Things to do.txt +++ b/src/Things to do.txt @@ -75,6 +75,7 @@ sudo n lts| stable | latest --(pick one) 29.) termial has issues with folder name containing spaces "screen folder" turn into screen +30.) Adding a new folder through the termial, causes the desktop to refresh. Even if the folder added is not to the desktop diff --git a/src/app/shared/system-service/file.service.ts b/src/app/shared/system-service/file.service.ts index ee701132..067e1e53 100644 --- a/src/app/shared/system-service/file.service.ts +++ b/src/app/shared/system-service/file.service.ts @@ -217,7 +217,7 @@ export class FileService{ console.log('createFolderAsync: folder already exists',exists); resolve(false); }else{ - this._fileSystem.mkdir(`${directory}/${fileName}`,'0777',(err) =>{ + this._fileSystem.mkdir(`${directory}/${fileName}`,0o777,(err) =>{ if(err){ console.log('createFolderAsync Error: folder creation',err); reject(false);