Re: ".forward" in mail logs

From: Lee Sau Dan (danlee@informatik.uni-freiburg.de)
Date: 11/25/02


From: Lee Sau Dan <danlee@informatik.uni-freiburg.de>
Date: 25 Nov 2002 09:05:39 +0100


>>>>> "richard" == richard <rmcclary@apcc.aspca.org> writes:

    richard> Thanks for your response. What is within the "[snip]",
    richard> however, is the fact that the .forward files do not
    richard> exist!

A mental exercise for you.

Consider this scenario:

        /tmp/x/f is a file
but /tmp/x has the "x" bit cleared for everyone (e.g. after a
               "chmod a-x /tmp/x")

Now, what do you expect to happen when a non-root user tries to "ls -l
/tmp/x/f" (which boils down to the stat(2) syscall)?

A "Permission denied" error, or a "No such file or directory" error?

Which is more reasonable? More secure? Why?

-- 
Lee Sau Dan                     §õ¦u´°(Big5)                    ~{@nJX6X~}(HZ) 
E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee


Relevant Pages

  • Re: Code Performance
    ... koorb scripsit: ... >> Do you understand what they mean by defensive coding techniques in this ... >> scenario? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ???Technique for using SQL to update one table from another??
    ... Richard wrote: ... relationship] in that scenario: ... Many thanks Chuck ...
    (comp.sys.ibm.as400.misc)
  • Re: Obligation NOT to assist people in distress?
    ... Would the people who have banned him from using his medical skills ... consider such a scenario to be perfectly acceptable? ... Both Richard and Todal have made the point that as far as we know no one in ... the UK has ever been sucesfully sued for providing first aid in good faith. ...
    (uk.legal)
  • Re: Obligation NOT to assist people in distress?
    ... Would the people who have banned him from using his medical skills ... consider such a scenario to be perfectly acceptable? ... Both Richard and Todal have made the point that as far as we know no one in ... the UK has ever been sucesfully sued for providing first aid in good faith. ...
    (uk.legal)
  • Re: listbox and linking to database
    ... At least you've identified a pattern to the bug so you probably ... already have 3/4 of the answer yourself in such a simple scenario. ... Richard ...
    (microsoft.public.dotnet.languages.vb)

Quantcast