Questions tagged [permission]

Allowing and restricting which users can perform what operations of particular files

Filter by
Sorted by
Tagged with
5
votes
1answer
65k views

On my iPhone I can't give my apps access to the camera, microphone, etc

iOS Version: 11.3 My iPhone won’t allow me to give any apps camera, microphone, or library access. I’ve gone to their individual settings for the apps and there’s no options. If I go to Camera in ...
0
votes
2answers
36 views

npm install -g react-native-cli does not work: EACCES: permission denied

I'm trying install react-native-cli in My MacBook. Executing this command in my terminal npm install -g react-native-cli Getting this error npm WARN checkPermissions Missing write access to /usr/...
0
votes
1answer
68 views

Unable to use chromedriver following OS upgrade [duplicate]

Error: “chromedriver” cannot be opened because the developer cannot be verified. Updated OS is Catalina, version 10.15.2 (19C57). chromedriver was working fine prior to the OS update. I've tried ...
0
votes
0answers
18 views

Can't ls Documents or Downloads in catalina? [duplicate]

I just exported a markdown file from an application into my Documents folder. I can see it in finder, but I can't see it from ls or from emacs. Can anyone please explain to me what's up with this ...
0
votes
0answers
30 views

Change chmod from /sbin/shutdown

I'd like to change the rights of the shutdown executable from 751 to 750, because I'd like non-admin users to have no right to shutdown their Macs. Except I have the chmod error: Unable to change file ...
1
vote
1answer
52 views

How to disable Documents folder protection?

I'm working on a C++ program in Xcode, which opens some files in the project folder, which is in ~/Documents/Xcode Projects. Because it's in my Documents folder, every time I run the program, it asks ...
0
votes
1answer
26 views

Touch ID needed when creating a file in external ssd

I recently bought an external ssd to put my files in it for my Macbook Pro 2019, at first I linked it at Time machine but I withdrew my decision. The problem is that I didn't use it before time ...
0
votes
1answer
34 views

My iPhone 11 running iOS 13.3 won’t give permission to apps to use my camera or microphone

I’ve rebooted, deleted and reinstalled apps. I’ve also reset my location and security settings. No deal. This is affecting WhatsApp, Facebook, Instagram, messenger and many more. Sometimes it will ...
0
votes
1answer
86 views

I know the sudo password, can I use sudo and install software without logging out and switching to the admin user?

I have two accounts on my MacBook (runs Catalina 15.1), one is admin, one is non-admin. Both are mine, so I know the password for both. Sometimes when I want to run some 'sudo' command or use the ...
1
vote
0answers
65 views

How can I completely erase a “read only” USB drive?

I have a USB drive that appears to be stuck as a "read-only" device. I have tried to format it as MS-DOS (FAT) Master Boot Record using Disk Utility, but I get the following I also have followed all ...
4
votes
2answers
548 views

Can I not share external hard drives through my Macbook's standard file sharing system?

I'm trying to share an external hard drive through lan file sharing (SMB). The sharing works for folders and file in my Macbook. I have set up a “Sharing” account that I give access to the files I ...
1
vote
0answers
33 views

Repair Disk Permissions in Terminal seems to hang

OK, I tried following (OS X Yosemite) the instructions here https://support.apple.com/en-us/HT203538 And I went into Terminal and typed in the following diskutil resetUserPermissions / id -u But ...
2
votes
1answer
54 views

Moving photos to a new Mac from an old one - issues with permissions and iCloud [closed]

OK here's the story. My wife's old Mac -- a late 2010 MacBook Air currently running Yosemite. We get a new Macbook Air (high end model) running Mojave. I use the Migration Assistant to transfer the ...
2
votes
1answer
85 views

How do I gain write permission for the defaults shell command?

I recently migrated to a new Macbook. If I do a $ defaults write ... in my shell, I get an error shaped like defaults[12608:79345] Could not write domain Apple Global Domain; exiting. Using sudo ...
2
votes
1answer
33 views

Chown to make sudo unncessary?

I am setting up a new Mac for mobile app development and so I need to install a lot of things through the Terminal. Its asking me for sudo to do a lot of things and I vaguely remember a chown command ...
2
votes
2answers
2k views

How to make items copied into a folder respect its permissions?

