Skip to content

Commit

Permalink
add default permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Aug 8, 2023
1 parent 495ea38 commit 3c4e974
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions permission/permission_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ const (
AllExecute = UserExecute | GroupExecute | OtherExecute
AllReadWrite = AllRead | AllWrite
AllReadWriteExecute = AllReadWrite | AllExecute

// Default File/Folder Permissions
ConfigFolderPermission = UserReadWriteExecute
ConfigFilePermission = UserReadWrite
BinaryPermission = UserRead | UserExecute
TempFilePermission = UserReadWrite
)

// UpdateFilePerm modifies the permissions of the given file.
Expand Down

0 comments on commit 3c4e974

Please sign in to comment.