[Bug 490380] Re: Please change the default permissions on SMB shares

Fabio Bossi fabio.bossi at email.it
Sat Dec 5 08:38:38 GMT 2009


I forgot to say that I have also checked the "Accept guests" option in
the nautilus dialog; I suppose that's why I'm not being asked for a
password. And I remember that new files are created with owner root and
group nogroup. I'm sure that an option exists in smb.conf to set the
default owner for new files in the share (I had set it myself once to
work around this problem, but now I can't remember it). I'd like that,
if you pick "accept guests", that option would be set to the owner of
the share.

Anyway, I'll try everything again as soon as I can.


** Description changed:

  Binary package hint: samba
  
  Steps to reproduce:
  
  1) Right clicking on  a folder  in Nautilus and choose "sharing options"
- 2) Set up an SMB share with write permissions
- 3) Using a Windows PC, create a new file (or copy a file) into the new share
+ 2) Set up an SMB share with write permissions and check the "accept guests" option
+ 3) Using a Windows PC, create a new file (or copy a file) into the new share (no password prompt appears)
  4) See how the Ubuntu user cannot access the file without becoming root from command line
  
  I suggest setting the default owner of the new files in the share to the
  user who created the share.

** Description changed:

  Binary package hint: samba
  
  Steps to reproduce:
  
  1) Right clicking on  a folder  in Nautilus and choose "sharing options"
  2) Set up an SMB share with write permissions and check the "accept guests" option
  3) Using a Windows PC, create a new file (or copy a file) into the new share (no password prompt appears)
  4) See how the Ubuntu user cannot access the file without becoming root from command line
  
- I suggest setting the default owner of the new files in the share to the
- user who created the share.
+ I suggest setting the default owner of the new files in the share to the user who created the share. I know that an option
+ for that in smb.conf exists.

-- 
Please change the default permissions on SMB shares
https://bugs.launchpad.net/bugs/490380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list