<?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: lost files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802340#M82189</link>
    <description>I did not do any of this through SAM.  I performed the chown then removed the line entry from the password file.</description>
    <pubDate>Mon, 09 Sep 2002 13:10:30 GMT</pubDate>
    <dc:creator>Gerald Virden</dc:creator>
    <dc:date>2002-09-09T13:10:30Z</dc:date>
    <item>
      <title>lost files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802336#M82185</link>
      <description>I have a system where for some reason there was a login set up twice, one with ID 801 and one with ID 258.  ID 801 was the current valid ID so I went through the system and every file I found with ID 258, I performed a chown to 801. I then removed the login for ID 258.  However, about a week later, some files were missing and we tracked it to files owned by this user (I don't know which ID).  The old ID has not been reused so any files associated with ID 258 have not been assigned to anyone else.  Would this situation cause files to disappear?</description>
      <pubDate>Mon, 09 Sep 2002 12:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802336#M82185</guid>
      <dc:creator>Gerald Virden</dc:creator>
      <dc:date>2002-09-09T12:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: lost files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802337#M82186</link>
      <description>Doing a chown could not cause files to be removed. The only thing that I can think of is that if you used SAM to remove the login, it has an option to also delete files. You might have missed a few files with your chown but SAM used a find command and found the ones that you missed. That's my best guess.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 13:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802337#M82186</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-09-09T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: lost files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802338#M82187</link>
      <description>Hi Gerald:&lt;BR /&gt;&lt;BR /&gt;Removing an account from '/etc/passwd' does not, per se, cause files to disappear.&lt;BR /&gt;&lt;BR /&gt;You might want to search your system for files not owned by any current users (i.e with IDs not defined in the passwd database:&lt;BR /&gt;&lt;BR /&gt;# find / -nouser&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Sep 2002 13:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802338#M82187</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-09-09T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: lost files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802339#M82188</link>
      <description>Hi Gerald,&lt;BR /&gt;&lt;BR /&gt; One of the options you can select when removing a user is&lt;BR /&gt;"Remove all files owned by this user?"&lt;BR /&gt;If you selected this option then that could account for the missing files.&lt;BR /&gt;May have to restore from backup to retrieve if this was the case.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 09 Sep 2002 13:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802339#M82188</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-09-09T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: lost files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802340#M82189</link>
      <description>I did not do any of this through SAM.  I performed the chown then removed the line entry from the password file.</description>
      <pubDate>Mon, 09 Sep 2002 13:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802340#M82189</guid>
      <dc:creator>Gerald Virden</dc:creator>
      <dc:date>2002-09-09T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: lost files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802341#M82190</link>
      <description>Gerald,&lt;BR /&gt;&lt;BR /&gt;Using "chown" will not directly remove files. But... If you had a cron job that attempted to "cd" to a folder owned by the old ID number and now the uid is different, then the "cd" might fail and unforseen events may occur.&lt;BR /&gt;&lt;BR /&gt;A long time ago, I had a clean up script where it would "cd" to a folder and then start removing files. The script assumed the "cd" always would work. One day permissions changed on the folder and the "cd" failed. The script then started removing folders and files that I hadn't planned for it to do. I now never assume a "cd" will always work and have modified my scripts accordingly.&lt;BR /&gt;&lt;BR /&gt;My 2 cents...&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 13:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-files/m-p/2802341#M82190</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-09-09T13:27:33Z</dc:date>
    </item>
  </channel>
</rss>

