elementary / elementary/files

Unable to change the ownership or other access properties of a file owned by root when running as root

Open
#2,642 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
365
Forks
82
Avg merge
4d 2h
Merged PRs (30d)
3

Description

### What Happened?

After moving a file as root the new file was owned by root. Attempts to change the ownership back through the UI failed. It was possible through the CLI.

### Steps to Reproduce

1. Try to change the ownership:group of a file owned by root when running Files as administrator
2. The options are greyed out.

### Expected Behavior

Files should be able to perform the same `chown` operations as the commandline when running as Administator

### OS Version

7.x (Horus)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Classic Session (X11, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.