Hi!
I was experimenting with AppArmor and transmission-daemon, mainly to learn how to setup AppArmor profiles. I tested on transmission-daemon as this is not a crucial daemon. I did run into some troubles and would like some help.
I set up the profile with aa-genprof, ran transmission-daemon for a while and performed all the things with it I could think of. I then pressed S to read the log and AppArmor suggested a lot of rules, which I all accepted. It did suggest several file permission for individual torrent and temp files but I later added a rule manually for the entire /home/user/.config/transmission-daemon/ directory so that it would have rw permissions for it. I also manually added read permissions for /usr/share/transmission/web. It all does seem to work well enough except for when I restart transmission-daemon it won’t resume any of the torrents as it did before adding the AA profile. All torrents and resume files are in /home/user/.config/transmission-daemon/ folders so I don’t see why it wouldn’t work. Anyone have any suggestions for what I have missed here?