Re: Curious fileutils/coreutils behaviour.

From: David Malone (dwmalone_at_cnri.dit.ie)
Date: 05/14/04

  • Next message: Todd C. Campbell: "Re: IE URL Issue Being Used In Phishing In the Wild [USBank]"
    To: Michael Wojcik <Michael.Wojcik@MicroFocus.com>
    Date: Fri, 14 May 2004 19:49:07 +0100
    
    

    > (*)Contrary to the FAQ entry you cited, it is sometimes useful to change the
    > ownership of a symlink. Since the owner of a symlink can be detected by a
    > program, there can exist programs which depend on it.

    Yes, indeed. As another example, Apache has an option to only follow
    symlinks if they belong to the right person.

            David.


  • Next message: Todd C. Campbell: "Re: IE URL Issue Being Used In Phishing In the Wild [USBank]"

    Relevant Pages

    • Re: raw partitions and links
      ... same thing with the link that dba wanted it shows root:root as owner. ... The symlink itself will always show ownership of root (or whoever creates ...
      (comp.sys.sun.admin)
    • Re: [PATCH] Add a /proc/self/exedir link
      ... Andreas Schwab writes: ... But we already have /proc//exe which is a symlink to the ... Neither of which should be readable by anyone but the owner of the ... which is the one who was able to read the secret directory in the ...
      (Linux-Kernel)
    • Re: do_coredump and O_NOFOLLOW
      ... I think that is for security reasons, ... check who is the owner of the symlink and where it points to. ... That would change the corepattern to include a ...
      (Linux-Kernel)
    • beware chown
      ... 'chown' is to change the owner of the file pointed to ... by a symlink, rather than change the owner of the symlink. ... Many users make symlinks in their own directories pointing ...
      (Tru64-UNIX-Managers)
    • Re: /usr/local/etc/rc.d/ scripts and non-root user
      ... I put there has the root as owner. ... How can I make sure that the file is indeed run as user api? ... the owner of a symlink is completely irrelevant. ...
      (freebsd-questions)

  • Quantcast