???????????????????????????? ???????????????????? ???????????? ???????????????????????????????????????? writes: > What is damageslly if /dev/fd/* will be executable!? > I could wish simply set 777 anyware...
Why? What exactly are you trying to accomplish? What does having mode 777 on the current process file descriptors do for you or your application? You'll need to explain -- in detail -- what problem it is that you're trying to solve, or what feature it is that you want. Simply using "chmod" or "chown" to change random system components isn't an answer. The contents of /dev (as with all of the system directories) weren't just thrown together at a whim. Each bit you find there was designed that way on purpose, and there's more than meets the eye. (In particular, the security of /dev entries is _not_ just defined by the file modes. Each driver also implements local policy, because devices tend to be 'special.' Thus, changing the file mode is only rarely the right answer.) Sure, it's remotely possible that there are mistakes of one sort or another, or that there are oversights, or new features that could be added, but unless you explain what goal you're trying to reach, I doubt that anyone can provide any coherent advice -- other than just "don't." -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-discuss mailing list [email protected]
