On 12/17/2013 04:55 AM, Stuart Pook wrote:
> In any case I'm confused. No non-root user can create special devices no 
> matter what the value on nodev is. Fakeroot needs to simulate the create of 
> special devices I think.

sure.  and it does, even when /tmp is mounted nodev (though of course
they're not actually device files):

0 dkg@alice:/tmp/cdtemp.KSvP2v$ grep ' /tmp ' /proc/mounts
/tmp /tmp tmpfs rw,nosuid,nodev,relatime 0 0
0 dkg@alice:/tmp/cdtemp.KSvP2v$ ls -l
total 0
0 dkg@alice:/tmp/cdtemp.KSvP2v$ fakeroot mknod foo c 4 64
0 dkg@alice:/tmp/cdtemp.KSvP2v$ ls -l
total 0
-rw-r--r-- 1 dkg dkg 0 Dec 17 10:51 foo
0 dkg@alice:/tmp/cdtemp.KSvP2v$

So something else is going on here, though i'm not sure what.

        --dkg

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to