Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] windows modify acl on openSUSE
On 03/02/2012 09:15 AM, Roger Oberholtzer wrote:
If the directory cannot be changed, how does the date of modification
get updated?

mtime is part of the file's "struct stat", not of the directory:

$ lstat("/tmp/x", {st_dev=makedev(8, 1), st_ino=10780, st_mode=S_IFREG|0644,
st_nlink=1, st_uid=1000, st_gid=100,
st_blksize=4096, st_blocks=8, st_size=3, st_atime=2012/03/02-09:25:32,
st_mtime=2012/03/02-09:25:32,
st_ctime=2012/03/02-09:25:32}) = 0

Berny
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >