Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chattr() or similar #30

Open
avsa242 opened this issue Mar 24, 2024 · 0 comments
Open

Add chattr() or similar #30

avsa242 opened this issue Mar 24, 2024 · 0 comments
Assignees

Comments

@avsa242
Copy link
Owner

avsa242 commented Mar 24, 2024

When calling fopen(), the write protect bit is now honored if trying to open the file for writing. Before, to change a file's attributes, it could be opened, then the fatfs layer's fset_attrs() called to modify the directory entry cached in RAM's attributes, then written back to disk, but this won't be possible now.

@avsa242 avsa242 self-assigned this Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant