linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Relax permissions for reading hard drive serial number?
@ 2007-11-29 15:13 Dan Kegel
  2007-11-29 15:37 ` Xavier Bestel
  2007-12-02 14:15 ` Pavel Machek
  0 siblings, 2 replies; 9+ messages in thread
From: Dan Kegel @ 2007-11-29 15:13 UTC (permalink / raw)
  To: linux-kernel

On 2000-09-07, in
http://marc.info/?l=linux-kernel&m=96836765403118&w=2, Linus wrote:
> Hmm.. I have this feeling that it would be much nicer to
> just implement the NT system calls directly.
> ...
> I wouldn't be adverse to supporting Wine better...

A few years on, Wine has matured to the point where it's
ready to run quite a few apps, even some protected by Safedisc.
One sticking point is that apps like Photoshop and probably
Punkbuster want to retrieve the hard drive's serial number,
but Linux restricts access to that info:
$ ls -l /proc/ide/hda/identify
-r-------- 1 root root 0 2007-11-29 07:05 /proc/ide/hda/identify
(And even if /proc/ide goes away, the other ways of retrieving
this info are similarly restricted to root.)

Any reason the access control on this info shouldn't be eased a bit,
e.g. make /proc/ide/*/identify be mode 444?

An alternative might be for Wine to simply fake the serial number,
but I would like to avoid that if possible.

See also http://bugs.winehq.org/show_bug.cgi?id=10018
- Dan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-12-04 12:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-29 15:13 Relax permissions for reading hard drive serial number? Dan Kegel
2007-11-29 15:37 ` Xavier Bestel
2007-11-29 15:46   ` Dan Kegel
2007-11-29 17:39     ` Kay Sievers
2007-11-29 21:07       ` Bartlomiej Zolnierkiewicz
2007-12-02 16:43         ` Matti Aarnio
2007-12-02 18:45     ` Matti Aarnio
2007-12-04 12:06       ` Kyle Moffett
2007-12-02 14:15 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).