Unix Technical Forum

Why Doesn't Sun Fix This Frigging Bug???

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 01-12-2008, 06:34 AM
Casper H.S. Dik
 
Posts: n/a
Default Re: Why Doesn't Sun Fix This Frigging Bug???

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-12-2008, 06:34 AM
Michael Tosch
 
Posts: n/a
Default Re: Why Doesn't Sun Fix This Frigging Bug???

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com