-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder dates are not kept original on replicas #14008
Comments
CC @dragotin |
Still valid client 1.8.0, server 8.0.3 in Apache with MariaDB, php 5.6.8, no php caches. |
@Morganlej Any difference with 1.8.1 client? |
1.8.1 build 5050 git ee7102 Qt5.4.0, running on W7pro 64bit swedish, operating on SSD drive D:, NTFS whatever version set to not store 8dot3 names.: still valid. |
I simply moved an old folder into a folder i already shared on one computer as one user (client 1.8.0, linux), sharing to another user on same owncloud server, and on that users laptop (clinet 1.8.1, W7) the folder showed up with current datetime. |
The current behavior is by design, folder mtimes are not synced. Switching labels to "enhancement" |
This enhancement would be nice. |
It is weird, that this is classified as "enhancement" instead of "bug", as for end user point of view, owncloud should behave transparently i.e. it should not mess with file timestamps. At least for me (and most likely for majority of Windows and Mac users), file timestamps are very important information to quickly detect, which documents have been last edited. Also operating systems offer tools to search based on file and folder timestamps. I realize, that in Git ideology, timestamps don't matter, but owncloud is not git - it is more like open source replacement for DropBox. So I sincerely request that this would be classified again as a "bug". |
The problem is that the timestamp of the folder changes each time we do changes to that folder. The mtime of the files on the other hand, are kept in sync. |
I'm sorry, but the explanation "because we have the create a temporary file, it changes the mtime of the folder" is not valid, at least not in Unix world. It is trivial to set the timestamp of directory back to what it was before creating the temporary file, just one touch command. Is there something more complicated behind this? |
Could the temporary file get stored elsewhere, for example in a hidden folder under the root ? This would prevent touching the folder mtime. |
Any updates on this? I'm having the same issue. Modification dates of folders are being set to the date they are synced, not the date of the folder on the source. This is creating major nightmares keeping track of things. This is not an ENHANCEMENT, this is a BUG!! |
This issue has been automatically closed. |
Steps to reproduce
Expected behaviour
Files and folders should have original timestamps
(like it usually works with cloning/backup utilities)
Actual behaviour
Folders are timestamped with the time they were downloaded!
This mess up history for both users and some programs.
(Files are OK get correct original time.)
This seem to be a long standing problem reported on forum and several issues here, examples: #7009, #2076, #1897, #1566. Anyway I was asked to make yet a new issue so here it goes.
I see the same still today windows & linux clients 1.7.1 server 7.0.4
* IMO this really need to get straight as it disturbs many users.*
Why it is a problem: Wrong times can fool both people and programs.
Basically it seem to operate by design as it seem not to be logging any problem, and bug reports get closed. But we are many that think that the design goal should be to replicate the original folder creation time.
Real world example: I make many small repair projects which i document in an tree and just make a new folder and put in a couple photos and text file. There are many such folders in a customers folder. When i sort it by time i can easily se when repairs were made, and easily find the one i look for. But when ownCloud resets the folder creation time i need to open each folder to see the time of the files instead!
Server configuration
I wrote this while setting it up: https://wiki.mageia.org/en/OwnCloud
Operating system: Mageia 5 beta 2+ , 64 bit, kernel-desktop-3.18.3-2.mga5
Web server: Apache 2.4.10-11.mga5
Database: MariaDB 10.0.15-2.mga5
PHP version: php 5.6.5-1.mga5
ownCloud version: ownCloud 7.0.4-1.mga5
Updated from an older ownCloud or fresh install: Fresh (i believe i cleared all old away after first test setup)
List of activated apps: I only use (in-house) file sharing...
The content of config/config.php:
Are you using external storage, if yes which one: ext4 on separately mounted partition, SATA mechanical platter
Are you using encryption: No
Client configuration
Browser: Firefox for web UI, Dolphin and Konqueror for files, Webmin... Er... Do you mean what you other places call the Client? version 1.7.1 on both Linux and Windows
Operating system: Mageia5 KDE, and Windows7 : identical behaviour
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
I dont think you need them...
The text was updated successfully, but these errors were encountered: