Bug 669490 - Typo: Missing a newline in example code for Q 1.2
Summary: Typo: Missing a newline in example code for Q 1.2
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: selinux-faq
Version: devel
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Glen Rundblom
QA Contact: Karsten Wade
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 19:23 UTC by Kevin Cole
Modified: 2015-11-03 04:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-03 04:44:34 UTC


Attachments (Terms of Use)

Description Kevin Cole 2011-01-13 19:23:29 UTC
I believe there is a typo in
http://docs.fedoraproject.org/en-US/Fedora/13/html/SELinux_FAQ/index.html#faq-entry-public_html

I think there is a newline missing from the example which reads:

  ls -Z -d public_html/
  drwxrwxr-x auser auser user_u:object_r:user_home_t public_html
- chcon -R -t httpd_user_content_t public_html/ ls -Z -d public_html/
  drwxrwxr-x auser auser user_u:object_r:httpd_user_content_t public_html/
  ls -Z public_html/
  -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t bar.html
  -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t baz.html
  -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t foo.html

The 3rd line above should actually become the 3rd and 4th lines. It should read:

  ls -Z -d public_html/
  drwxrwxr-x auser auser user_u:object_r:user_home_t public_html
+ chcon -R -t httpd_user_content_t public_html/
+ ls -Z -d public_html/
  drwxrwxr-x auser auser user_u:object_r:httpd_user_content_t public_html/
  ls -Z public_html/
  -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t bar.html
  -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t baz.html
  -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t foo.html

Comment 1 Glen Rundblom 2015-11-03 04:44:34 UTC
The Selinux FAQ  looks to be deprecated and replaced by the SELinux User's and Administrator's Guide. Fixing this really old guide does not look to be necessary due to the SELinux User's and Administrator's Guide being kept current.


Note You need to log in before you can comment on or make changes to this bug.