Change notifications for network filesystems
Change notifications for network filesystems
Posted May 30, 2022 11:07 UTC (Mon) by mtodorov (guest, #158788)In reply to: Change notifications for network filesystems by taladar
Parent article: Change notifications for network filesystems
IMHO, from the security point of view, it would be very useful i.e. to know which user is trying to modify /bin/bash on local filesystem. If this is a user named jdoe@localhost, and he is not one of the admins, then Huston we have a problem!
IMNSHO, the network file system's integrity should be the responsibility of the NSF, SMB or other server ...
A process could request (for example) IN_EVENT_UID
in the list of events listened to, and the fs driver could reply with EINVAL
or perhaps even more distinctive EREMOTE
(Object is remote).