You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Florian Holeczek (JIRA)" <ji...@apache.org> on 2008/08/04 09:15:44 UTC

[jira] Created: (JSPWIKI-332) write-protected page gets versioned but not updated when a referenced page is renamed

write-protected page gets versioned but not updated when a referenced page is renamed
-------------------------------------------------------------------------------------

                 Key: JSPWIKI-332
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-332
             Project: JSPWiki
          Issue Type: Bug
          Components: Core & storage
    Affects Versions: 2.7.x
         Environment: JSPWiki v2.7.0-alpha-7 with VersioningFileProvider storage, Tomcat 6.0.16, Windows XP
            Reporter: Florian Holeczek


Assuming to have two pages, PageA and PageB. PageA contains a link to PageB.
Write-protect PageA in the file system, then rename PageB. PageA's content won't get changed (of course), but it gets versioned with a comment "Renaming change PageB to PageB2" (as if it was correctly updated).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-332) write-protected page gets versioned but not updated when a referenced page is renamed

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619441#action_12619441 ] 

Janne Jalkanen commented on JSPWIKI-332:
----------------------------------------

Propose WONTFIX.  JSPWiki assumes it can modify the files at will and that it is the sole owner of the files.  Any manipulation outside the jspwiki context is strongly discouraged (though possible in some cases - but this is not intentional).

> write-protected page gets versioned but not updated when a referenced page is renamed
> -------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-332
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-332
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.7.x
>         Environment: JSPWiki v2.7.0-alpha-7 with VersioningFileProvider storage, Tomcat 6.0.16, Windows XP
>            Reporter: Florian Holeczek
>
> Assuming to have two pages, PageA and PageB. PageA contains a link to PageB.
> Write-protect PageA in the file system, then rename PageB. PageA's content won't get changed (of course), but it gets versioned with a comment "Renaming change PageB to PageB2" (as if it was correctly updated).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSPWIKI-332) write-protected page gets versioned but not updated when a referenced page is renamed

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-332.
----------------------------------

    Resolution: Won't Fix

OS file security should be seen completely separate from the JSPWiki security mechanism.
All files managed JSPWiki should be read/write accessible for the user running the jspwiki process.

Closing as wontfix as proposed by Janne.

> write-protected page gets versioned but not updated when a referenced page is renamed
> -------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-332
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-332
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.7.x
>         Environment: JSPWiki v2.7.0-alpha-7 with VersioningFileProvider storage, Tomcat 6.0.16, Windows XP
>            Reporter: Florian Holeczek
>
> Assuming to have two pages, PageA and PageB. PageA contains a link to PageB.
> Write-protect PageA in the file system, then rename PageB. PageA's content won't get changed (of course), but it gets versioned with a comment "Renaming change PageB to PageB2" (as if it was correctly updated).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-332) write-protected page gets versioned but not updated when a referenced page is renamed

Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619479#action_12619479 ] 

Florian Holeczek commented on JSPWIKI-332:
------------------------------------------

Ok, didn't know this. Somewhere on the wiki I once read a tip to write-protect a file in order to make the page read-only, that's why I thought this would have to be checked.

> write-protected page gets versioned but not updated when a referenced page is renamed
> -------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-332
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-332
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.7.x
>         Environment: JSPWiki v2.7.0-alpha-7 with VersioningFileProvider storage, Tomcat 6.0.16, Windows XP
>            Reporter: Florian Holeczek
>
> Assuming to have two pages, PageA and PageB. PageA contains a link to PageB.
> Write-protect PageA in the file system, then rename PageB. PageA's content won't get changed (of course), but it gets versioned with a comment "Renaming change PageB to PageB2" (as if it was correctly updated).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-332) write-protected page gets versioned but not updated when a referenced page is renamed

Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619432#action_12619432 ] 

Florian Holeczek commented on JSPWIKI-332:
------------------------------------------

Ok, that's odd... Could someone test this on a unix machine?
I've just realized that simply renaming a read-only page isn't a problem in my installation, so this bug may be a windows file system acl issue only.

> write-protected page gets versioned but not updated when a referenced page is renamed
> -------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-332
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-332
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.7.x
>         Environment: JSPWiki v2.7.0-alpha-7 with VersioningFileProvider storage, Tomcat 6.0.16, Windows XP
>            Reporter: Florian Holeczek
>
> Assuming to have two pages, PageA and PageB. PageA contains a link to PageB.
> Write-protect PageA in the file system, then rename PageB. PageA's content won't get changed (of course), but it gets versioned with a comment "Renaming change PageB to PageB2" (as if it was correctly updated).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.