file owner on an NFS
I would like to know if there is a way of specifying which user should be the owner of a file on an NFS that has write permissions for some other user.
I am asking this because :
when i touch a file on an NFS, it is created with the owner uid different from the real uid.
now the interesting thing that this causes is : when i try to change the timestamp on this file, it disallows the operation saying that i am not the owner of the file(fair enough,that does show when i do an ls -l, and the utime man page quite explicitly says this perm denied will happen if i am notthe owner of the file, even though i might have write perms in the directory )
but my question is why is this done?
i am not on linux, hence the general forum.
i understand that linux has a call setfsuid(2) to set the user id as an owner of a file on an NFS, is there anything similar available on any other *nix?
Last edited by shishir; 11-27-2003 at 12:38 AM.