
26 Aug
2015
26 Aug
'15
2:12 a.m.
On Tue, 25 Aug 2015 18:12:14 Sean Crosby wrote:
I'm not aware of one, but is there a way to redirect file open calls for /path1/file1 to /path2/file2 in a script? It only has to be for file open/read calls, and not write. The /path1 filesystem is not writeable by the user.
This is something that you could do with LD_PRELOAD. There's probably a module out there to do it already if you google it, but if not it's not that hard to write if you've good at C coding. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/ -- Sent from my Samsung Galaxy Note 3 with K-9 Mail.