Andreas Schneider
|
4246190524
|
Set O_NOATIME if we are the owner of the file or a superuser.
|
2008-06-16 17:49:45 +02:00 |
|
Andreas Schneider
|
8a9a4b18fb
|
Improve debug output if open fails.
|
2008-06-16 16:42:46 +02:00 |
|
Andreas Schneider
|
0eb0842e0a
|
Fix return code of open which was always 1.
|
2008-06-16 16:41:19 +02:00 |
|
Andreas Schneider
|
9c9faebd0e
|
Fix open on the original file in propagation.
O_NOATIME can only be set by the owner of the file or root.
|
2008-06-16 16:40:25 +02:00 |
|
Andreas Schneider
|
bac6f7d7b6
|
Set the right owner and group if possible.
|
2008-06-09 17:16:44 +02:00 |
|
Andreas Schneider
|
971e85871a
|
Move count var to the function stack and add O_NOCTTY to open().
|
2008-06-09 16:44:49 +02:00 |
|
Andreas Schneider
|
7f003c1277
|
Make sure that we can't run in an infinite loop.
|
2008-06-06 13:23:42 +02:00 |
|
Andreas Schneider
|
4adb536048
|
Create the missing directory only in the error case.
|
2008-06-06 10:28:53 +02:00 |
|
Andreas Schneider
|
212defd763
|
Create a new temporary file name if the file already exists.
|
2008-06-06 10:28:44 +02:00 |
|
Andreas Schneider
|
e756830696
|
Use open and fail if the file already exists.
|
2008-06-06 10:17:58 +02:00 |
|
Andreas Schneider
|
0e499d0b30
|
Remove the temporary file if an error occurs.
|
2008-06-06 10:17:37 +02:00 |
|
Andreas Schneider
|
aec3f4440c
|
Use a random generated temporary file name.
|
2008-06-06 10:15:58 +02:00 |
|
Andreas Schneider
|
1255c46668
|
Add some FIXME's.
|
2008-06-05 14:44:14 +02:00 |
|
Andreas Schneider
|
ed3073ba13
|
Move the chmod command before we call utimes.
|
2008-06-05 14:43:28 +02:00 |
|
Andreas Schneider
|
13f82f25ff
|
Set the right mode during open.
This gives us a speedup about 60 seconds copying the linux kernel sources.
|
2008-06-05 13:32:23 +02:00 |
|
Andreas Schneider
|
34e59bae46
|
We shouldn't follow symlinks and don't change the access time.
This gives a small speedup of the read command.
|
2008-06-05 13:31:23 +02:00 |
|
Andreas Schneider
|
e5180d19d4
|
Only create paths when needed.
|
2008-06-05 12:02:37 +02:00 |
|
Andreas Schneider
|
364a9015d3
|
Improve the speed of the push_file function.
The stat() calls in mkdirs() slows down the execution of this
function. Now we spend the most time for asprintf().
|
2008-06-04 18:19:14 +02:00 |
|
Andreas Schneider
|
7921b88467
|
Don't output on error if we remove a dir and errno is ENOTEMPTY.
|
2008-05-27 13:51:58 +02:00 |
|
Andreas Schneider
|
d5aced82ca
|
Disable sync of symlinks cause they need a lot of work.
|
2008-05-26 17:09:42 +02:00 |
|
Andreas Schneider
|
66fd0e2de0
|
Add basic support for symbolic links.
A test to ensure that it is working is still needed.
|
2008-05-26 15:58:40 +02:00 |
|
Andreas Schneider
|
49e10b7e6a
|
Add debug message if mkdirs fails.
|
2008-05-21 15:50:27 +02:00 |
|
Andreas Schneider
|
5a77997d55
|
Rename static functions to start with an underscore.
|
2008-05-20 14:01:04 +02:00 |
|
Andreas Schneider
|
235b817de0
|
Add a directory cleanup function to the propagator.
|
2008-05-20 13:56:43 +02:00 |
|
Andreas Schneider
|
1712447252
|
Check return values and errno of functions.
|
2008-05-19 16:29:01 +02:00 |
|
Andreas Schneider
|
c01d75d026
|
Split up the propagation visitor in file and dir propagator.
|
2008-05-19 11:39:11 +02:00 |
|
Andreas Schneider
|
d3f8e4aa7d
|
Add more functions to the propagation visitor.
|
2008-05-19 11:30:41 +02:00 |
|
Andreas Schneider
|
c325f7d5e1
|
Add new file to propagator.
|
2008-05-19 11:21:44 +02:00 |
|
Andreas Schneider
|
702265920f
|
Fix csync_push_file.
|
2008-05-19 11:20:46 +02:00 |
|
Andreas Schneider
|
432c87b335
|
Fix typo use mkdirs.
|
2008-05-19 11:20:08 +02:00 |
|
Andreas Schneider
|
e2bc2031cd
|
Improve error messages.
|
2008-05-19 11:19:31 +02:00 |
|
Andreas Schneider
|
d68ac512e0
|
Fix warning and initialize the replica values.
|
2008-05-19 11:16:51 +02:00 |
|
Andreas Schneider
|
0be9a1e02b
|
Add reconciler.
Currently only new directories are created. Other functions are prepared
bug not tested yet.
|
2008-05-16 17:30:57 +02:00 |
|