Professional Web Applications Themes

How to rm a symbolic link? - Sun Solaris

I have a link with a priviledge of 777 , but the owner is root. how can I rm it?...

Sponsored Links
  1. #1

    Default How to rm a symbolic link?

    I have a link with a priviledge of 777 , but the owner is root.
    how can I rm it?


    Sponsored Links
    Bing-Feng Wang Guest

  2. #2

    Default Re: How to rm a symbolic link?

    On Mon, 28 Jul 2003 18:11:32 -0400, Bing-Feng Wang wrote:
    > I have a link with a priviledge of 777 , but the owner is root.
    > how can I rm it?
    # rm /path_to/name_of_link

    Dave Uhring Guest

  3. #3

    Default Re: How to rm a symbolic link?

    In article <3F259F94.36459A5Cnortelnetworks.com>,
    Bing-Feng Wang <bingfengnortelnetworks.com> wrote:
    >I have a link with a priviledge of 777 , but the owner is root.
    >how can I rm it?
    The owner and permissions of a symbolic link are mostly meaningless. And
    for any type of file, removing it depends on permissions on the directory,
    not the file itself (although if the directory's sticky bit is set then the
    ownership of the file comes into play).

    If you have write permission to the directory, you should be able to remove
    anything in it.

    --
    Barry Margolin, [email]barry.margolinlevel3.com[/email]
    Level(3), Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
    Barry Margolin Guest

  4. #4

    Default Re: How to rm a symbolic link?


    "Dave Uhring" <daveuhring> a écrit dans le message de news:
    [email]pan.2003.07.28.22.24.12.17978[/email]...
    > On Mon, 28 Jul 2003 18:11:32 -0400, Bing-Feng Wang wrote:
    >
    > > I have a link with a priviledge of 777 , but the owner is root.
    by default, soft links are set to 777, this is not a problem, as the system
    will check first permissions on the link and then the final file.
    > > how can I rm it?
    >
    > # rm /path_to/name_of_link
    >

    M. Bouherrou Guest

  5. #5

    Default Re: How to rm a symbolic link?

    Bing-Feng Wang wrote:
    >
    > I have a link with a priviledge of 777 , but the owner is root.
    > how can I rm it?
    Well? What is the problem? Why can't you?

    -am © 2003
    Anthony Mandic Guest

Similar Threads

  1. symbolic references
    By David Byrne in forum PERL Beginners
    Replies: 10
    Last Post: May 11th, 02:39 PM
  2. symbolic references and hashes
    By Gary Stainburn in forum PERL Beginners
    Replies: 2
    Last Post: January 7th, 08:08 PM
  3. Testing whether a subroutine exists (symbolic ref)
    By Richard Voss in forum PERL Miscellaneous
    Replies: 5
    Last Post: September 4th, 12:25 PM
  4. too many symbolic links
    By Enrique Arredondo in forum SCO
    Replies: 0
    Last Post: July 3rd, 10:07 PM
  5. Help needed on Symbolic links....
    By Tiger dudes in forum Sun Solaris
    Replies: 1
    Last Post: June 25th, 09:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139