Skip to content

Commit

Permalink
vfs: fix PERM_* again
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyhunter committed Dec 25, 2023
1 parent 6cb8d2f commit ce08ae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/include/public/mos/filesystem/fs_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ typedef u16 file_perm_t;
#define PERM_OWNER 0x1C0 // 111 000 000
#define PERM_GROUP 0x38 // 000 111 000
#define PERM_OTHER 0x7 // 000 000 111
#define PERM_READ 0x49 // 001 001 001
#define PERM_READ 0x124 // 100 100 100
#define PERM_WRITE 0x92 // 010 010 010
#define PERM_EXEC 0x124 // 100 100 100
#define PERM_EXEC 0x49 // 001 001 001

#define PERM_MASK 0777

Expand Down

0 comments on commit ce08ae0

Please sign in to comment.