Opened 12 years ago

Closed 12 years ago

#36829 closed defect (invalid)

mythtv-core.25 00.25.2-Fixes-20120918 permission wrong on directory /opt/local/var/log/mythtv.25/

Reported by: ted.rippert@… Owned by: ctreleaven (Craig Treleaven)
Priority: Low Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: mythtv-core.25

Description (last modified by mf2k (Frank Schima))

In both OSX 10.5.8 and 10.6.8 the permissions for the directory created for logs (/opt/local/var/log/mythtv.25/) do not have the traversal bit set and the frontend cannot write logs when started by a non-root user.

Work Around:

sudo chmod a+x /opt/local/var/log/mythtv.25/

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: ctreleaven@… openmaintainer@… removed
Description: modified (diff)
Keywords: MythTV Permissions removed
Owner: changed from macports-tickets@… to ctreleaven@…

In the future, please use WikiFormatting and do not Cc openmaintainer since no one gets that email.

comment:2 Changed 12 years ago by ctreleaven (Craig Treleaven)

Thanks for noticing this. I'll correct it in the next revision to the port.

For others affected, you'll still need to do the chmod command listed above. Once the log directory is created, it's permissions are not changed by subsequent upgrades to Myth.

comment:3 Changed 12 years ago by ctreleaven (Craig Treleaven)

Actually, this was previously fixed <https://trac.macports.org/browser/trunk/dports/multimedia/mythtv-core.25/Portfile?rev=98186>.

However, upgrades to a prior install do not change the permissions on the existing directory. Users will have to manually change the permissions (allow group write access) in that case.

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: invalid
Status: newclosed

See r98186

Note: See TracTickets for help on using tickets.