Enable copy/paste/creation of folders and files in admin://
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 368
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 2
Description
When running nemo with elevated privileges using admin:// the creation of files or folders is not allowed.
We can see this was changed in this commit: https://github.com/linuxmint/nemo/commit/161c54fbe54deb0609ea38b227ddaec84e137937:
nemo-view.c: Disallow creation of folders or files in admin:// -
it does not properly set file permissions (the same reason copy/paste
is not allowed either.)
I am not sure whether this is a feature request or a bug but the current behavior when browsing with elevated privileges is inconsistent and confusing. Files/folders can be deleted but not created.
I am not sure the exact semantics of the file permission issue, but if an admin user can accomplish the same thing in a terminal, shouldn't he be able to do it in nemo? Otherwise one could argue that admin:// access should be removed period. That would be consistent.
Thoughts? comments?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with nemo-view.c and the referenced commit 161c54fbe54deb0609ea38b227ddaec84e137937 to understand why creation and copy/paste were disabled for admin://. Trace the existing delete path and permission handling, then establish whether safe consistent file operations can be supported; done means the behavior is consistent without incorrect permissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100