Re: off topic - cifs selinux and apache question

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

 



Phill wrote:
> I have a web server running Apache 2.2.3 on CentOS 5.
> I am linking to an xls spreadsheet on a windows server
> share. I have the share mounted cifs ro locally on the
> Linux server. I am unsure what would be the best
> method of doing this. The way I have it setup now
> causes me to get SELinux complaints about httpd access
> to non http context files, since the context on the
> mounted share is cifs_t. Does anyone know the
> preferred method of accessing a spreadsheet, or other
> type of file located on a windows share, from Apache
> web server running on Linux machine? I thought maybe
> some sort of script might be the answer but I have
> just a little experience with cgi. Thanks in advance!
> 
> 
> 
>       
> 

If you turn on httpd_enable_homedirs use_samba_home_dirs

it should work

setsebool -P httpd_enable_homedirs=1 use_samba_home_dirs=1

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux