Skip to content

Commit

Permalink
Merge pull request #232 from projectdiscovery/default_perms
Browse files Browse the repository at this point in the history
add default permissions
  • Loading branch information
Mzack9999 committed Aug 9, 2023
2 parents 495ea38 + 3c4e974 commit 043433a
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 043433a

Please sign in to comment.