[mythtv-commits] Ticket #2228: Don't delete symlinks in the recordings directory that point to files in other trees.
MythTV
mythtv at cvs.mythtv.org
Wed Aug 23 02:27:40 UTC 2006
#2228: Don't delete symlinks in the recordings directory that point to files in
other trees.
----------------------+-----------------------------------------------------
Reporter: cpinkham | Owner: cpinkham
Type: task | Status: assigned
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
----------------------+-----------------------------------------------------
Changes (by cpinkham):
* status: new => assigned
Old description:
> This is a security enhancement task for implemtation after 0.20 is
> released.
>
> We do not want to allow Myth to delete a symlink under the recordings
> directory or
> the file the link points to if the actual path to the file is not
> somewhere under
> the actual recordings directory.
>
> After this task is completed, in order to have recordings stored in
> multiple
> directories and/or filesystems, you will need to mount those directories
> somewhere
> under the main recording directory. This can be done by mounting the
> whole
> secondary filesystem under the main recording directory or by using a
> bind mount
> to mount the secondary recordings directory under the main recording
> directory.
> See the "mount" manpage for information on bind mounting a directory in
> another
> location. You will also have to recreate any existing links since the
> location of
> the actual files will change.
>
> Again, this is a post-0.20 task, so the changes will be put into place in
> SVN
> sometime after 0.20 is released.
New description:
This is a security enhancement task for implementation after 0.20 is
released.
We do not want to allow Myth to delete a symlink under the recordings
directory or
the file the link points to if the actual path to the file is not
somewhere under
the actual recordings directory.
After this task is completed, in order to have recordings stored in
multiple
directories and/or filesystems, you will need to mount those directories
somewhere
under the main recording directory. This can be done by mounting the
whole
secondary filesystem under the main recording directory or by using a bind
mount
to mount the secondary recordings directory under the main recording
directory.
See the "mount" manpage for information on bind mounting a directory in
another
location. You will also have to recreate any existing links since the
location of
the actual files will change.
Again, this is a post-0.20 task, so the changes will be put into place in
SVN
sometime after 0.20 is released.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2228#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list