-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #830 from aschnell/master
- relax access to info.xml files
- Loading branch information
Showing
5 changed files
with
49 additions
and
4 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,34 @@ | ||
|
||
Distinguish to modi operandi: | ||
|
||
With DBus: | ||
|
||
- Access to snapshot metadata (info.xml) and filelist is takes care of | ||
by snapperd. | ||
|
||
Without DBus: | ||
|
||
- In general only works when snapper is run by root. | ||
|
||
|
||
File and directory permissions: | ||
|
||
The .snapshots directory must be readable by those allowed to work | ||
with the snapper config. This is required even though the DBus | ||
interface is used since some operations (e.g. diff and undochange) are | ||
always done by snapper (not snapperd). | ||
|
||
snapper creates .snapshots with access only allowed for root. | ||
|
||
snapper can setup ACLs for access for .snapshots. | ||
|
||
|
||
Giving users access to work with a snapper config may allow them to | ||
see directory and file content in areas they would otherwise not be | ||
allowed to see. | ||
|
||
|
||
info.xml may be readable by all. Only writeable by root. | ||
|
||
filelists may be readable by all. Only writeable by root. | ||
|
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
------------------------------------------------------------------- | ||
Thu Aug 10 09:20:42 CEST 2023 - [email protected] | ||
|
||
- relax access to info.xml files (gh#openSUSE/snapper#279) | ||
|
||
------------------------------------------------------------------- | ||
Fri Jul 14 14:05:56 CEST 2023 - [email protected] | ||
|
||
|
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