Ticket #3650 (new enhancement)

Opened 9 years ago

Last modified 6 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:

Description

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.

Attachments

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

Change History

Changed 9 years ago by Nicolas Rybkin

comment:1 Changed 9 years ago by andrew_b

  • Component changed from mc-core to mc-vfs

comment:3 Changed 9 years ago by Nicolas Rybkin

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

comment:4 Changed 9 years ago by Nicolas Rybkin

sorry for real tabz

comment:5 Changed 6 years ago by andrew_b

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

Note: See TracTickets for help on using tickets.