When I want to grant access to another user to my file, I use
chmod 777 file, but if I want to be sure I'm granting permission just for that user, how can I do it?
The file is owned by "root", so it's mine if I access it with
sudo, I suppose (or maybe I'm confused.. please correct me).
I want to share a folder called
/Data in the root. The other user I want to share it is the root of an embedded system, which I'm accessing with telnet and NFS.
The files inside
/Data are generated by me, and every time I generate them, I have to use the command
chmod 777 /Data so I can access them from the embedded system.
I'm using Ubuntu in my computer, and a compiled-here-linux in the embedded system.