This question has been asked several times, but reading the different answers did not get me to resolve my specific problem. Ubuntu 14.04 is installed on my HTPC. I want to share over the LAN the entire content of 2 hard drives via 1 account in read and write. I need to access those shares from Android, mac os x and Windows 10. I was able to create 1 shared folder via Samba, but I cannot write to it. Authentication and read works.
I ran out of ideas to explain why it does not work, and I request the community for help.
Account that must have access: miguel. It is an admin account and I have created a different samba password for it. Shared drive: bigstock
# /boot/efi was on /dev/sda1 during installation UUID=C2C2-B220 /boot/efi vfat defaults 0 1 # swap was on /dev/sda3 during installation UUID=d20a7536-efe1-4ad4-b8a1-e36c9c5d7bc4 none swap sw 0 0 #bigstock drive UUID=479a5442-ef4e-4266-a729-f1c188755ac7 /media/miguel/bigstock ext4 defaults 0 2 #stock drive UUID=a0bdc1df-a568-4d26-82bb-cfd35aa3ab32 /media/miguel/stock ext4 defaults 0 2
ls -la /media
total 12 drwxr-xr-x 3 miguel miguel 4096 oct. 22 20:42 . drwxr-xr-x 23 root root 4096 déc. 6 11:58 .. drwxr-xr-x+ 4 miguel miguel 4096 nov. 7 17:43 miguel
ls -la /media/miguel
total 16 drwxr-xr-x+ 4 miguel miguel 4096 nov. 7 17:43 . drwxr-xr-x 3 miguel miguel 4096 oct. 22 20:42 .. drwxr-xr-x 14 miguel miguel 4096 déc. 6 15:04 bigstock drwxr-xr-x 4 miguel miguel 4096 nov. 26 12:40 stock
ls -la /media/miguel/bigstock
total 68 drwxr-xr-x 14 miguel miguel 4096 déc. 6 15:04 . drwxr-xr-x+ 4 miguel miguel 4096 nov. 7 17:43 ..
Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[bigstock]" Loaded services file OK. Server role: ROLE_STANDALONE [global] server string = %h server (Samba, Ubuntu) server role = standalone server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d idmap config * : backend = tdb [bigstock] path = /media/miguel/bigstock valid users = miguel read only = No
i have tried several other smb option like the 2 masks to 0700 but they had no effect.