Re: [GTALUG] "Nobody" Problem
Stephen, I have used the sticky bit for this in the past. You can set up a cron job that searches for new files, and that changes the owner and permissions. On Sun, 5 Aug 2018 17:22:04 -0400 Stephen via talk wrote: > I have a share on Ubuntu Linux. > > From Windows copy files to the share. > > Files have owner of "Nobody" > > How do I have them default to the owner of the Public directory? > > Thanks > > -- > Stephen > --- > Talk Mailing List > talk@gtalug.org > https://gtalug.org/mailman/listinfo/talk -- Howard Gibson hgib...@eol.ca jhowardgib...@gmail.com http://home.eol.ca/~hgibson --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] "Nobody" Problem
On 2018-08-05 05:22 PM, Stephen via talk wrote: I have a share on Ubuntu Linux. From Windows copy files to the share. Files have owner of "Nobody" How do I have them default to the owner of the Public directory? It has been a quite a while since I set up Samba for directory/file sharing in a company environment. Files might get owned by nobody if files are copied to the share by guests. When I last set up Samba I set valid-users to limit who could access the shares. Each user had a user ID and password in order to access the shared directory. I set the sgid bit on the directory to make sure all files would be group owned. Any valid user could create a file and their name would be the owner but the group was common so others in the group could access the file. Samba has "force user" and "force group" settings that can also help. I don't think those options were available when I last used it. -- Cheers! Kevin. http://www.ve3syb.ca/ | "Nerds make the shiny things that https://www.patreon.com/KevinCozens | distract the mouth-breathers, and | that's why we're powerful" Owner of Elecraft K2 #2172 | #include | --Chris Hardwick --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
[GTALUG] "Nobody" Problem
I have a share on Ubuntu Linux. From Windows copy files to the share. Files have owner of "Nobody" How do I have them default to the owner of the Public directory? Thanks -- Stephen --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk