<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Marco Nelissen wrote:
<blockquote cite="mid6689255801465-BeMail@nice" type="cite">
  <blockquote type="cite">
    <pre wrap="">That won't work. If you have write permissions to the directory, you
can remove any file in it regardless of the file permissions.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
That's why you'd set the "sticky" on that directory. That way only the
owner of a file will be able to delete it.

  </pre>
</blockquote>
You're only mostly right about the no write privs on the file.&nbsp; Yes if
you have write privs on the directory you can still unlink the file but
you need to use the -f option.&nbsp; I don't know how Myth deletes files so
it may do the equivalent of this.&nbsp; An idea would be to change the
ownership to root:root and mode 644.&nbsp; See below:<br>
<br>
bhalter@excelsior ~ $ ls -l test.mpg<br>
-r--r--r--&nbsp; 1 bhalter root 9076672 Feb 11 12:31 test.mpg<br>
bhalter@excelsior ~ $ rm test.mpg<br>
rm: remove write-protected regular file `test.mpg'? n<br>
bhalter@excelsior ~ $ rm -f test.mpg<br>
bhalter@excelsior ~ $<br>
&nbsp;<br>
</body>
</html>