Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Preserve the original timestamp, ownership and permissions #31

Open
dagwieers opened this Issue · 1 comment

2 participants

@dagwieers
Owner

In some cases it is desirable to have the same timestamp, ownership and/or permissions on the converted document as it was on the original. We should add an -p option to preserve that information on files.

@vincentbernat vincentbernat referenced this issue from a commit in vincentbernat/unoconv
@vincentbernat vincentbernat Add a flag to preserve timestamp from input file
The `--preserve-timestamp` flag can now be used to copy the timestamp of
the original file to the converted file. This partly fix #31.
553a7a9
@vincentbernat vincentbernat referenced this issue from a commit in vincentbernat/unoconv
@vincentbernat vincentbernat Make `--preserve-timestamp` also preserve permissions
And change its name to `--preserve`. This is mostly what is requested
in #31.
d2ac4b8
@Pulsar-san

I second that.
It is very annoying when used from apache with shell_exec() because the outfile becomes owned by root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.