I shared a folder of pictures on my OSX 10.6 MacBook with my wife, who accesses it from her 10.5 MacBook. I created an account for her and gave her read/write permissions on the folder (via the Get ...
0
votes
0answers
21 views

Is there any way to access an external drive on a Catalina machine via sftp?

After upgrading to Catalina, it seems to be not possible to access an external drive from another machine using sftp - the new removable drive access permissions prevent it, and nothing pops up to ask ...
2
votes
3answers
583 views

Catalina - USB Serial Cables seem to be broken

TL;DR - How do I make a USB Serial cable work on Catalina? I work as an embedded software developer. I write software on small circuit boards like an Arduino or BeagleBone or RaspberryPi. You might ...
2
votes
2answers
1k views

“The operation can’t be completed because you don’t have permission to access some of the items.” when moving OneDrive files

OneDrive has a feature called "Files On-Demand", I'm playing arround with it and trying to figure out how it works. It looks like OneDrive uses sparse files as placeholders before the really file is ...
2
votes
1answer
34 views

Every application's file open/save dialogue asks for “Keystroke Receiving” permission

Is this a normal thing or I have some kind of plugins or applications which makes my requesters require this permission?
1
vote
0answers
15 views

Can I create a user that only has Network permissions?

I would like to create an account that only has permission to modify the Network preference pane in the System Preferences (in it's entirety). Is such a feature feasible? Comparable to Windows, where ...
0
votes
1answer
31 views

What Are The Correct/Default Volume/Folder/File Permissions For A Time Machine Image?

Months ago, I created a disk image on a large external drive to house my Time Machine backups. Yesterday…something went sideways with the permissions of my entire installation. Included in this ...
1
vote
2answers
2k views

Cannot kill Bitdefender process after uninstalling it, no launch daemons found

Recently, I installed Bitdefender Antivirus. I wanted to remove it after the trial period. After uninstalling it via CCleaner, moving all stuff from Librar, I found there is still an agent up and ...
0
votes
0answers
12 views

Force any item added to folder to inherit direct parent's exact permissions

On Mac OS 10.14, I have a cronjob that auto renews let's encrypt certs but when placing the new files sets different permissions than the parent archive folder, which means I have to manually return ...
1
vote
1answer
69 views

How can I permit SSH connection terminal programs to access Camera?

I'm connecting to my macOS 10.15.1 device over SSH via PuTTY on a Windows computer to run a terminal program, imagesnap, that attempts to use the MacBook's camera. When I ran the program locally on ...
6
votes
9answers
71k views

Permissions issue when copying files over SMB to server on OS X 10.9 Mavericks

First of all I'd like to say that I've spent most of the day trying to figure this problem out. I've already read quite some articles on this issue but can't seem to find the specific issue I'm ...
0
votes
1answer
53 views

Unable to edit config.inc.php in the phpmyadmin configuration

I'm trying to edit a file on my mac. The file is config.inc.php of XAMPP located in /opt/lampp/phpmyadmin. Permission of the folder and file: Phpmyadmin -> drwxr-xr-x 12 root wheel 4096 Config.inc....
0
votes
3answers
158 views

How long should diskutil resetUserPermissions take (Catalina)?

I am following this article because of this issue. The Terminal has been going on for about 2.5hrs and I do not know of a way to see a progress bar or know if it is stuck or if something else is ...
2
votes
0answers
75 views

Add an App and give it permissions to access Downloads in Catalina

How do I give an app permission to access Downloads in Catalina? The app does not appear in the list of apps. I unlocked the settings which you can see in the screenshot below but the + button is ...
0
votes
0answers
20 views

How to turn off file permissions boxes on Catalina for external drive?

I use a trash-can Mac Pro. All my user files are on an external drive. Catalina constantly asks me if program X should be allowed to access a removable drive. Is there any way to give all programs ...
1
vote
1answer
200 views

Cannot ls ~/.Trash in the Terminal in Catalina (operation not permitted)

Ever since buying a new Mac, which has forced me to upgrade to Catalina, I cannot view the Trash folder in the Terminal. ls ~/.Trash just gives ls: .Trash: Operation not permitted. So does sudo ls ~/....
6
votes
0answers
66 views

Add apps to “Files and Folders” permissions?

In macOS Catalina, is it possible to add apps directly to Security & Privacy -> Files and Folders? The plus icon is greyed out, even when the preference pane is unlocked. I know that the option ...
1
vote
0answers
28 views

Why do files and dirs placed in httpd document root have group changed to _www?

This is a bit technical: I do localhost development on Mac High Sierra and other Mac systems on my local network. I have been working on content management code in php. Recently I have come up with ...
2
votes
0answers
22 views

How do you reset access permission for Apple Configurator 2 on a Mac mini?

I am trying to install my app as an .ipa file on an iPhone device attached to my Mac mini. I used Apple Configurator 2 menu Actions > Add > Apps..., then selected the button Choose from my Mac.... The ...
0
votes
1answer
71 views

Enabling /bin/bash on Catalina - invisible to System Preferences -> Security & Privacy -> Full Disk Access

I am having trouble enabling /bin/bash on Catalina - Macos 10.15.1 When I try to enable it using "System Preferences -> Security & Privacy -> Full Disk Access", the pop-up finder list doesn't ...
0
votes
0answers
11 views

Share folder containing python with read/execute rights

I have a folder containing my python project in user A's home folder. I have created another user B to which I want to give him read/execute access. I can't see the folder in B's home directory. ...
0
votes
1answer
52 views

How to copy to folder: /System/Library/Filters?

I am trying to create a new "reduced file size" export filter within preview. Therefore I copied the original file to desktop, made my changes and then I tried to copy back to the folder. This seems ...
24
votes
2answers
65k views

Preview refuses to open pdf file, incorrectly claiming a permission issue

I had to force-quit Preview (it became unresponsive after trying to open a 200Mb animated gif), but after re-starting it, some files that were open before no longer open. Instead an error box pops up ...
0
votes
0answers
97 views

Preview: “The original document can't be saved, so a duplicate with your changes has been created”

When I edit a PNG file in my Minecraft resourcepacks folder (~/Library/Application Support/minecraft/resourcepacks/my_resource_pack/.../.././texture.png) with Preview.app I get the error The ...
0
votes
1answer
443 views

Catalina not allowing to change read/write permissions despite having SIP disabled

Currently Running: macOS Catalina 10.15.1 Issue: Ever since I upgraded to Catalina, macOS is not allowing me to change read and write permissions on system protected files, hence, I am not able to ...
3
votes
2answers
708 views

How to delete files in /System/Library/Desktop Pictures on Catalina?

I tried to delete files in the default desktop picture directory (/System/Library/Desktop Pictures) on macOS 10.15 Catalina with sudo permission but failed. $ pwd /System/Library/Desktop Pictures $ ...
2
votes
0answers
18 views

Can't run a Node script unless I use sudo

I'm on Mac Mojave 10.14.6. I develop Node applications and I mistakenly did a sudo npm install for a project I worked on. It was a bad idea because then all Node scripts needed to be run as sudo. At ...
2
votes
0answers
53 views

How fix the permissions for a mac app [duplicate]

I opened my Frank DeLoupe.app application and it asked for permissions. A window popup that I almost always click allow. This time I clicked deny, and now the color picker is not working. How can I ...
4
votes
1answer
110 views

Why does the Terminal app need access to Contacts?

In Security and Privacy, Terminal has access to Contacts. It also has access to Calendars, Reminders, and Photos. Why does Terminal have access to them? I do not know of any Terminal feature which ...
1
vote
2answers
136 views

cron lacks permissions to run a script

I have a script (which backs up, using rclone) that I can run from the Terminal or Automator after chmod a+x, with no permissions problems. However, when this script is run in cron (or launchd), ...
2
votes
2answers
1k views

Block an application's read/write access to a specific file in OS X?

The premise is this: I have an app which has been set in its code to only run on OS X versions 10.4 to 10.9.2. (When I try to install it, it gives a message "This version of ____ is for Mac OS X 10.4 ...
0
votes
1answer
148 views

Import into macOS 10.15 Catalina's Apple Music does not work: unknown error -54; likely root cause: file access permissions

Something is wrong with my version of Apple Music following an upgrade to macOS 10.15 Catalina. Importing songs fails with error "Copying files failed. An unknown error occured (-54)". The problem ...
1
vote
1answer
321 views

“Operation not permitted” for root when trying to ls or chmod -R /Users/user/Desktop

"user" can't do it either. Permission of Desktop/ is set to 700 and owned by "user". Here's the sderr output for ls -R command in the home directory: ls: Desktop: Operation not permitted ls: ...
0
votes
1answer
410 views

terminal mac - bash command not found, permission denied and '&gt' in prompt

I tried to change colours in Terminal following this guide: http://voidcanvas.com/ubuntu-like-mac-terminal/ I created bash_profile file, saved and quitted Terminal. Now when i open Terminal I get ...
0
votes
1answer
19 views

How to be able to edit files under “Application Support” without saving as a dupe

So as a person that enjoys (sometimes) making weird resource packs in Minecraft, I find it inconvenient to grab the resource pack I'm working on out of the folder, then put it back in. The reason why ...