* fhandler.h (fhandler_disk_file::touch_ctime): Declare.

* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): New method
	to set file's ctime.
	(fhandler_disk_file::fchmod): Try opening file for writing first.
	Set file's ctime on success.
	(fhandler_disk_file::fchown): Ditto.
	(fhandler_disk_file::facl): Ditto.
This commit is contained in:
Corinna Vinschen
2005-01-13 22:56:20 +00:00
parent 0dabe0e0c2
commit 36ca239fd4
3 changed files with 63 additions and 14 deletions

View File

@@ -571,6 +571,8 @@ class fhandler_dev_tape: public fhandler_dev_raw
class fhandler_disk_file: public fhandler_base
{
void touch_ctime (void);
public:
fhandler_disk_file ();