On Wed, Feb 13, 2002 at 05:37:42PM -0500, Bill Davidsen wrote:
> What would happen if the sync(2) call from a non-root user were treated as
> if it were an fsync(2) call on every file open for write?
Then you'd lose writes for files you have written to but since
closed; and you'd seriously hurt the users of journaling filesystems
who assume you can "sync" as an unprivileged user and then turn power
off.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/