Mahmood Naderan
2013-Nov-23 10:15 UTC
[Samba] windows can not see the content of samba shared folder
Hello, I want to access a shared folder on my linux from a windows machine. The smb.conf has this entry ?? [samba_share] ??????? comment = QEMU share place ??????? path = /media/samba_share ??????? valid users = mahmood vb ??????? public = no ??????? writable = yes ??????? printable = no ??????? create mask = 0777 Then I added a user to samba with "smbpasswd mahmood". The folder mask is 777 as below ?? $? ls -l /media/samba_share/ ?? total 11200 ?? -rw-rw-r--. 1 mahmood mahmood 11467604 Nov 23 09:53 setup.exe As you can see it contains one exe file. Now in windows side, I run ?? c:\> net use z: \\10.0.2.2\samba_share ?? The command completed successfully ?? c:\> z: ?? z:\> dir ?? ... ?? 0 File(s)???????? 0 bytes Is there anything that I missed in the configuration? Regards, Mahmood
Dale Schroeder
2013-Nov-25 18:29 UTC
[Samba] windows can not see the content of samba shared folder
On 11/23/2013 4:15 AM, Mahmood Naderan wrote:> Hello, > I want to access a shared folder on my linux from a windows machine. The smb.conf has this entry > > [samba_share] > comment = QEMU share place > path = /media/samba_share > valid users = mahmood vb > public = no > writable = yes > printable = no > create mask = 0777 > > > Then I added a user to samba with "smbpasswd mahmood". The folder mask is 777 as below > > > $ ls -l /media/samba_share/ > total 11200 > -rw-rw-r--. 1 mahmood mahmood 11467604 Nov 23 09:53 setup.exe > > As you can see it contains one exe file. > Now in windows side, I run > > c:\> net use z: \\10.0.2.2\samba_share > The command completed successfully > > c:\> z: > z:\> dir > ... > 0 File(s) 0 bytes > > > Is there anything that I missed in the configuration? > > > > Regards, > MahmoodMahmood, Is this a standalone system? If it is, did you create the linux user mahmood also? Dale