Hi, Guy,
How to set a folder any user can write to and the same file can be overwrite by others.
I have to set up a tftp server, which sets up /tftpboot/, I've set the folder to have mod 777 and owner nobody.
Anyone can write to the folder, but my problem is if if someone write a file in this folder, as /tftpboot/user1.file.
This file has owner:group user1:user1, another user is not able to overwrite the the same file without sudo.
Is there kind of mother setting of a folder, which automatically changes ownership of it's contents? Or in other word, let folder contents to inherit folder properties. AUTOMATICALLY!, not every time manually # chmod -R 777 /tftpboot/ and # chown -R nobody /tftpboot/
Side experimental note: Looks like if I do once # chmod -R 777 /tftpboot/ and # chown -R nobody /tftpboot/
As long as I don't switch user and write file to the /tftpboot/ folder, or log out, I can overwrite the file and file's ownership won't change to user:user
Thanks,
Bookmarks