On 10/07/2012 03:09 PM, Jeremy Lavergne wrote:
How does gcc, running as the macports user, have permission to modify
/dev anyway?

On my Snow Leopard box, its permissions seem to allow overwriting:
  crw-rw-rw-   1 root  wheel       3,   2 Oct  7 18:01 null

Not familiar with "c" mode though, only recall t/s/S

c means its a character device. 'd' is there for directory, 'l' for symlink, 'b' for block device:

$ ls -l /dev/disk0
brw-r----- 1 root operator 14, 0 Oct  1 00:45 /dev/disk0

Blair

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to