<div dir="ltr"><div><div><div>If I remember right, samba doesn't follow regular *nix permissions. <br></div>Try running the command:<br></div>smbadduser<br><br></div>to get your user name and password in. Use those credentials when you login to transfer files and see if it works.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 26, 2015 at 10:18 AM, Keith Smith <span dir="ltr"><<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Hi,<br>
<br>
I am running Mint 17 KDE. I've uploaded Virtualbox and created a vm using CentOS 6.6. On the CentOS 6.6 VM I installed Samba.<br>
<br>
I created a user on the VM and created the same user as a Samba user.<br>
I created a directory off root : /work<br>
smb and nmb are both running.<br>
in the /etc/samba/smb.conf I:<br>
1) set the workgroup - I do not think this is necessary since I am connection from Linux.<br>
2) commented out all the cups references<br>
3) added the following lines:<br>
<br>
- path = /work<br>
- writable = yes<br>
- browseable = yes<br>
- read only = no<br>
<br>
SELinux is disables<br>
IPTables is disabled<br>
<br>
<br>
I have the exact same config on a laptop running CentOS 6.6 and it works fine. Only difference is the laptop mounts and connects to Samba from the fstab.<br>
<br>
To connect to the Samba share on the VM I issue the following command from my desktop's command line:<br>
<br>
sudo mount -t cifs -o user='username' //<a href="http://192.168.20.51/work/" rel="noreferrer" target="_blank">192.168.20.51/work/</a> /mnt/centos6 (command line on my desktop)<br>
<br>
It mounts and I can view the /work directory in Dolphin on the the parent (mint 17 KDE desktop).<br>
<br>
I cannot upload files though.<br>
<br>
To test I : chmod -R 777 /work which did not help.<br>
<br>
I checked the Samba logs and they contain almost nothing - no errors are being logged.<br>
<br>
I've scoured the internet and am finding no solution.<br>
<br>
<br>
Tied:<br>
<br>
create mask = 0755<br>
create mode = 0660<br>
directory mode = 0770<br>
force create mode = 0660<br>
force directory mode = 0770<br>
force user = keith<br>
force group = keith<br>
<br>
which did not make a difference.<br>
<br>
<br>
Any ideas are much appreciated.<br>
<br>
Thanks!!<span class="HOEnZb"><font color="#888888"><br>
Keith<br>
<br>
-- <br>
Keith Smith<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Todd Millecam</div>
</div>