<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>3549</bug_id>
          
          <creation_ts>2004-01-28 14:34:13 +0300</creation_ts>
          <short_desc>недостаточно прав для чтения логов</short_desc>
          <delta_ts>2005-07-13 15:45:43 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>apache-common</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>3702</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Muratov">migor</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>crux</cc>
    
    <cc>ender</cc>
    
    <cc>lakostis</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>mithraen</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>solo</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11463</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Muratov">migor</who>
    <bug_when>2004-01-28 14:34:13 +0300</bug_when>
    <thetext>Каталогом /var/log/httpd владеет группа webmaster а апач там создает там свои
логи с группой apache. В результате группа webmaster не может их просматривать.
Необходимо добавить sgid на этот каталог</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11469</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2004-01-28 16:42:10 +0300</bug_when>
    <thetext>А с какими правами?  У меня (на машине бывал только 1.3.29-alt, штатный httpd.conf):

-rw-r--r--    1 root     apache          0 Jan 27 04:02 access_log
-rw-r--r--    1 root     apache       2627 Jan 27 04:02 error_log
-rw-r--r--    1 root     root            0 Jan 13 12:18 ssl-access_log
-rw-r--r--    1 root     apache       3952 Jan 27 04:02 ssl_engine_log
-rw-r--r--    1 root     root            0 Jan 13 12:18 ssl-error_log
-rw-r--r--    1 root     root            0 Jan 13 12:18 ssl_request_log

т.е. доступ регулируется правами на каталог, не на файлы.

umask? logrotate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11488</commentid>
    <comment_count>2</comment_count>
    <who name="Igor Muratov">migor</who>
    <bug_when>2004-01-29 09:20:08 +0300</bug_when>
    <thetext>Да, перестарался с umask :-)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11491</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2004-01-29 09:55:55 +0300</bug_when>
    <thetext>хотя вопрос прав доступа все равно есть... но другой и открытый.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>