Pulling out what little hair I have here, but stumbled onto a possible
problem.
I have a server running C6 apache that is set up with personal
directories and no problem showing the files.
You can see it at: medon.htt-consult.com/~rgm/pogo
So I have a C7 apache server I am building. Files I create on the new
server are listing fine. Files I have copied (with cp -avr ...) get
permission error e.g.:
[Wed Dec 23 12:32:49.359323 2015] [negotiation:error] [pid 3208]
(13)Permission denied: [client 192.168.160.20:38708] AH00686: cannot
read directory for multi: /home/rgm/public_html/biby/
File permissions are the same. So in frustation I try using stat and it
shows a different picture:
$ stat test/testit
File: ‘test/testit’
Size: 6 Blocks: 8 IO Block: 4096 regular file
Device: 803h/2051d Inode: 524296 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ rgm) Gid: ( 1000/ rgm)
Context: unconfined_u:object_r:httpd_user_content_t:s0
Access: 2015-12-23 13:53:04.212993088 -0500
Modify: 2015-12-23 13:53:06.313000584 -0500
Change: 2015-12-23 13:53:06.313000584 -0500
Birth: -
$ stat biby/MishnahBerurah-2015-12-18.amr
File: ‘biby/MishnahBerurah-2015-12-18.amr’
Size: 2290374 Blocks: 4480 IO Block: 4096 regular file
Device: 803h/2051d Inode: 136295 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ rgm) Gid: ( 1000/ rgm)
Context: system_u:object_r:unlabeled_t:s0
Access: 2015-12-18 06:54:01.000000000 -0500
Modify: 2015-12-18 06:54:01.000000000 -0500
Change: 2015-12-23 13:56:57.273824913 -0500
Birth: -
Notice the difference with Context. Wiaht is this
httpd_user_content_t? Why on files I create on this system and not
those I cp from a USB drive? And is this the problem or something else?
thanks
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos