nextcloud / nextcloud/server

Deleting user account should remove associated locks

Open
#57,268 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: locking feature: users and groups
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Recently, I made some manipulations that result in locking a directory. I deleted and created again the user account. I tried to created a directory with the same name. Result : Nextcloud tells me that the directory is locked because deleting the user did not delete the lock...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies a lifecycle bug: deleting a user leaves an associated directory lock, preventing recreation of a directory with the same name. No source file or test is named, so start by locating user-deletion handling and the lock cleanup path, then reproduce the delete-and-recreate scenario and add coverage showing that the lock is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.