We currently ignores requests to change the ownership of a file or directory. We need to update the Setattr implementation to correctly handle and store User ID (UID) and Group ID (GID) modifications.
- File and directory structs store UID and GID fields.
- The
Setattr method intercepts and applies UID and GID changes when requested.
attr correctly reports and updates UID and GID back to the OS.
We currently ignores requests to change the ownership of a file or directory. We need to update the
Setattrimplementation to correctly handle and store User ID (UID) and Group ID (GID) modifications.Setattrmethod intercepts and applies UID and GID changes when requested.attrcorrectly reports and updates UID and GID back to the OS.