mherrmann / mherrmann/fman

Elevate permissions if necessary when copying/replacing files

Open
#545 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Mac OSX 10.12.6
Fman 1.3.3

Running into a problem when Im trying to copy a file into the Contents of an application and then replacing the existing file with the new one which has the same name.

Cmd+V to paste file in new directory returns pop up window which says "xxxx exists. Do you want to overwrite it?" after selecting yes another pop up displays the message "Error copying "xxxx" (permission denied).

Any way to achieve this?

(my suggestion would be to have a similar solution to how Finder deals with it, etc. displaying another pop up which asks you to fill in your password for permission)

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are identified in the issue. First reproduce the copy-and-replace operation on macOS 10.12.6 with fman 1.3.3, then trace the file-copy path and its permission error handling. Done means replacing an existing application file can request authorization and complete successfully, or reports a clearly supported limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.