WinVista64 can see folders but not files on SAMBA.

Lucélio Gomes de Freitas aa.lucelio at gmail.com
Mon Jan 9 01:15:30 UTC 2012


HI jdow,

Thanks for your reply,

Em 08-01-2012 16:06, jdow escreveu:
> On 2012/01/08 15:58, Lucélio Gomes de Freitas wrote:
>> Hi,
>>
>> Ref: 3.1.6-1.fc16.x86_64 native with VirtualBox-OSE.x86_64.
>>
>> A virtual machine(VirtualBox->WinVista64) can see folders but not files
>> on the SAMBA's referenced Linux.
>>
>> Help with permission.
>>
>> Thx.
>>
>> - -- 
>> Lucélio Gomes de Freitas
> Have you checked for SELinux possibly blocking access? There is a boolean
> that must be set for proper sharing.
OK, I hadn't done it yet.  So I did:

$ "man samba_selinux" And got/did:

$ sudo semanage fcontext -a -t samba_share_t "/var/eng(/.*)?"
$ sudo restorecon -R -v /var/eng/
> How did you setup your SAMBA shares?
>
> Are the directories you want to look at executable for the user ID trying
> to look at the files?
I've liberated all known permissions. Why I can't see files(.txt, .exe)
from WinVista64, and I can see all folders and sub-folders, but I can't
write on them.
============================================================
[Lucelio at MAQ01 ~]$ pwd
/home/Lucelio
[Lucelio at MAQ01 ~]$ cd ../Windows
[Lucelio at MAQ01 Windows]$ ls -l
total 23752
drwxrwxrwx. 6 Lucelio GRUPO01     4096 Dez 21 16:22 Antiga Maq01(Tânia
Disco F)  ##I can see this
-rwxrwxrwx. 1 Lucelio GRUPO01 24312056 Dez 21 16:34
AP48.exe                            ##I can't see this
-rw-rw-rw-. 1 Lucelio GRUPO01       17 Jan  8 08:54 Teste de texto
                              ##I can't see this
[Lucelio at MAQ01 Windows]$
============================================================
Is there a graphics tool for setting selinux?

Is it necessary to reboot?

Any other suggestion please?

Thanks again.
>
> {^_^}

-- 
Lucélio Gomes de Freitas
ETFCSF=> U.G.F.=> P.U.C.(RJ)
Engº, Analista Suporte(Free Mind).
Email: aa.lucelio at gmail.com
Tel: 55 0XX 21 85964911



More information about the users mailing list