[Bug 490380] Re: Please set option inherit owner by default on guest-enabled SMB shares

2009-12-07 Thread Fabio Bossi
OK, maybe setting that option is not the right thing to do, but I still
have a strong feeling that something must be changed. New users who want
to share files between their Ubuntu and Windows PC and create a guest-
enabled share will be outraged when they find out that they cannot read
their files. It would be best to completely remove the allow guests
option from the GUI IMHO.


** Summary changed:

- Please set option inherit owner by default on guest-enabled SMB shares
+ Please remove the accept guests option from the GUI since it creates 
confusion for new users

** 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 know that an option
- for that in smb.conf exists.

** Changed in: samba (Ubuntu)
   Status: Won't Fix = New

-- 
Please remove the accept guests option from the GUI since it creates 
confusion for new users
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 490380] Re: Please set option inherit owner by default on guest-enabled SMB shares

2009-12-06 Thread Thierry Carrez
Yes, by default in samba, files created by the guest user are created
under the account specified in configuration under guest account, by
default user nobody. Creating them under the rights of the owner of
the directory is introducing security risks that are not appropriate for
a default configuration, in addition to diverging from upstream
defaults. The use case of a totally unauthenticated writable share where
files are created under an existing account is valid, but not for a
default configuration. Setting guest account = fabio or inherit
owner in the configuration file seems appropriate in that case.

** Changed in: samba (Ubuntu)
   Importance: Low = Wishlist

** Changed in: samba (Ubuntu)
   Status: New = Won't Fix

-- 
Please set option inherit owner by default on guest-enabled 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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs