Access rights for /var/lib/mythtv/posters/ not set properly

Bug #397194 reported by SmokyMcPot
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Medium
Unassigned
mythplugins (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I created the user "myth" at installation of Mythbuntu 9.04 (don't know if this is important) and this user had no write access to /var/lib/mythtv/posters/ (not set by the Mythbuntu Installation). So I was able to download movie posters from within MythTV (at least it seamed like that, but they were not saved, as there was no write access) but when using the MythVideo module, no posters appeared. After changing the access rights of the directory, it worked fine.

So I kindly ask you to set the access rights of this folder correctly for the user created at installation time.

Related branches

Revision history for this message
Thomas Mashos (tgm4883) wrote :

What were the permissions that were set on that directory?

Revision history for this message
SmokyMcPot (karl-trampe) wrote :

Sorry, I'm not exactly sure about that, because I changed the permissions already a few days ago to make it working.

But I think, the owner was root and all others had only read rights, not write.

Revision history for this message
Bill Denton (bill-denton) wrote :

Had exactly the same problem. As far as I remember the permissions where as follows:
bill@mythtv:/var/lib/mythtv$ ls -l
total 8
lrwxrwxrwx 1 root root 15 2009-07-18 02:28 music -> /storage/music/
lrwxrwxrwx 1 root root 18 2009-07-18 02:28 pictures -> /storage/pictures/
drwxr-xr-x 2 mythtv mythtv 4096 2009-08-15 23:56 posters
drwxrwsr-x 2 mythtv mythtv 4096 2009-08-17 09:17 recordings
lrwxrwxrwx 1 root root 15 2009-07-18 02:28 videos -> /storage/videos

I did "sudo chmod g+w posters/" (checked in history), which changed posters to:
drwxrwxr-x 2 mythtv mythtv 4096 2009-08-15 23:56 posters

This fixed it.

MarcRandolph (mrand)
Changed in mythbuntu:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Mario Limonciello (superm1) wrote :

with the move to storage groups, this directory won't be used anymore. it will be removed after mythplugins-022 bzr #109

Changed in mythplugins (Ubuntu):
status: New → Fix Committed
Changed in mythbuntu:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythplugins - 0.22.0~trunk21785-0ubuntu1

---------------
mythplugins (0.22.0~trunk21785-0ubuntu1) karmic; urgency=low

  * New upstream checkout (r21785)
    - Fixes a Jamu crash (LP: #427089)
  * debian/mythvideo.cron.daily:
    - Only run maintenance mode of Jamu
  * debian/mythvideo.cron.hourly:
    - Run mass update mode of Jamu to pull new graphics as new recordings
      are scheduled.
  * debian/mythvideo.cron.weekly:
    - Run Janitor mode of Jamu to clean up stale graphics.
  * Adjust the mythvideo directory patch to set blank directories.
  * Don't create extra directories for videos or posters, as storage groups
    are used now. (LP: #397194)

 -- Mario Limonciello <email address hidden> Fri, 11 Sep 2009 19:28:15 -0500

Changed in mythplugins (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
MarcRandolph (mrand) wrote :

Change has been pushed out to official Karmic channels (for mythtv 0.22).

Changed in mythbuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.