This is a discussion on Why Doesn't Sun Fix This Frigging Bug??? within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Tim Bradshaw <tfb@cley.com> writes: >* Casper H S Dik wrote: >> Root should be able to do it. (Root ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Tim Bradshaw <tfb@cley.com> writes: >* Casper H S Dik wrote: >> Root should be able to do it. (Root effectively ignores >> file permissions except in one case: running executables by >> root requires that at least one of the "x" bits is set) >Yes, that's what I would have assumed is the case (not being >intimately familiar with the POSIX specs...). >Is it the case that ordinary users can do this in Solaris 9 (which >would be really serious)? Or is the bug that they *can't* but ls >exits with 0 anyway? I did have a look for the bug report on sunsolve >but I couldn't find it either because the searching gadget is bust or >(more likely) because I can't drive it... Ordinary users can do this on ufs filesystems because someone added a shortcut in the "lookup" code where if you look up "." then you really get the directory you're doing the lookup in. I think it should be fixed, but I'm not sure it's such a serious problem; after all, you can lookup "data" instead of "data/.". Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. |
| ||||
| In article <3f697c2a$0$58711$e4fe514c@news.xs4all.nl>, Casper H.S. Dik <Casper.Dik@Sun.COM> writes: > Rhugga <rhugga@yahoo.com> writes: > > > >Why doesn't Sun fix this damn bug, so that it is POSIX compliant? > > >#mkdir data > >#chmod 000 data > >#ls data/. > >#echo $? > >0 > > >This command should fail. HP fixed this bug 2 years ago. > > > BTW, the bug ID is 4789213. (filed 2002/12/05) > It is a pity that Sun's customers cannot see that. I tried http://sunsolve.sun.com/private-cgi/search.pl -- Michael Tosch / IT Specialist Ericsson Eurolab Deutschland GmbH Tel: +49 2407 575 313 |