Opened 19 years ago
Last modified 19 years ago
#2228 closed task
Don't delete symlinks in the recordings directory that point to files in other trees. — at Version 1
| Reported by: | cpinkham | Owned by: | cpinkham |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.21 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description (last modified by )
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.
