Bug in 2.00.13

General topics about the EM7075 mediaplayers

Moderators: Joyce, Laura, Eminent-Admin

Bug in 2.00.13

Postby MartinHerrman » 26 Jan 2011, 00:43

Alex,

please goto the following page on the wiki:

http://opensource.eminent-online.com/wi ... l_firmware

and search for the string 'BUG'.

I think I found a bug in the official firmware, which only impacts users that want to customize this firmware.
User avatar
MartinHerrman
Forum Supporter
 
Posts: 99
Joined: 08 May 2010, 11:24

Re: Bug in 2.00.13

Postby Alex » 26 Jan 2011, 11:12

The EM7075 runs no real user-system. Since it's an embedded box, all of the programs running on it, are running under root. So whoever repacks the firmware and what the UIDs inside it are.. the EM7075 doesn't care.

Root is good. You can see some reasons to run as root here.

Seriously though, On the systems where the filesystem is built, just sudo su before building. I also see the different owner of the filesystem parts, but if i change that to something else, the UID is unlikely to match anyone on your system. (In this case it's 1031, unused on my own box as well.)
Forum rules: viewtopic.php?t=4
Using Mediainfo: viewtopic.php?t=1110
Telnet: viewtopic.php?t=1873
Alex
Forum Goddess
 
Posts: 1799
Joined: 12 Nov 2009, 13:05

Re: Bug in 2.00.13

Postby MartinHerrman » 26 Jan 2011, 20:47

LOL :-)

Seriously: I know there is no difference from the device's point of view, but there is an issue when I unpack the firmware.

When I unpack it as user 'martin' in the group 'users', all directories and files extracted are owned by martin:users. But the /home/martin/../osd/font directory only has drw-r--r-- (0644) and cannot be opened by user 'martin:group'.

When I unpack as root, the same issue exists, but fortunately root is allowed to open directories which do not have the executable bit set.

BTW: all directories below 'osd' have this issue.

In my humble opinion, I hope you can change this to 0755 in the next firmware release by Eminent. 0755 is already used for all other directories within the firmware.
User avatar
MartinHerrman
Forum Supporter
 
Posts: 99
Joined: 08 May 2010, 11:24

Re: Bug in 2.00.13

Postby Alex » 26 Jan 2011, 20:54

I'll fix that up tomorrow, and ensure the next releases have it corrected. The OSD is almost never touched. Must have happened when it was imported from one of my other boxes, as a different user.

The run a root thing was a joke btw :)
Forum rules: viewtopic.php?t=4
Using Mediainfo: viewtopic.php?t=1110
Telnet: viewtopic.php?t=1873
Alex
Forum Goddess
 
Posts: 1799
Joined: 12 Nov 2009, 13:05

Re: Bug in 2.00.13

Postby MartinHerrman » 26 Jan 2011, 20:58

I know :-)

Thanks!
User avatar
MartinHerrman
Forum Supporter
 
Posts: 99
Joined: 08 May 2010, 11:24


Return to EM7075 - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest