Making a Samba share writable

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,557
4,463
75
Yes, it's another one of these! But I've tried everything I can find online.

My smb.conf file includes:

Code:
[global]
follow symlinks = yes
wide links = yes
unix extensions = no
   workgroup = WORKGROUP
        server string = %h server (Samba, Ubuntu)
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   server role = standalone server
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   usershare max shares = 100
   usershare allow guests = yes
   usershare owner only = yes
[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
[multimedia]
path = /mnt/media/multimedia
valid users = ken
read only = no
inherit permissions = yes
write list = ken
create mask = 0644
directory mask = 0755
[downloads]
path = /downloads
valid users = ken
read only = yes

My fstab on the other Linux system (yes, this is linux-to-linux) has:
Code:
//192.168.0.2/multimedia /multimedia cifs username=ken,password=nunovyerbiz,rw,auto,user,nodev,noexec,nobrl,uid=1000,gid=1000,file_mode=0777,dir_mode=0777 0 0

(That would be a fairly good password, but I changed it from my real password.)

Code:
$ ls -ld /multimedia/
drwxr-xr-x 2 ken root 4096 Nov 14 09:34 /multimedia/
$ mount /multimedia
$ ls -ld /multimedia/
drwxrwxrwx 2 ken ken 0 Nov 14 11:09 /multimedia/

And I thought that setup used to work on other systems. But it doesn't work now. What's missing???!!!

Oh, and I'm open to setting up some other file-system-sharing mechanism if you'll walk me through it.
 

Chaotic42

Lifer
Jun 15, 2001
34,330
1,497
126
I seem to remember having this problem. I think I unmounted /mnt/media/multimedia and then changed the permissions on that unmounted mount point and then remounted. Sorry, it's been a while.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,557
4,463
75
try

writeable = yes

to test?

selinux?
Tried it. My research says writeable=yes is a deprecated synonym for read only=no.

This Xubuntu 16.04 LTS being accessed from 17.04
 

jd17

Junior Member
Nov 18, 2017
2
0
6
Personally I'd dramatically simplify the config (down to about 4 lines) to troubleshoot then start adding back until it broke.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |