-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-lxatac-software: distro: tacos: make /srv on the rootfs read-only
We do not want any service to write to /srv (in the root filesystem) before the /srv partition is set up and mounted. Make the directory read only to make sure of that. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This matches the original fs-perms.txt. | ||
# The only difference is that write permissions for the owner were removed | ||
# (0755 -> 0555) to prevent anyone from writing to the rootfs /srv instead of | ||
# the /srv partition. | ||
/srv 0555 root root false - - - |