<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: root can't vi or more on a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189528#M164429</link>
    <description>Hi Hanry,&lt;BR /&gt;&lt;BR /&gt;That file is a symbolic link. You need to edit the file it points to.&lt;BR /&gt;BUT it still should have let you edit it IF you're root.&lt;BR /&gt;&lt;BR /&gt;I suspect that the file it linked to is now gone. Check to see if the link destination still exists.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
    <pubDate>Wed, 11 Feb 2004 15:56:40 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2004-02-11T15:56:40Z</dc:date>
    <item>
      <title>root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189527#M164428</link>
      <description>I got permission denied message&lt;BR /&gt;&lt;BR /&gt;here is the infor on this file, xyz&lt;BR /&gt;&lt;BR /&gt;lrwxrwxrwx 1 root root .... xyz&lt;BR /&gt;&lt;BR /&gt;any idea?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 11 Feb 2004 15:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189527#M164428</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T15:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189528#M164429</link>
      <description>Hi Hanry,&lt;BR /&gt;&lt;BR /&gt;That file is a symbolic link. You need to edit the file it points to.&lt;BR /&gt;BUT it still should have let you edit it IF you're root.&lt;BR /&gt;&lt;BR /&gt;I suspect that the file it linked to is now gone. Check to see if the link destination still exists.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 11 Feb 2004 15:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189528#M164429</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-11T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189529#M164430</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is this link pointing to a NFS mount which is not exported with correction options?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 11 Feb 2004 16:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189529#M164430</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-11T16:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189530#M164431</link>
      <description>As Jeff mentioned, I think the actual file is not present now. Check if it's available now and if yes, the permission of that file. The one which you posted is a link file.</description>
      <pubDate>Wed, 11 Feb 2004 16:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189530#M164431</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-02-11T16:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189531#M164432</link>
      <description>how to find out where/what is the destination file?&lt;BR /&gt;&lt;BR /&gt;it doesn't look like a soft link.</description>
      <pubDate>Wed, 11 Feb 2004 16:18:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189531#M164432</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189532#M164433</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the destination files doesn't exist, it will create one.&lt;BR /&gt;&lt;BR /&gt;Looking at the information given by you, a hardlink will have the count 2. Yours is a symbolic link created with ln -s. It should have been something like this&lt;BR /&gt;&lt;BR /&gt;lrwxr-xr-x   1 root       sys              5 Feb 11 15:22 file2 -&amp;gt; file1&lt;BR /&gt;&lt;BR /&gt;The file next to -&amp;gt; is the destination. Can you post the entire string (ll file)?&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 16:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189532#M164433</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-11T16:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189533#M164434</link>
      <description>the entire strings is almost posted already, except the data and time, but i put it again.&lt;BR /&gt;lrwxrwxrwx 1 root root 20 Feb 11 15:45 xyz&lt;BR /&gt;&lt;BR /&gt;If it was soft link, would I get permission denied, if the destination is gone?&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 16:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189533#M164434</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T16:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189534#M164435</link>
      <description>I just did a test:&lt;BR /&gt;&lt;BR /&gt;if I remove the destination file, the symblyc link should be still shown, and you will get the message of "no such file or directory".&lt;BR /&gt;&lt;BR /&gt;But, in this case, I got "permission denied", and there is no link shown here.</description>
      <pubDate>Wed, 11 Feb 2004 16:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189534#M164435</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T16:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189535#M164436</link>
      <description>Well if you do something like &lt;BR /&gt;&lt;BR /&gt;ln -s " " foo&lt;BR /&gt;&lt;BR /&gt;you still get&lt;BR /&gt;&lt;BR /&gt;lrwxrwxr-x 1 root sys 1 Feb 11 15:38 foo -&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Nothing being pointed to, BUT you still get the arrow.&lt;BR /&gt;So this is weird.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 11 Feb 2004 16:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189535#M164436</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-11T16:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189536#M164437</link>
      <description>Well - this is weird. A last thing you can do before I suggest that you can remove this by simply doing a 'rm xyz' is do an&lt;BR /&gt;&lt;BR /&gt;#ll &amp;gt; ll.out&lt;BR /&gt;#cat -v ll.out&lt;BR /&gt;&lt;BR /&gt;and watch for any misterious characters corresponding to this link.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 11 Feb 2004 16:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189536#M164437</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-11T16:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189537#M164438</link>
      <description>This *is* a weird one, for sure.&lt;BR /&gt;What do the following commands show?&lt;BR /&gt;&lt;BR /&gt;#file xyz&lt;BR /&gt;#getacl xyz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 16:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189537#M164438</guid>
      <dc:creator>Chris Watkins_1</dc:creator>
      <dc:date>2004-02-11T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189538#M164439</link>
      <description>file xyz&lt;BR /&gt;sytems: cannot open&lt;BR /&gt;getacl systems&lt;BR /&gt;sh: getacl: not found&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 16:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189538#M164439</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189539#M164440</link>
      <description>Well it gets even more interesting.&lt;BR /&gt;In my above example of linking to "nothing" a file foo gives cannot open.&lt;BR /&gt;BUT a what foo gives&lt;BR /&gt;can't open foo (26)&lt;BR /&gt;And according to errno.h 26 is ETXTBSY Text file busy....hmmmm....&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 11 Feb 2004 16:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189539#M164440</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-11T16:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189540#M164441</link>
      <description>What version of the OS are you running?&lt;BR /&gt;If you have getacl... it's /usr/bin/getacl. Sorry.</description>
      <pubDate>Wed, 11 Feb 2004 16:54:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189540#M164441</guid>
      <dc:creator>Chris Watkins_1</dc:creator>
      <dc:date>2004-02-11T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189541#M164442</link>
      <description>I'm wondering if that file's linked to std/out/in/err, pipe, socket or something.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 11 Feb 2004 16:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189541#M164442</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-11T16:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189542#M164443</link>
      <description>it's 11.0&lt;BR /&gt;&lt;BR /&gt;how do i find if the file is/was pointing to pipe, socket,...&lt;BR /&gt;&lt;BR /&gt;Can we conclude that the file has been corrupted? therefore I can just try to remove it since there is no way to recover it.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 17:01:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189542#M164443</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T17:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189543#M164444</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use 'cat -v' to see if any of the special characters associated with it. &lt;BR /&gt;&lt;BR /&gt;#ll &amp;gt; ll.out&lt;BR /&gt;#cat -v ll.out&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 11 Feb 2004 17:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189543#M164444</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-11T17:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189544#M164445</link>
      <description>Sri,&lt;BR /&gt;&lt;BR /&gt;I did that.&lt;BR /&gt;&lt;BR /&gt;The name of the file should be correct, and should not have any control characters in it, otherwise, I will get the message like "the file is not found".</description>
      <pubDate>Wed, 11 Feb 2004 17:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189544#M164445</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-02-11T17:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189545#M164446</link>
      <description>!!! SEE SEVERE WARNING BELOW !!!&lt;BR /&gt;&lt;BR /&gt;This may not be the best idea but assuming the file system is vxfs, I did find that you can do an `ls -i` to get the inode and run:&lt;BR /&gt;&lt;BR /&gt;`echo "DDDi;+80B;p 96 c" | fsdb -F vxfs &lt;CHARACTER_SPECIAL_LVOL&gt;`, where DDD is the inode number. For any link originally 96 characters or less, you should see it in the output. &lt;BR /&gt;&lt;BR /&gt;!!! SEVERE WARNING !!! - per the HP manpage, [ failure to use fsdb correctly ] can lead to complete destruction of the file system and total loss of data.&lt;BR /&gt;&lt;BR /&gt;... but that aside, the command above is not changing anything, merely going to the inode, seeking 80 bytes ahead, and then printing the following 96 bytes.&lt;/CHARACTER_SPECIAL_LVOL&gt;</description>
      <pubDate>Wed, 11 Feb 2004 20:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189545#M164446</guid>
      <dc:creator>Clay Jordan</dc:creator>
      <dc:date>2004-02-11T20:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: root can't vi or more on a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189546#M164447</link>
      <description>Wow Clay - there's a guy that's loves to live on the edge.&lt;BR /&gt;But seriously - he has a valid point - hunting this dog down's looking like fsdb is the a viable tool for the job.&lt;BR /&gt;But it also looks like rm is the *proper* tool for the job, huh Hanry.&lt;BR /&gt;I gotta admit I love the hunt more than most, but it sounds to me like there's not many options Hanry.&lt;BR /&gt;&lt;BR /&gt;My $0.02,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 11 Feb 2004 22:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-vi-or-more-on-a-file/m-p/3189546#M164447</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-11T22:48:14Z</dc:date>
    </item>
  </channel>
</rss>

