summaryrefslogtreecommitdiff
path: root/bugs/restore-gid-when-possible.mdwn
blob: 4213b2f8a3faea70cc24aa5bc8198e31d2d0be72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
It is sometimes possible for a non-root to restore group ids (when obnam
process is in the group already). Should obnam try to do that? (Based
on suggestion from Gonéri Le Bouder.) --liw

Seems like obnam should just try to restore whatever it has, and produce an error if it can't.-- Josh

GNU Tar has the same issue. I should probably make Obnam have the same behavior as tar. I
expect that'll give people the fewest nasty surprises. Now I just need to figure out what tar does. --liw

GNU Tar does not restore the group even if the user is in the group,
unless the user is root. I will keep this behavior with Obnam, since
it should be the least risky surprise: there is the least chance of
a privilege escalation from this. --liw

[[done]]