Re: Samba server set-up -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/10/16 18:23, Earl A Ramirez wrote:


> +
>
> This is what I see from the server:
>
> # cat  /etc/samba/smb.conf
>
> [smbBOX48]
>     comment = Linux Samba Share
>     path = /smbBOX48
>     public = yes
>     writeable = yes
>     security = user
> ;    map to guest = Bad User
>
>
You configuration is a bit different to what I use in samba.

You still didn't show me the permission of /smbBOX48, if bobg doesn't have access to that directory bobg will experience what you are seeing from the client.

+
drwxrw-rw-.   3 bobg smbusers  4096 Aug 10 14:29 smbBOX48

By default SELinux is in enforcing mode; therefore, you will need to label /mntBOX48 with the samba_share_t label so that samba can access it.

To test try the following:

setenforce 0
and try and see if you can do anything from the client also you can run
chown -R bobg /smbBOX48
Ensure you document the current permission so you can put things back the way it was.

+
That is the problem! It never occurred to me that selinux was blocking it in the server, I only tried setting it to permissive in the client. I can connect and put files on the samba server now. I don't know the re-label command but I guess I will figure that out tomorrow.

Many thanks for your help,

Bob

> +
>
> [root@Box48 /]# ls -a /
> . .. bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin smbBOX48 srv sys tmp usr var
>
>
>
> [root@Box48 /]# ls -a /smbBOX48
> .  ..  file1  file2  file3  FILES
>
> I have looked at this stuff many times but can't seem to see why/what's going wrong?
>
> I probably have an error in configuration, tried to duplicate what I had on the old sever and this is the result.
>
> Thank you for the assistance ...
>
> Bob
>
>> --
>> users mailing list
>> users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>
>> To unsubscribe or change subscription options:
>> https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org
>
>
>
> --
> Bob Goodwin - Zuni, Virginia, USA
> http://www.qrz.com/db/W2BOD
> box10  FEDORA-24/64bit LINUX XFCE POP3
>
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10  FEDORA-24/64bit LINUX XFCE POP3
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux