Results 1 to 2 of 2

Thread: AppArmor and transmission-daemon

  1. #1
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    52

    Default AppArmor and transmission-daemon

    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?

  2. #2
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    52

    Default Re: AppArmor and transmission-daemon

    Ok, solved. For future reference one has to add '/**' to the end of path when adding directory permissions to be able to read and write files in that directory

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •