<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>118690</bug_id>
          
          <creation_ts>2013-07-15 15:16:01 -0700</creation_ts>
          <short_desc>PluginProcess deny file-read-data /Library/Application Support/Macromedia/FlashPlayerTrust</short_desc>
          <delta_ts>2013-07-15 19:35:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Maciej Stachowiak">mjs</reporter>
          <assigned_to name="Maciej Stachowiak">mjs</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>glenn</cc>
    
    <cc>jer.noble</cc>
    
    <cc>scooper</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>908530</commentid>
    <comment_count>0</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2013-07-15 15:16:01 -0700</bug_when>
    <thetext>PluginProcess deny file-read-data /Library/Application Support/Macromedia/FlashPlayerTrust</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908531</commentid>
    <comment_count>1</comment_count>
      <attachid>206690</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2013-07-15 15:18:33 -0700</bug_when>
    <thetext>Created attachment 206690
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908532</commentid>
    <comment_count>2</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2013-07-15 15:19:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/14255963&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908533</commentid>
    <comment_count>3</comment_count>
      <attachid>206690</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-07-15 15:22:18 -0700</bug_when>
    <thetext>Comment on attachment 206690
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=206690&amp;action=review

&gt; Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:40
&gt; +      (literal &quot;Library/Application Support/Macromedia/FlashPlayerTrust&quot;)

This is not a proper path, there should be a slash before &quot;Library&quot;.

I&apos;d block &quot;subpath&quot;, not &quot;literal&quot; - we are not interested in further violations inside this path even if Flash goes there.

Also, four space indentation please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908534</commentid>
    <comment_count>4</comment_count>
      <attachid>206690</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2013-07-15 15:23:23 -0700</bug_when>
    <thetext>Comment on attachment 206690
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=206690&amp;action=review

&gt;&gt; Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:40
&gt;&gt; +(deny file-read* (with no-log)
&gt;&gt; +      (literal &quot;Library/Application Support/Macromedia/FlashPlayerTrust&quot;)
&gt; 
&gt; This is not a proper path, there should be a slash before &quot;Library&quot;.
&gt; 
&gt; I&apos;d block &quot;subpath&quot;, not &quot;literal&quot; - we are not interested in further violations inside this path even if Flash goes there.
&gt; 
&gt; Also, four space indentation please.

This should go above the (webkit-foo) stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908549</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Cooper">scooper</who>
    <bug_when>2013-07-15 15:41:30 -0700</bug_when>
    <thetext>As previously noted the proposed change is not good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908556</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-07-15 16:05:32 -0700</bug_when>
    <thetext>&gt; This should go above the (webkit-foo) stuff.

Why? Generally, &quot;deny&quot; rules should be last, to make sure that they take precedence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908581</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Cooper">scooper</who>
    <bug_when>2013-07-15 16:43:44 -0700</bug_when>
    <thetext>It doesn&apos;t really matter where the rules are -- they can be put above the (webkit-foo) stuff -- along with the other path rules (but at the end of them).

The only reason the (webkit-foo) things were stuck at the end was to avoid a merge conflict when I was making multiple changes at once -- they probably ought to moved to the top of the sub-profile anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908620</commentid>
    <comment_count>8</comment_count>
      <attachid>206714</attachid>
    <who name="Simon Cooper">scooper</who>
    <bug_when>2013-07-15 18:29:13 -0700</bug_when>
    <thetext>Created attachment 206714
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908634</commentid>
    <comment_count>9</comment_count>
      <attachid>206714</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-15 19:35:45 -0700</bug_when>
    <thetext>Comment on attachment 206714
Patch

Clearing flags on attachment: 206714

Committed r152698: &lt;http://trac.webkit.org/changeset/152698&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>908635</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-15 19:35:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>206690</attachid>
            <date>2013-07-15 15:18:33 -0700</date>
            <delta_ts>2013-07-15 18:29:11 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-118690-20130715151750.patch</filename>
            <type>text/plain</type>
            <size>1389</size>
            <attacher name="Maciej Stachowiak">mjs</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE1MjY1NikKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDEzLTA3LTE1ICBNYWNpZWog
U3RhY2hvd2lhayAgPG1qc0BhcHBsZS5jb20+CisKKyAgICAgICAgUGx1Z2luUHJvY2VzcyBkZW55
IGZpbGUtcmVhZC1kYXRhIC9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvTWFjcm9tZWRpYS9G
bGFzaFBsYXllclRydXN0CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0xMTg2OTAKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKyAg
ICAgICAgCisgICAgICAgIFNpbGVudCBkZW55IGFjY2VzcyB0byBGbGFzaFBsYXllclRydXN0LiBB
dHRlbXB0cyB0byBhY2Nlc3MgdGhpbmdzCisgICAgICAgIGxpc3RlZCBoZXJlIHdpbGwgbm90IGJl
IGFsbG93ZWQgYW55d2F5LCBzbyB0aGlzIGlzIHRoZSBiZXN0IHdheSB0bworICAgICAgICBhdm9p
ZCBzcGFtbWluZyBsb2dzLgorCisgICAgICAgICogUmVzb3VyY2VzL1BsdWdJblNhbmRib3hQcm9m
aWxlcy9jb20ubWFjcm9tZWRpYS5GbGFzaCBQbGF5ZXIucGx1Z2luLnNiOiAKKwogMjAxMy0wNy0x
NCAgSm9uIExlZSAgPGpvbmxlZUBhcHBsZS5jb20+CiAKICAgICAgICAgQ2FsbGluZyBOb3RpZmlj
YXRpb24ucmVxdWVzdFBlcm1pc3Npb24oKSB3aXRob3V0IGEgY2FsbGJhY2sgY3Jhc2hlcwpJbmRl
eDogU291cmNlL1dlYktpdDIvUmVzb3VyY2VzL1BsdWdJblNhbmRib3hQcm9maWxlcy9jb20ubWFj
cm9tZWRpYS5GbGFzaCBQbGF5ZXIucGx1Z2luLnNiCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJL
aXQyL1Jlc291cmNlcy9QbHVnSW5TYW5kYm94UHJvZmlsZXMvY29tLm1hY3JvbWVkaWEuRmxhc2gg
UGxheWVyLnBsdWdpbi5zYgkocmV2aXNpb24gMTUyMzIwKQorKysgU291cmNlL1dlYktpdDIvUmVz
b3VyY2VzL1BsdWdJblNhbmRib3hQcm9maWxlcy9jb20ubWFjcm9tZWRpYS5GbGFzaCBQbGF5ZXIu
cGx1Z2luLnNiCSh3b3JraW5nIGNvcHkpCkBAIC0zNSwzICszNSw2IEBACiAKICh3ZWJraXQtcG93
ZXJib3gpCiAod2Via2l0LXByaW50aW5nKQorCisoZGVueSBmaWxlLXJlYWQqICh3aXRoIG5vLWxv
ZykKKyAgICAgIChsaXRlcmFsICJMaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvTWFjcm9tZWRp
YS9GbGFzaFBsYXllclRydXN0IikK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>206714</attachid>
            <date>2013-07-15 18:29:13 -0700</date>
            <delta_ts>2013-07-15 19:35:45 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-118690-20130715182836.patch</filename>
            <type>text/plain</type>
            <size>1926</size>
            <attacher name="Simon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