Hi there, I just found that if an user is assigned in the "admin users", and if the user grab a file from window to samba share, the file will be owned by root from unix view. I am believing this is a bug. The samba version I am using is 2.2.4. Weixing Hao (631) 858-6341 Forest Labs -------------- next part -------------- HTML attachment scrubbed and removed
Look into 'force user', 'force group', and 'create mask' in smb.conf. GregW -----Original Message----- From: Weixing.Hao@frx.com [mailto:Weixing.Hao@frx.com] Sent: June 6, 2002 2:52 PM To: samba@lists.samba.org Subject: [Samba] admin users' file is owned by root Hi there, I just found that if an user is assigned in the "admin users", and if the user grab a file from window to samba share, the file will be owned by root from unix view. I am believing this is a bug. The samba version I am using is 2.2.4. Weixing Hao (631) 858-6341 Forest Labs -------------- next part -------------- HTML attachment scrubbed and removed
On Thu, 6 Jun 2002 Weixing.Hao@frx.com wrote:> Hi there, > > I just found that if an user is assigned in the "admin users", and if > the user grab a file from window to samba share, the file will be owned > by root from unix view. I am believing this is a bug. > > The samba version I am using is 2.2.4.No this is by design. Please reread the smb.conf(5) man page. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
I can not get the idea that you are saying, I have two users in "admin users" group and both of them have thier own uid:gid and they are "not" root. Any files they created through samba share on window side (I did not test modification) in files ownership changed into root's, this does not make any sense to me. Remember the samba share I talk about is user's home. If a file in your home directory is owned by root, not you and it has no write permission for group or/and other. What you are going to do with it then? Weixing Hao -----Original Message----- From: Nelson, John P. [mailto:john.nelson@teradyne.com] Sent: Friday, June 07, 2002 11:02 AM To: 'Weixing.Hao@frx.com' Subject: Re: [Samba] admin users' file is owned by root>I just found that if an user is assigned in the "admin users", and if the >user grab a file from window to samba share, the file will be owned by root >from unix view. I am believing this is a bug.Why do you think this is a bug? If a user is in "admin users", that means that samba will perform all operations for that user using the account "root". That's the DEFINITION of "admin users". If a file created by a member of "admin users" was owned by anyone OTHER THAN "root", it would be a bug! -------------- next part -------------- HTML attachment scrubbed and removed
Maybe Matching Threads
- RE: [R] Mapping actual to expected columns for princomp object
- smbd hung processes - Samba 3.0.7
- page name change suggestion for wiki admin
- [PATCH v3] Fix the mistake of exception execution
- [LLVMdev] Why function pointer is different from other data type?