On NFS, non-root users can move/rename files belonging to root.
OK, here are the facts:
stuart-server is the NFS server. stuart-desktop is the NFS client. The user stuart on both machines has UID 1000 and GID 1000. And here is the line of stuart-server:/etc/exports referring to the directory I'm having trouble with: Code:
/home/stuart stuart-desktop(rw) Here is what I get when I mount stuart-server:/home/stuart on stuart-desktop (parenthetical stuff in bold is my commentary, not the output of the shell!): Code:
stuart@stuart-desktop:~$ sudo mount stuart-server:/home/stuart /home2/stuart To help me fix this, you may request additional information about these computers if you need to, thank you. |
Is stuart the owner of the directory that the file resides in (/home/stuart)? One would expect so...
If you own the directory, you can move (and remove) files in it, even if they're not yours and you can't open them. If you don't (or rather, if you don't have write permission on the directory), you can't. This is somewhat the expected behavior. |
Ah, so there really isn't anything actually broken? No problem then, and thanks.
|
All times are GMT -5. The time now is 12:48 AM. |