On 23:09 23 Feb 2002, Lewi <[EMAIL PROTECTED]> wrote:
| On Sat, Feb 23, 2002 at 10:58:59AM -0500, rpjday wrote:
| > On Sat, 23 Feb 2002, Lewi wrote:
| > > it that possible to restrict file to not able be copying but still can
| > > be see the contents.
| > not likely, since if someone can list the contents, they can always
| > just redirect the output to a destination file of their choice.
| i think so too, but just an idea if that possible if just restrict cp command
| to read file.

What good would such a thing achieve?

| just a homework from my master :)

Just tell him "no". I guess you _could_ hack the cp source to implement
some totally arbitrary restriction. Not very productive. Or you could make
the file genuinely not publicly readable and owned by a particular user,
and then put a setuid or setgid command somewhere to access it.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Michael Atkinson proved himself chosen when he disowned two of his offspring
for quoting his own genetic material within themselves. - The Usenet Oracle



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to