Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A Unix question. (Slightly off-topic)

Author: Robert Hyatt

Date: 10:14:23 06/25/02

Go up one level in this thread


On June 25, 2002 at 12:37:32, Keith Evans wrote:

>On June 24, 2002 at 22:04:54, Robert Hyatt wrote:
>
>>On June 24, 2002 at 20:27:20, Keith Evans wrote:
>>
>>>On June 24, 2002 at 20:13:16, Slater Wold wrote:
>>>
>>>>A ran into a problem today with a system running SCO 5.0.5m.  I can not figure
>>>>it out, and it's driving me nuts.  (Yes, I have looked on the 'Net, I can't find
>>>>anything.)
>>>>
>>>>I logon as root, and I go into "/programs" and type "ls" I see a list of files.
>>>>They are owned by several different users, with several different permissions,
>>>>types, sizes, etc.  I chmod *everything* 777.  (From root, I type, "chmod -R 777
>>>>programs".)
>>>>
>>>>Then I logon as another user, slate, and go into that same exact directory
>>>>"/programs" and type "ls".  It gives me a list of *SOME* of the files.  (About
>>>>70%.)  If I type "ls <anything>*" it will tell me "no such file or directory".
>>>>
>>>>Basically, there are a handful of files, that are virtually "hidden" to all
>>>>other users except root.  Even after chmod'ing everything 777.
>>>>
>>>>
>>>>Any ideas?
>>>>
>>>>I appreciate any response.
>>>
>>>
>>>Any chance that file versioning is enabled? Maybe those are deleted files?
>>
>>
>>Not in unix that I know of.  ls -l shows _all_ files.  There are no "deleted"
>>files in unix...
>
>Sigh... I have to admit that this was a WAG (wild ass guess), but did you read
>the part of my message where I asked about "file versioning" under SCO Unix?
>
>Here's a quote that ties this to file visibility:
>
>"On traditional UNIX systems, once you have deleted a file, you cannot retrieve
>it, other than by searching through any existing backup tapes. The SCO
>OpenServer system undelete command makes this process much easier on versioned
>files."
>...
>"NOTE: File versions created in this way will always be visible, independently
>of the value of SHOWVERSIONS. However, when the filesystem is mounted with
>versioning enabled, file versions created using undelete -v will not be
>visible."


The only way that can be done is to "move" the files somewhere else.  Several
have done such a "rm" command, for example.  So that instead of removing the
file outright, it is moved into another directory where it can later be
recovered if desired.  However, that is not really "removing" the file.  Once
a file is truly removed, it is _gone_ forever.

It sounds as if they also did a modification on the ls command so that it
can show such files, or else they modified the entire filesystem to support
files with some special character which means "present but it has been
deleted."  That is not a "unix" facility however.  Thank goodness...



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.