Post by Stephen via talkI 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 <disclaimer/favourite> | --Chris Hardwick
---
Talk Mailing List
***@gtalug.org
http