changingowner.po 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:11
  20. msgid "Changing Ownership"
  21. msgstr ""
  22. #. type: Content of: <sect1><note><para>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:14
  24. msgid ""
  25. "The commands in the remainder of this book must be performed while logged in "
  26. "as user <systemitem class=\"username\">root</systemitem> and no longer as "
  27. "user <systemitem class=\"username\">lfs</systemitem>. Also, double check "
  28. "that <envar>$LFS</envar> is set in <systemitem "
  29. "class=\"username\">root</systemitem>'s environment."
  30. msgstr ""
  31. #. type: Content of: <sect1><para>
  32. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:21
  33. msgid ""
  34. "Currently, the whole directory hierarchy in <filename "
  35. "class=\"directory\">$LFS</filename> is owned by the user <systemitem "
  36. "class=\"username\">lfs</systemitem>, a user that exists only on the host "
  37. "system. If the directories under <filename "
  38. "class=\"directory\">$LFS</filename> are kept as they are, the files are "
  39. "owned by a user ID without a corresponding account. This is dangerous "
  40. "because a user account created later could get this same user ID and would "
  41. "own all the files under <filename class=\"directory\">$LFS</filename>, thus "
  42. "exposing these files to possible malicious manipulation."
  43. msgstr ""
  44. #. type: Content of: <sect1><para>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:31
  46. msgid ""
  47. "To address this issue, change the ownership of the <filename "
  48. "class=\"directory\">$LFS/*</filename> directories to user <systemitem "
  49. "class=\"username\">root</systemitem> by running the following command:"
  50. msgstr ""
  51. #. type: Content of: <sect1><screen>
  52. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:36
  53. #, no-wrap
  54. msgid ""
  55. "<userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}\n"
  56. "case $(uname -m) in\n"
  57. " x86_64) chown -R root:root $LFS/lib64 ;;\n"
  58. "esac</userinput>"
  59. msgstr ""