Skip to content

Commit 1c3d937

Browse files
committed
Add w permission to iso in apparmor profile
Apparently creating a hard link needs write permission in target as well
1 parent 9d68546 commit 1c3d937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

profiles/apparmor.d/opt.openqa-trigger-from-obs.script.rsync.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
/var/lib/openqa/osc-plugin-factory/factory-package-news/factory-package-news.py rUx,
5555
/usr/share/openqa/script/openqa-cli rPx -> /opt/openqa-trigger-from-obs/script/rsync.sh//openqa_cli,
5656
/usr/bin/openqa-cli rPx -> /opt/openqa-trigger-from-obs/script/rsync.sh//openqa_cli,
57-
/var/lib/openqa/share/factory/repo/** rwl, # need write and link permissions, because bsdtar may extract iso here
58-
/var/lib/openqa/share/factory/{iso,hdd,other}/** r,
57+
/var/lib/openqa/share/factory/{repo,iso}/** rwl, # need write and link permissions, because bsdtar may extract iso here
58+
/var/lib/openqa/share/factory/{hdd,other}/** r,
5959
/{usr/bin,bin}/bash mrix,
6060
owner /proc/*/fd/* w,
6161

0 commit comments

Comments
 (0)