Re: quasi-[OT] Adobe Flash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-10-21 at 21:33 -0600, Petrus de Calguarium wrote:
> Takehiko Abe wrote:
> 
> > The new flash player (preview 2) unlinks a temp file right after
> > opening it as discussed in this reddit thread:
> > 
> > 
> http://www.reddit.com/r/linux/comments/dky73/flashplugin_not_caching_to_tmp_any
> more/c10ylu5
> > 
> 
> Finally, someone who gets it :-)
> 
> That is what I was saying all along. Yes, the file is deleted, presumably at 
> the instant it is created, so it, in effect, never exists.
> 
> Fortunately, Suvayu's brilliant script gets around that and manages to access 
> the file, even though it is already deleted, while Patrick's suggestion of hard 
> linking to it does not work, because it is already deleted, unless he also has 
> some ingenious trick up his sleeve to "get a handle on" the deleted file.

The few times I've done this, the file in question was only unlinked
after being fully downloaded. This made it easy to link to the file
before the download finished. If the behaviour has changed then of
course it becomes slightly more difficult, but still feasible. Since the
file is still open (though unlinked) just link
to /proc/<pid>/fd/<file_id>, as long as you can figure out which fd it
is, which shouldn't be hard (use "ls -l" and see which one is growing).

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux