owncloud / owncloud/ocis

Protect the space metafiles.

Open
#11,112 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 2h
Merged PRs (30d)
106

Description

## Describe the bug
Protect the hidden space metafiles `.space` and `.space/readme.md` from deleting or moving.
Based on rejected issue [#8719](https://github.com/owncloud/ocis/issues/8719) we want to merge the already implemented useful part.

## Expected behavior
A clear and concise description of what you expected to happen.

## Actual behavior
A clear and concise description of what happened.

## Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

```console
OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue
```

## Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing rejected issue #8719 and locating the already implemented useful portion referenced there. Trace the server's delete and move handling for `.space` and `.space/readme.md`; done means both metafiles are protected from those operations and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.