[Bug 1413978] Re: rename updates ctime. The glibc manual says otherwise.
Jorge Morais
1413978 at bugs.launchpad.net
Fri Jan 23 13:51:42 UTC 2015
** Attachment added: "Small program that detects ctime change after rename"
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1413978/+attachment/4304322/+files/rename_updates_mtime.c
** Description changed:
glibc manual (both in the glibc included with Ubuntu 14.10 and also in
- upstream glibc from git at 2014-01-23 ) at 14.9.9 File Times says:
+ upstream glibc from git on 2014-01-23) at 14.9.9 File Times says:
"Renaming a file with 'rename' affects only the attribute change time
and modification time fields of the two parent directories involved, and
not the times for the file being renamed."
But in practice (tested on Ubuntu 14.10) renaming a file does change its
ctime. I have checked it both at the command line and also with the
- small program I will attach.
+ small program attached.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: libc6 2.19-10ubuntu2.2
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jan 23 10:24:24 2015
Dependencies:
- gcc-4.9-base 4.9.1-16ubuntu6
- libc6 2.19-10ubuntu2.2
- libgcc1 1:4.9.1-16ubuntu6
- multiarch-support 2.19-10ubuntu2.2
+ gcc-4.9-base 4.9.1-16ubuntu6
+ libc6 2.19-10ubuntu2.2
+ libgcc1 1:4.9.1-16ubuntu6
+ multiarch-support 2.19-10ubuntu2.2
InstallationDate: Installed on 2014-10-23 (91 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: glibc
UpgradeStatus: Upgraded to utopic on 2015-01-15 (7 days ago)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1413978
Title:
rename updates ctime. The glibc manual says otherwise.
Status in glibc package in Ubuntu:
New
Bug description:
glibc manual (both in the glibc included with Ubuntu 14.10 and also in
upstream glibc from git on 2014-01-23) at 14.9.9 File Times says:
"Renaming a file with 'rename' affects only the attribute change time
and modification time fields of the two parent directories involved,
and not the times for the file being renamed."
But in practice (tested on Ubuntu 14.10) renaming a file does change
its ctime. I have checked it both at the command line and also with
the small program attached.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: libc6 2.19-10ubuntu2.2
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jan 23 10:24:24 2015
Dependencies:
gcc-4.9-base 4.9.1-16ubuntu6
libc6 2.19-10ubuntu2.2
libgcc1 1:4.9.1-16ubuntu6
multiarch-support 2.19-10ubuntu2.2
InstallationDate: Installed on 2014-10-23 (91 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: glibc
UpgradeStatus: Upgraded to utopic on 2015-01-15 (7 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1413978/+subscriptions
More information about the foundations-bugs
mailing list