pff: forcer le mode des fichiers du profil Base parce que git n'enregistre pas les autorisations
This commit is contained in:
parent
82c366957f
commit
51109be813
3
pff
3
pff
|
@ -501,6 +501,9 @@ function autoinit() {
|
||||||
local pffdir="$1" profile
|
local pffdir="$1" profile
|
||||||
[ -d "$pffdir/pff/Current" ] || mkdir -p "$pffdir/pff/Current"
|
[ -d "$pffdir/pff/Current" ] || mkdir -p "$pffdir/pff/Current"
|
||||||
[ -d "$pffdir/pff/Base" ] || mkdir -p "$pffdir/pff/Base"
|
[ -d "$pffdir/pff/Base" ] || mkdir -p "$pffdir/pff/Base"
|
||||||
|
# tous les fichiers du profil Base doivent être en lecture seule
|
||||||
|
find "$pffdir/pff/Base" -type f -perm /222 -exec chmod a-w '{}' +
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
function autoselect() {
|
function autoselect() {
|
||||||
|
|
Loading…
Reference in New Issue