Ticket #3650 (new enhancement)

Opened 8 years ago

Last modified 5 years ago

Set local file copy stat data

Reported by: Nicolas Rybkin Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


When MC copies a file into some EXTFS it uses a local copy of source file and gives a path to this copy to EXTFS scripit. But it doesn't set stat info of this local file, so EXTFS script has no chance to get stat info of true source.
I've fixed this problem, now MC performs chown(), chmod() and utime() on local copy. Struct definitions from src/vfs/extfs/extfs.c were moved to extfs.h, src/filemanager/file.c now includes extfs.h.


patchfile.patch (5.1 KB) - added by Nicolas Rybkin 8 years ago.

Change History

Changed 8 years ago by Nicolas Rybkin

comment:1 Changed 8 years ago by andrew_b

  • Component changed from mc-core to mc-vfs

comment:3 Changed 8 years ago by Nicolas Rybkin

#include <utime.h> in file.c is unnecessary.

comment:4 Changed 8 years ago by Nicolas Rybkin

sorry for real tabz

comment:5 Changed 5 years ago by andrew_b

Ticket #3951 has been marked as a duplicate of this ticket.

Note: See TracTickets for help on using tickets.