
mtdean at thirdcontact
Nov 17, 2007, 8:44 AM
Post #2 of 2
(432 views)
Permalink
|
|
Re: Problem with "Follow symbolic links when deleting files"
[In reply to]
|
|
On 11/16/2007 11:13 PM, moodyjunk[at]frontiernet.net wrote: > From my /mythtv recordings directory I setup symbolic links for some > files pointing to a child directory (/mythtv/movies): > /mythtv# ln -s movies/<filename>.mpg > > Watching of the recording from the GUI works fine along with the > preview window. However, when I delete it from the GUI after viewing, > the symlink is removed, but the recording file remains. I do have > "Follow symbolic links when deleting files" checked. I viewed > /var/log/mythtv/mythbackend.log and found: > > Error deleting '/mythtv/1135_20071007130000.mpg' -> > 'movies/1135_20071007130000.mpg': No such file or directory > > If I change the symlink to specify the full path > /mythtv# ln -si /mythtv/movies/<filename>.mpg > the delete works fine. > > I think this is a bug. If the symlink works for viewing, it should > also work for deleting. I hope the developers are watching :-) Not a bug. Designed that way on purpose for better security. Besides, symlinks are completely unnecessary in trunk (and will be in 0.21) due to Storage Groups. Just specify links with absolute paths (as the myth_archive_job.pl script does). Mike _______________________________________________ mythtv-users mailing list mythtv-users[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
|