Skip to content

Add "blacklisted_files" to sync-exclude.lst #434

Closed

Description

@LukasReschke

With oC 5.0 we gave the admin the possibility to configure the blacklisted files (e.g. to sync .htaccess or deny other files which was an often asked feature)
(https://github.com/owncloud/core/blob/master/config/config.sample.php#L35)

Could we sync this list with the client by exposing the list via status.php - what do you think @dragotin @danimo?

Additionally we should remove the hardcoded .htaccess from sync-exclude.lst


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. danimo commented on Jul 8, 2013

    @danimo
    Contributor

    I don't really like status.php as a place. @karlitschek How should we solve that one?

  2. guruz commented on Jul 12, 2013

    @guruz
    Contributor

    What does the server return in the case such a blacklisted filename is uploaded?

    Newer miralls can remember some kind of errors and stop trying to sync such files. @ogoffart can say more to that.

    I think it is overkill for now to synchronize this blacklist. (also, status.php is public so maybe the wrong place)

  3. nickvergessen commented on Feb 24, 2016

    @nickvergessen
    Contributor

    Could be done via capabilities?

  4. ogoffart commented on Feb 24, 2016

    @ogoffart
    Contributor

    capabilities, or any other api call.
    (you probably don't want the reply to capabilities to become too big)

  5. guruz commented on Feb 24, 2016

    @guruz
    Contributor

    Additionally we should remove the hardcoded .htaccess from sync-exclude.lst

    Why? because now it comes via blacklisted_files capabilities?

  6. nickvergessen commented on Feb 24, 2016

    @nickvergessen
    Contributor

    Why? because now it comes via blacklisted_files capabilities?

    Yes it would then come from the server. If the server is not apache but nginx, there is no real reason to block .htaccess, it is just like any other hidden file then.

  7. nickvergessen commented on Apr 11, 2016

    @nickvergessen
    Contributor

    value has been added to capabilities for 9.1+

  8. added this to the 2.5.0 milestone on Dec 6, 2017
  9. modified the milestones: 2.5.0, 2.6.0 on Mar 28, 2018
  10. added
    p3-medium
    and removed on May 3, 2018
  11. self-assigned this
    on Nov 29, 2018
  12. added
    ReadyToTest
    and removed on Apr 17, 2019
  13. self-assigned this
    on Apr 25, 2019
  14. HanaGemela commented on Apr 26, 2019

    @HanaGemela
    Contributor

    Tested

    Tested on macOS with 2.6.0-daily20190426 (build 11674)
    sync-exclude.lst is synchronized with a client
    sync-exclude.lst doesn't include .htaccess

  15. removed
    ReadyToTest
    on Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Enhancementp3-medium

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions