I have a drive on my Ubuntu machine shared over a network, and one of the computers that can access it is a Windows 7 computer.
Whenever I am on my Windows computer and I copy a file to the Ubuntu shared folder, it appears as owned by nobody, and with limited permissions:
-rwxr--r-- 1 nobody nogroup
I always have to go to the command line on the Ubuntu side and issue a chown
command to make it so that I have permissions to edit the file. Until I do, I can't move or copy it, and it won't sync with Dropbox.
How can I make it so that when I copy files from my Windows machine they automatically are owned by me (I only have one user account on my Ubuntu machine) and I have the permission to edit and move them freely?