Preserve the original timestamp, ownership and permissions #31

Closed
dagwieers opened this Issue Feb 16, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@dagwieers
Owner

dagwieers commented Feb 16, 2012

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 added a commit to vincentbernat/unoconv that referenced this issue Jan 18, 2014

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.

vincentbernat added a commit to vincentbernat/unoconv that referenced this issue Jan 18, 2014

Make `--preserve-timestamp` also preserve permissions
And change its name to `--preserve`. This is mostly what is requested
in #31.
@Pulsar-san

This comment has been minimized.

Show comment Hide comment
@Pulsar-san

Pulsar-san Jan 24, 2014

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

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

vincentbernat added a commit to vincentbernat/unoconv that referenced this issue Jun 23, 2015

Make `--preserve-timestamp` also preserve permissions
And change its name to `--preserve`. This is mostly what is requested
in #31.

@dagwieers dagwieers closed this in #179 Jun 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment