Public bug reported: Package: system-config-samba Version: 1.2.63-0ubuntu6 OS: Ubuntu 16.04 LTS Architecture: 64-Bit Connect OS Edition: Windows 10 Home Version: 1511 OS build: 10586.494 Architecture: 64-Bit I expected to add a [<folder_name>] and permissions to the smb.conf file as instructed and internally indicated as possible in the file itself as it is "suggested configurable options" file. This was in order to share files with a Windows 10 OS networked computer.
What I found was /etc/samba/smb.conf permission is "read only" not allowing me to save the file with the added [<folder_name>] and permissions. What I did: 1. I used the Ubuntu software center this week to install both the system-config-samba 1.2.63-0ubuntu6 package and the Smb4k packages. 2. I checked for updates today. After hours of disylectic mistyping, Ubuntu can see the Windows 10 files. But, Windows cannot see the share folder because "Access is denied." To access the //home/<My_user_name>/Share file: 1. I used ifconfig to obtain the Ubuntu computer's address: 2. I assumed "inet addr:192.168.xxx.xxx" was the correct one out of five addresses included [inet addr: ... Bcast: ... Mask: ... inet6 addr: ... ] 3. I double checked my password. 4. I entered these in the "Windows 10 Windows Security" "Enter network credentials" page. According to Korbin Browns well written instructions [cannot judge accuracy] at: http://www.howtogeek.com/176471/how-to-share-files-between-windows-and- linux/ Section "Creating the Share on Linux" I need to enter the following lines into smb.conf to allow windows to see a shared file. [The file does not claim to contain all options.] 1. I opened /etc/samba/smb.conf in gedit. the gedit header displays: smb.conf [Read-Only] (/etc/samba) - gedit. and [Save] is grayed out. Within the file it states that it is a sample file and if an option is desired the comment symbols "#" or ";" are to be removed, or missing options added. This indicates the creators of the file intend it to be edited, then saved. 2. I entered the following lines: [Share] path = /home/<My_user_name>/Share available = yes valid users = <My_user_name> read only = no browsable = yes public = yes writable = yes 3. Finding I could not save the file, I copied the text to a new file. 4. I attempted to save it in /etc/samba/. A read only warning pop up displayed. It asked if I wanted to replace anyway. 5. Clicking [Replace] returned a red banner with the following: "Could not save the file “/etc/samba/smb.conf”. You do not have the permissions necessary to save the file." Please check that you typed the location correctly and try again. [Cancel]" 6. I clicked [Cancel] as it is the only option. 7. I found on the smb.conf pull down menu the [Cut], [Move to Trash], [Move to ...], and [Rename] options are grayed out. 8. I clicked [Properties] > [Permissions] The messages here are: "You are not the owner, so you cannot change these permissions." and "Security Context: unknown" I take this to mean that the real owner is not identifiable by Ubuntu. So I can neither move or delete the current file in order to replace it with a file containing the option I need. I spent most of the day Searching both the Samba site and the Ask.Ubuntu sites, as well as associated bug reporting sites. * I found no references to smb.conf being "read only." * I found no questions or answers that related to this specific situation using all the variations on search terms I could think of, such as "smb.conf "read only,"" "Edited smb.conf cannot be saved," and subsets of these. Until this bug is fixed, how do I remove the "Read Only" lock, or work around this. ** Affects: system-config-samba (Ubuntu) Importance: Undecided Status: New ** Tags: networking samba windows-10 ** Attachment added: "Who owns smb.conf?" https://bugs.launchpad.net/bugs/1605138/+attachment/4704489/+files/smb-conf-properties-not-owner.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605138 Title: Samba's smb.conf is now "read only" with unknown owner, defeating its Options setting intent. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/system-config-samba/+bug/1605138/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs