Skip to content

Commit

Permalink
Merge pull request #82 from AnkanSaha/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AnkanSaha authored Jan 25, 2024
2 parents 6c47abd + cf6c04e commit 4a4242c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Storage Management/ShortStorage.storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export default class CreateNewShortStorage {
} else {
// if it is, then change the permission to 0o000
await methods.Command.Execute(
`sudo chmod 000 ${this.StoragePath}.${this.StorageName}.storage.json`,
`chmod 000 ${this.StoragePath}.${this.StorageName}.storage.json`,
); // Change File Permission
return {
status: 200,
Expand Down Expand Up @@ -456,7 +456,7 @@ export default class CreateNewShortStorage {
}; // File does not exist
} else {
await methods.Command.Execute(
`sudo chmod 666 ${this.StoragePath}.${this.StorageName}.storage.json`,
`chmod 666 ${this.StoragePath}.${this.StorageName}.storage.json`,
); // Change File Permission
return {
status: 200,
Expand Down

0 comments on commit 4a4242c

Please sign in to comment.