David Magda <[EMAIL PROTECTED]> wrote: > > On May 31, 2008, at 06:03, Joerg Schilling wrote: > > > The other method works as root if you use -atime (see man page) and is > > available since 13 years. > > Would it be possible to assign an RBAC role to a regular user to > accomplish this? If so, would you know which one? > > Historically backups ran as root so that all files and devices could > be accessed without running into ACL issues, but that may no longer > be necessary now.
The current interface to reset actime uses an ioctl on the file. If you do it this way, you need root privs in order not to set ctime with this operation. Another (ppossible) way to implement this feature would be a open(2) flag O_NOATIME. There was already a discussion to implement this on Solaris. BTW: I just checked the source asnd it turns out that the ioctl _FIOSATIME is not available in ZFS. It seems that there is a need to enhance the OpenSolaris kernel ;-) Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss