You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/11/18 09:07:10 UTC

[Bug 66354] New: Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

            Bug ID: 66354
           Summary: Invoked "bin\tomcat9 //US/Tomcat9", logs directory
                    will be inserted two unwanted two ACLs
           Product: Tomcat 9
           Version: 9.0.69
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
          Assignee: dev@tomcat.apache.org
          Reporter: norimy@sainet.or.jp
  Target Milestone: -----

Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted unwanted
two ACLs.

Repro at Tomcat9 directory on Admin Command Prompt (not Admin PowerShell).
* Used Tomcat 9 zip-x86 distro.
* Windows 7 x64.
* Tomcat 9.0.69's bin\Tomcat9.exe is Apache Commons Daemon 1.3.2.

> ren logs logs1

> md logs

> icacls logs
logs NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
     NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
     BUILTIN\Administrators:(I)(OI)(CI)(F)
     BUILTIN\Users:(I)(OI)(CI)(M)

> bin\tomcat9.exe //US/Tomcat9

> icacls logs
logs NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
     NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
     BUILTIN\Administrators:(I)(OI)(CI)(F)
     BUILTIN\Users:(I)(OI)(CI)(M)

> bin\tomcat9.exe //US/Tomcat9

> icacls logs
logs NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
     NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
     BUILTIN\Administrators:(I)(OI)(CI)(F)
     BUILTIN\Users:(I)(OI)(CI)(M)

> for /l %i in (1,0,1) do bin\tomcat9.exe //US/Tomcat9
  : (...after 1000-2000 times...)
[2022-11-18 17:46:20] [warn]  [ 2456] Failed to grant service user 'NT
AUTHORITY\LocalService' write permissions to log path
'<full/path/to/tomcat9>\logs' due to error '1340: The inherited access control
list (ACL) or access control entry (ACE) could not be built.'
  :

> icacls logs
logs NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\LOCAL SERVICE:(RX,W)
  :
     NT AUTHORITY\LOCAL SERVICE:(RX,W)
     NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(IO)(GR,GW,GE)
     NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
     NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
     BUILTIN\Administrators:(I)(OI)(CI)(F)
     BUILTIN\Users:(I)(OI)(CI)(M)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
(In reply to Norimasa Yamamoto from comment #2)
> Yes I know, but... how to signup to ASF Jira?
> 
> > Note that public signup for this Jira instance is disabled.
> > You must contact private@PROJECT_ID.apache.org mailing list
> > and provide your preferred username, display name and email address.
> 
> private@PROJECT_ID.apache.org is invalid to send mail.
> I mailed to private@DAEMON.apache.org and private@commons.apache.org.
> after then, I got "not exists" from mailer-daemon.

I'll set you up with an account.

Can I use you email as user name or do you prefer something else?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

Norimasa Yamamoto <no...@sainet.or.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |Windows 7

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

--- Comment #6 from Norimasa Yamamoto <no...@sainet.or.jp> ---
Thank you for supporting.
I‘ve copied this issue to ASF Jira (Commons Daemon proj.).

https://issues.apache.org/jira/browse/DAEMON-450

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
(In reply to Norimasa Yamamoto from comment #4)
> (In reply to Mark Thomas from comment #3)
> > I'll set you up with an account.
> > Can I use you email as user name or do you prefer something else?
> 
> Thank you!
> Please use my email as user name.

Sorry - just found out I can't do that. I had to use "norimy". You should have
received an email.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

--- Comment #4 from Norimasa Yamamoto <no...@sainet.or.jp> ---
(In reply to Mark Thomas from comment #3)
> I'll set you up with an account.
> Can I use you email as user name or do you prefer something else?

Thank you!
Please use my email as user name.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Please raise this issue with the Commons Daemon project

https://issues.apache.org/jira/projects/DAEMON/issues

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66354] Invoked "bin\tomcat9 //US/Tomcat9", logs directory will be inserted two unwanted two ACLs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66354

--- Comment #2 from Norimasa Yamamoto <no...@sainet.or.jp> ---
Yes I know, but... how to signup to ASF Jira?

> Note that public signup for this Jira instance is disabled.
> You must contact private@PROJECT_ID.apache.org mailing list
> and provide your preferred username, display name and email address.

private@PROJECT_ID.apache.org is invalid to send mail.
I mailed to private@DAEMON.apache.org and private@commons.apache.org.
after then, I got "not exists" from mailer-daemon.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org