Timestamp from when it was read is different, overwriting anyway

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,927
Location
GMT +7.00
Hello,

When trying to modify user.conf of an active user all changes get overwritten by Directadmin, and in error log we can see:

Code:
2014:07:07-20:48:43: ConfigFile::writeFile(./data/users/bob/user.conf) : Timestamp from when it was read is different, overwriting anyway
Let's say I've logged in as user bob and through a plugin modify bob's user.conf. And it does not matter that I use API, or write directly into the file, all changes get reverted by directadmin.

Is there anything that I miss? How can I bypass it and keep custom changes without using cron?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,927
Location
GMT +7.00
Hello,

A solution was found. We may fork a child process to bypass the limitation.
 

rjanssen

Verified User
Joined
Apr 15, 2016
Messages
7
Hi Alex,

Will you share your solution with us?


Kind regards,

Rick Janssen
 
Top