Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

15 votes
10 answers
12212 views
Fixing "not allowed to send keystrokes" error in Automator workflow
MacOS Ventura 13.3 but I have had some form of this problem on and off for a couple years. I have a simple workflow that types the current date in ISO 8601 format, it is a single AppleScript action like `tell application "System Events"...keystroke $DATE` essentially. It breaks, often, with an error...
MacOS Ventura 13.3 but I have had some form of this problem on and off for a couple years. I have a simple workflow that types the current date in ISO 8601 format, it is a single AppleScript action like tell application "System Events"...keystroke $DATE essentially. It breaks, often, with an error saying the workflow is "unable to send keystrokes". Perhaps something resets on OS upgrades, I'm not sure, but I wish I better understood the steps necessary to fix it. I gave Automator, AppleScript Utility, and the workflow itself the Accessibility permission "allow the applications below to control your computer"—as [this answer says](https://apple.stackexchange.com/a/401262/67860)—but that alone does not seem sufficient (but might be necessary?). I don't see any relevant keyboard settings. I suspect some or all of these apps also need to be on the Settings > Privacy & Security > Automation list...except there is no way to add (or remove, for that matter) apps to that list. There is no "plus" button and dragging an app onto the list does nothing. I've read here and in Apple's forums some suggestions that an app is supposed to request this permission the first time it needs it and to add an app to the list you should reinstall it. A fine solution...but you cannot reinstall Automator _or_ AppleScript Utility, they cannot be deleted. The workflow itself also does not trigger a prompt for this permission, as far as I can tell, and I doubt giving it access would be enough. **How is one supposed to add applications to the Automation list?** Is there a CLI to this list?
phette23 (331 rep)
Mar 29, 2023, 04:34 PM • Last activity: Jul 31, 2025, 04:53 AM
4 votes
2 answers
363 views
I don't understand Photos Library.photoslibrary
I'm still trying to learn to use a Mac and it's driving me crazy. It seems every time I try to use a photo in an application other than Photos on my MacBook, I see a grayed out "Photos Library.photoslibrary" link that doesn't let me click it to get into the photo library. I have followed the tutoria...
I'm still trying to learn to use a Mac and it's driving me crazy. It seems every time I try to use a photo in an application other than Photos on my MacBook, I see a grayed out "Photos Library.photoslibrary" link that doesn't let me click it to get into the photo library. I have followed the tutorials I've found online that say allow access to the full photo library, to no avail, shown here: Mac settings don't seem to work? All the settings are set as specified in this link: https://discussions.apple.com/thread/254792722?sortBy=rank Example: Example from iMovie Here's one example above. I tried to import a picture into iMovie, and the link just shows up as unclickable. I can drop pictures from the Photos application into iMovie, but I want to be able to get at them via filename. Please help me understand this mechanism. I just want to browse them by file name. How can I do this?
kmort (143 rep)
Jul 25, 2025, 10:58 PM • Last activity: Jul 26, 2025, 02:17 PM
2 votes
1 answers
449 views
Can't move file notifications
I'm getting the following Google Drive notifications pop up (Mac running Ventura 13.3), which is happening every few minutes and annoying me. I can't find the files in question on my drive, nor do I want any sort of access to them, I just want these notifications gone. Any suggestions? [![enter imag...
I'm getting the following Google Drive notifications pop up (Mac running Ventura 13.3), which is happening every few minutes and annoying me. I can't find the files in question on my drive, nor do I want any sort of access to them, I just want these notifications gone. Any suggestions? enter image description here
Sarah3585 (21 rep)
Aug 3, 2023, 08:34 AM • Last activity: Jul 25, 2025, 02:03 AM
2 votes
1 answers
1927 views
Is there a way to adjust the speed of the Photos screensaver (slideshow) in macOS Big Sur and later?
I find the slideshow speed too fast and would prefer a 15-30 second duration. I know the relevant plist is at `/System/Library/PrivateFrameworks/Slideshows.framework/Versions/A/Resources/Content/EffectDescriptions.plist` and I believe the entry that needs changing is `mainDuration` in the `JustASlid...
I find the slideshow speed too fast and would prefer a 15-30 second duration. I know the relevant plist is at /System/Library/PrivateFrameworks/Slideshows.framework/Versions/A/Resources/Content/EffectDescriptions.plist and I believe the entry that needs changing is mainDuration in the JustASlide key. I tried recursively copying /System/Library/PrivateFrameworks/Slideshows.framework/ to /Library/PrivateFrameworks/Slideshows.framework/ and then changing the destination plist, on the hunch that user library settings would override System library settings. This had no noticeable effect. I've found the below Q&As helpful in researching the issue, but I do not want to disable SIP and authenticated root and therefore be unable to re-enable FileVault. https://apple.stackexchange.com/questions/135766/os-x-mavericks-screensaver-changes-pictures-too-quickly-how-do-i-slow-it-down https://apple.stackexchange.com/questions/378905/how-do-i-change-the-image-display-duration-in-the-catalina-screensavers https://apple.stackexchange.com/questions/395508/can-i-mount-the-root-system-filesystem-as-writable-in-big-sur
Hobbsworth (1629 rep)
Aug 14, 2022, 05:53 PM • Last activity: Jul 24, 2025, 01:05 AM
0 votes
1 answers
75 views
How to ensure newly created files on network drive are read-write for everyone?
How to ensure newly created files on network drive are read-write for everyone? ------------------------------------------------------------------------ **In brief.** When a user creates a document/file on the network server volume at /users/shared/"M C"/, the document ends up being editable only fo...
How to ensure newly created files on network drive are read-write for everyone? ------------------------------------------------------------------------ **In brief.** When a user creates a document/file on the network server volume at /users/shared/"M C"/, the document ends up being editable only for the user who created it and Read-Only for everyone else. I need it be editable for everyone. **Specifics** With the client user Mac account 'AAA', a file is created on the networked drive in a folder called 'M C' in /users/shared. **The permissions for that newly created file will be Read-Write only for user 'AAA' and undesirably Read Only for the 2 other users listed: 'Staff' and 'Everyone'. I want it to be 'Read-Write' for everyone** (or preferably for only certain users but I'll settle for everyone right now) Similarly, if a Mac user 'BBB', in the same way as 'AAA', connects to the server and creates a file, it will be Read-Write for 'BBB' but Read-Only for all other users. I need all newly created and edited files to be editable by all users. The files in that directory need be shared. **Environment** The client Mac runs macOS 13 (Ventura). The server runs macOS 12 (Monterey) but may upgrade it soon to macOS 15 (Sequoia). User 'AAA' connects to server using their own (sharing only) Mac account on that server. The folder 'M C' is shared: The folder 'M C' has been added to the list at System Settings > Sharing > File Sharing > Shared Folders. Its 'Get Info' window has 'Shared' ticked. The folder 'M C' has Read-Write permissions listed for the users 'AAA', 'BBB', 'Staff', and 'Everyone'. This is shown in both 'Get Info' window and sharing control panel. **What I've tried already** I applied Read-Write permissions to the folder 'M C' for all users but that doesn't help. The contents are unaffected (as expected). I applied Read-Write permissions to the folder 'M C' for all users and all contents but that doesn't help. Existing files will get Read-Write permissions for all users but thereafter, newly created files will be Read-Write only for 'AAA'. Where possible, I tried making these changes in both the Finder's 'Get Info' window, and the System Settings > Sharing control panel. In the System Settings > Sharing control panel, in desperation, for the folder 'M C', I even secondary-clicked it > Advanced Options > ticked 'Allow guest users', but that did not help. (Other options there are not ticked) I have tried placing the folder in other locations (eg, server's home folder), but it makes no difference and I figure /users/shared/ ought be the safest option for this to work. Can anyone help with this issue?
Steve K (63 rep)
Feb 22, 2025, 07:30 AM • Last activity: Jul 22, 2025, 04:02 PM
0 votes
0 answers
37 views
How to make time machine backups that will be accessible from other machines?
I'm trying to find a way to create Time Machine backups that I can still browse in the future from machines that are not the one that created the backup (or from other users). My main issue it seems is with permissions, but I couldn't find any good guidance online valid for the way TM works since th...
I'm trying to find a way to create Time Machine backups that I can still browse in the future from machines that are not the one that created the backup (or from other users). My main issue it seems is with permissions, but I couldn't find any good guidance online valid for the way TM works since the switch to APFS. I recently got a new mac and noticed that backups created on my old MacBook are not accessible (red icon indicating lack of permissions). My old MacBook was running Ventura (still an intel machine from 2017). The external drive is APFS formatted. How can I make sure when creating backups on an APFS TM volume that I can browse them in the future. *A few details for context:* I did not use Migration Assistant to transfer the information over from the Time Machine volume to my new MacBook. Every once in a while I like to start fresh and use the move to a new machine as a welcome opportunity to do a spring-cleaning, reviewing all my settings and data, manually recreate settings, discard stuff that I don't use anymore etc. That also means moving my files first to in a separate "Transferred" folder and then step by step integrating them back into Documents, Pictures, Music, etc. So that's what I did this time. I set up my new MacBook without any migrating. But when it came to accessing the files from the backup I noticed that since I'm on a new machine, new user, I don't have permissions for those files. And because it's the new APFS TM volume, which is read-only for normal humans, I can't change permissions either. The workaround I did was to use Migration Assistant to create a new user on my new machine, then move all files I wanted from that user to the "Shared" folder, from there move them to the new main user that I had already set up, and then delete the migrated user (there's unfortunately no way to use Migration Assistant for only moving files, it always forces you to copy the library folder over). Now I'm hoping to either create backups in such a way that I can access them from any machine/user or find an easy way of accessing them a posteriori. The use case is not necessarily migrating to a new machine (there are workarounds like the one described above), but rather the opportunity to occasionally browse past disks, whether to retrieve an old file, or just for nostalgic purposes, how did I organize my files 10 years ago?, what programs did I use?, what was I working on?, etc. I still have old backups from 2008 (all contained in sparsebundles) that I occasionally access. I always encrypt my external hard drives with a password, so in terms of data safety, I don't need the additional layer of protection with permissions (which can be circumvented by admin accounts anyways). Any suggestions of how to make TM backups nowadays that will remain accessible from any machine/user? I don't need to be able to "browse" them through time machine's interface (which hasn't worked reliably for very old backups anyways). In fact I would prefer to have the option access them as I used to through the Finder's folder structure – as long as I have permissions to do so.
jan (842 rep)
Jul 22, 2025, 05:42 AM • Last activity: Jul 22, 2025, 07:58 AM
1 votes
2 answers
2391 views
Why is my USB drive suddenly read-only and how can I make it read-write again?
I have a 1 TB USB drive. I've been using it for months. My main iTunes library is on it. As of yesterday, for no apparent reason, it has become read only. I can't open iTunes. ![enter image description here][1] I also tried this... ![enter image description here][2] Here is the info panel on the dri...
I have a 1 TB USB drive. I've been using it for months. My main iTunes library is on it. As of yesterday, for no apparent reason, it has become read only. I can't open iTunes. enter image description here I also tried this... enter image description here Here is the info panel on the drive: enter image description here Note that the format is currently "Mac OS Extended Case-sensitive." "Ignore ownership of this volume" is checked, but greyed-out. Backing it up and reformatting is not practical due to the sheer amount of data. # How did the volume become effectively read-only? # Any suggestions for how I can get use of the drive back?
Agvorth (1401 rep)
Oct 20, 2014, 08:33 PM • Last activity: Jul 19, 2025, 09:10 AM
1 votes
1 answers
1157 views
MacOS: Cannot stop No Permission to use Siri Popup every 20 seconds
One of my staff members is having a problem with their MacBook Pro every 20 seconds whilst they're in the office. Normally triggered by "Hey Siri," however just general conversation in the office is triggering the popup below. It can popup every 20 seconds with words that sound slightly like 'Siri'...
One of my staff members is having a problem with their MacBook Pro every 20 seconds whilst they're in the office. Normally triggered by "Hey Siri," however just general conversation in the office is triggering the popup below. It can popup every 20 seconds with words that sound slightly like 'Siri' which has been frustrating to watch, let alone the staff member. How do we stop this popup? [You do not have permission to use Siri popup]
Dallas Clark (111 rep)
Feb 12, 2025, 01:29 PM • Last activity: Jul 13, 2025, 01:04 AM
3 votes
1 answers
2562 views
Why is my Catalina installation throwing up errors about SecurityAgent / login keychain overnight, and showing a grey lock screen?
This is a slightly difficult issue to describe precisely but I'll do my best. About six weeks ago, my installation of Catalina (10.15.7, MacBook Pro 13" 2020 / `MacBookPro16,2`) started to exhibit some strange behaviour when left running overnight (or possibly: when left running unattended for sever...
This is a slightly difficult issue to describe precisely but I'll do my best. About six weeks ago, my installation of Catalina (10.15.7, MacBook Pro 13" 2020 / MacBookPro16,2) started to exhibit some strange behaviour when left running overnight (or possibly: when left running unattended for several hours). Sometimes, but by no means every day, I'll return to the machine in the morning and wake the screen to see a grey lock screen (no background image) and a prompt that will often only accept my password (i.e. not Touch ID). Upon unlocking the machine I'll see a series of errors and password prompts, which seem to be stuck in a loop (or maybe there are just enough of them queued up that it seems like a loop). These messages include:
Unapproved caller. SecurityAgent may only be invoked by Apple software
---
Unrecoverable error. SecurityAgent was unable to create requested mechanism builtin:unlock-keychain.
---
accountsd wants to use the “login” keychain. Please enter the keychain password.
---
callservicesd wants to use the “login” keychain. Please enter the keychain password.
---
identityservicesd wants to use the “login” keychain. Please enter the keychain password.
---
CallHistorySyncHelper wants to use the “login” keychain. Please enter the keychain password.
---
assistantd wants to use the “login” keychain. Please enter the keychain password.
---
CommCenter wants to use the “login” keychain. Please enter the keychain password.
The system will give the appearance of being usable but isn't really. Symptoms include: * Finder and Dock repeatedly restarting * Generally unable to interact with menubar, e.g. to shut down * Inconsistent ability to tab between apps and interact with or quit them * Unable to start new apps from Dock or menubar shortcuts (icons just bounce for a while) So far I have never been able to cleanly shut down the machine in this state and have had to power it off using the Touch ID / power button. When booting back up, everything seems fine except sometimes Touch ID preferences have been reset (i.e. I have to enrol my finger again) and on one occasion my saved Bluetooth devices, except for mouse and keyboard, were deleted. For what it's worth, it does seem that if I "catch" the problem quickly enough, e.g. returning to the machine late at night, the damage is more limited and Touch ID is not always reset, however the other issues remain. I have also tried putting the machine into standby overnight by closing the lid, rather than leaving it running, but at least once the issue has still occurred (presumably the machine is waking up at some point overnight to do something). I'm a bit stumped as to how to diagnose this. My hunch is that it's something to do with the system somehow losing access to Keychain – based on mentions in the error messages above. I did have iCloud Keychain enabled previously, but disabled it a couple of weeks ago, and the issue has happened at least once since then. An answer to [another question](https://apple.stackexchange.com/questions/245309/how-to-fix-corrupt-keychain-permissions) mentions Keychain permissions – these are mine, in case they're relevant:
# /Library/Keychains:
0 drwxr-xr-x   9 root  wheel             288B  9 Feb 08:07 Keychains

# /Library/Keychains/System.keychain
248 -rw-r--r--  1 root  wheel   120K  7 Jan 13:16 /Library/Keychains/System.keychain

# ~/Library/Keychains/ [with redactions]
total 928
  0 drwx--x--x   7 james  staff   224B 14 Feb 10:07 .
  0 drwx------@ 85 james  staff   2.7K 10 Feb 12:22 ..
  0 -r--r--r--   1 james  staff     0B  7 Dec  2020 .XXXXXXXXXX
  0 -r--------   1 james  staff     0B  7 Dec  2020 .XXXXXXXXXX
  0 drwx------  11 james  staff   352B 14 Feb 09:06 XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
880 -rw-r--r--@  1 james  staff   439K 14 Feb 10:07 login.keychain-db
 48 -rw-------   1 james  staff    23K 14 Feb 09:41 metadata.keychain-db
Any light that anyone might be able to shed on this would be much appreciated! I have a TODO list item to upgrade to Big Sur, at which stage this might become moot, but until then I would really like to understand it better and avoid having to do these forced-shutdowns every now and then. Thanks for reading and if I can provide any more info or data please ask.
BigglesZX (111 rep)
Feb 14, 2022, 10:43 AM • Last activity: Jul 5, 2025, 10:04 PM
0 votes
2 answers
174 views
How do I open Files that had windows Padlock on a Mac through hard drive?
My windows pc died, my files are backed up on a hard drive, but some files can't be opened on my Mac no matter what I try, can't copy them, can't edit the permissions even after unlocking the padlock on Mac. I think those files are the ones who had a Padlock on windows 10 ( Even though it created no...
My windows pc died, my files are backed up on a hard drive, but some files can't be opened on my Mac no matter what I try, can't copy them, can't edit the permissions even after unlocking the padlock on Mac. I think those files are the ones who had a Padlock on windows 10 ( Even though it created no issues there) Anything I can do since I don't have access to windows pc right now ? Here are the errors when trying to open, trying to change the permissions (even though I'm supposed to be able to read and write), and trying to copy the files to my Mac. Trying to Open Trying to change permission Trying to drag the file to my Mac
stackexchanged (49 rep)
Jul 13, 2021, 12:50 PM • Last activity: Jun 26, 2025, 04:02 PM
4 votes
3 answers
6938 views
cron lacks permissions to run a script
I have a script (which backs up, using `rclone`) that I run from the Terminal or Automator after `chmod a+x` with no permissions problems. When this script is run in cron (or `launchd`), stderr shows `"/bin/bash: /Users/joshua/script.sh: Operation not permitted."` This approach works fine in Ubuntu....
I have a script (which backs up, using rclone) that I run from the Terminal or Automator after chmod a+x with no permissions problems. When this script is run in cron (or launchd), stderr shows "/bin/bash: /Users/joshua/script.sh: Operation not permitted." This approach works fine in Ubuntu. Edit: The above question remains relevant, but note that launchd is the favored cron replacement for Mac, while Automator is available for application-level scheduling.
Joshua Fox (1387 rep)
Nov 4, 2019, 10:42 AM • Last activity: Jun 26, 2025, 02:07 AM
2 votes
2 answers
3576 views
Permissions issue with shared folder using SMB. macOS can't open Linux files, but Linux can open macOS files without issue
Why can't the macOS machine open any files in the shared folder that were **transferred from the Linux machine**? The permissions seem to be correct. **The shared folder is located on the macOS machine** / it owns the shared folder. --- I have a shared folder on macOS Catalina (It's just the default...
Why can't the macOS machine open any files in the shared folder that were **transferred from the Linux machine**? The permissions seem to be correct. **The shared folder is located on the macOS machine** / it owns the shared folder. --- I have a shared folder on macOS Catalina (It's just the default Public folder) that can be accessed by an Ubuntu machine. The share is set up using SMB. If the Linux machine copies over a photo, text file, whatever into the shared folder, the macOS machine cannot open it. I get a permissions error. If the macOS machine does the same, the Linux machine has no problems whatsoever. I have tried many settings on macOS to no avail including "Apply to enclosed items". Here's a screenshot of all the sharing settings on macOS so you can see what I have done. Permissions issue The first screenshot shows the error when the admin account on macOS tries to open any file that was transferred from the Linux machine. The account has read/write permissions to the shared folder. Even if I copy a file to the macOS desktop, the error persists. The second screenshot shows Sharing settings in System Preferences. The blacked out parts are just the folder name and the two users who have access to said folder. One user is the macOS admin account, the other user is login credentials for the Linux machine. The third screenshot is details of the shared folder by right clicking > Get Info. - macOS Catalina is the machine sharing the folder - Ubuntu 20.0.4 can see the shared folder and use it without issue - The machines are connected on a local network - The Linux machine has it's own login credentials to the shared folder that were set up on the mac. It is not using a "guest" account.
user898458 (21 rep)
May 31, 2022, 10:14 PM • Last activity: Jun 18, 2025, 09:04 AM
2 votes
1 answers
1934 views
Allow ssh-keygen-wrapper to access "System Events" for all users in the same computer
When I run my AppleScript in a remote mode, I get this message in an user where the script runs: “sshd-keygen-wrapper“ wants access to control “System Events“. Allowing control will provide access to documents and data in “System Events“, and to perform actions within that app. Is it possible to all...
When I run my AppleScript in a remote mode, I get this message in an user where the script runs: “sshd-keygen-wrapper“ wants access to control “System Events“. Allowing control will provide access to documents and data in “System Events“, and to perform actions within that app. Is it possible to allow ssh-keygen-wrapper to access System Events" for all users in the same computer ONLY once, i.e. each new user in this computer doesn't need to allow this ssh-keygen-wrapper again? It doesn't matter if it's a manual or programming solution.
Rougher (41 rep)
May 22, 2020, 09:02 AM • Last activity: Jun 15, 2025, 06:04 PM
2 votes
4 answers
2210 views
How can I force my Mac to delete my trash which contains deeply nested locked folders?
I have hundreds of gigabytes of files that I manually (tried) to delete from an external hard drive. However I can't empty my trash, and no space has freed up on the drive. When I try to empty my trash, I get an error saying that I can't, because some of the files are locked, or in use or I don't ha...
I have hundreds of gigabytes of files that I manually (tried) to delete from an external hard drive. However I can't empty my trash, and no space has freed up on the drive. When I try to empty my trash, I get an error saying that I can't, because some of the files are locked, or in use or I don't have permission. The Macos popup tells me I should manually locate and change the permissions of the offending file. Here's the problem, there are 10s of thousands of files, so that is not realistic. What hasn't worked: Putting
rm -R
into my command line and dragging the offensive trash into my terminal. Selecting trash files in question, clicking "get info" and unlocking them *still* doesn't let me right click and delete immediately. Restarting my computer hasn't helped either. When I reconnect the drive, I still have no space freed and the junk files are still living in my trash folder... unable to be removed. As things are now, I've exhausted all available solutions to reclaim this space on my drive. My setup: Macbook air, up to date with Big Sur 11.4
Jamie Slate (349 rep)
Jun 30, 2021, 06:19 PM • Last activity: Jun 15, 2025, 12:47 PM
0 votes
1 answers
149 views
Trouble defining a Mac global keyboard shortcut to run an AppleScript or Automator workflow
On my Mac, I've created an AppleScript within Script Editor: ``` -- https://support.microsoft.com/en-us/office/keyboard-shortcuts-for-microsoft-teams-2e8e2a70-e8d8-4a19-949b-4c36dd5292d2#PickTab=MacOS -- https://apple.stackexchange.com/questions/477933/trouble-defining-a-mac-global-keyboard-shortcut...
On my Mac, I've created an AppleScript within Script Editor:
-- https://support.microsoft.com/en-us/office/keyboard-shortcuts-for-microsoft-teams-2e8e2a70-e8d8-4a19-949b-4c36dd5292d2#PickTab=MacOS 
-- https://apple.stackexchange.com/questions/477933/trouble-defining-a-mac-global-keyboard-shortcut-to-run-an-applescript-or-automat 
-- Remember NOT to move your mouse while the script is running (i.e. when you use the hotkey).
tell application "Microsoft Teams" to activate
delay 0.1
tell application "System Events"
  -- Start a search:
  keystroke "g" using {command down}
  delay 0.5
  -- Provide the search query:
  keystroke "example"
  -- a delay of at least 0.2 is required here:
  delay 0.2
  keystroke return
  delay 0.2
  -- Toggle "Unmuted" on and off:
  keystroke "q" using {option down, command down}
  keystroke "q" using {option down, command down}
end tell
If I press the button to run it manually, it works! 🎉 Now I want to set a global keyboard shortcut. Regardless of which app has focus (whether I'm in Edge browser, Teams, VSC, or whatever), I want the keyboard shortcut to be honored, and it should run this script. I've done this sort of thing before, but this time I'm having trouble. I've tried using the Automator and Shortcuts apps too. I'm very close, because if I press my Cmd Ctrl R shortcut _while System Settings has focus_, the script runs correctly and achieves the goal. How can I make the shortcut work when any other app has focus?
Ryan (1645 rep)
Jan 10, 2025, 07:26 PM • Last activity: Jun 15, 2025, 01:05 AM
0 votes
1 answers
159 views
Keep Ignore ownership on this volume for APFS partition on local disk
I need to make a local partition for DATA only on the same disk than the OS disk. I search to keep the box "Ignore ownership on this volume" ticked, But it's untick on every reboot. I tried : - diskutil disableOwnership command (and reset volinfo.database) - Disable macOS Security on recovery - Crea...
I need to make a local partition for DATA only on the same disk than the OS disk.
I search to keep the box "Ignore ownership on this volume" ticked,
But it's untick on every reboot. I tried : - diskutil disableOwnership command (and reset volinfo.database) - Disable macOS Security on recovery - Create APFS Container - New APFS partition - chmod, chown, chgrp ... The only thing that seems to work is to create an ExFAT partition,
But I'm not a big fan of this method.
DBF (1 rep)
May 7, 2024, 01:17 PM • Last activity: Jun 12, 2025, 07:10 AM
1 votes
2 answers
289 views
Can I stop macOS asking for screen recording permission while using mss.mss() in a python script?
I am trying to use mss to capture a portion of my screen using the following code: ``` import mss import cv2 import numpy as np monitor_region = { "top": 810, "left": 1070, "width": 660, "height": 300 } def get_frame(display_frame=False): with mss.mss() as sct: # Capture a single frame img = sct.gra...
I am trying to use mss to capture a portion of my screen using the following code:
import mss
import cv2
import numpy as np

monitor_region = {
    "top": 810,
    "left": 1070,
    "width": 660,
    "height": 300
}


def get_frame(display_frame=False):
    with mss.mss() as sct:
        # Capture a single frame
        img = sct.grab(monitor_region)

        # Convert to NumPy array and display
        frame = np.array(img)
        # print(frame)
        # print("frame dim = ", frame.shape)

        if display_frame:
            cv2.imshow("Captured Region", frame)
            cv2.waitKey(0)
            cv2.destroyAllWindows()
When running, my mac keeps prompting for permission and I have to click allow for every request. enter image description here Unfortunately, this isn't just a one-time thing, it happens for every screenshot request I make. This is not feasible when I am making multiple requests. Hence, I am looking for a way to disable this security check. I have allowed terminal full access to the disk, and to screen and audio recording in my system settings. This still didn't work so I am currently using pyautogui to automatically allow this, but this is still slow (takes ~0.2 seconds to get rid of) for my application. I am expecting a solution to guide me to disable the above security check. Is it possible to eliminate further requests? edit: output of the given command (
read ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals
):
{
    "/Applications/Shottr.app/Contents/MacOS/Shottr" =     {
        kScreenCaptureApprovalLastAlerted = "2125-06-05 15:25:33 +0000";
        kScreenCaptureApprovalLastUsed = "2125-06-05 15:25:33 +0000";
    };
    "com.apple.Terminal" =     {
        kScreenCaptureApprovalLastAlerted = "2125-06-05 15:25:33 +0000";
        kScreenCaptureApprovalLastUsed = "2125-06-05 15:25:33 +0000";
    };
}
tiny_sleasel (23 rep)
Jun 2, 2025, 11:34 PM • Last activity: Jun 6, 2025, 03:32 PM
0 votes
1 answers
36 views
How to hide an application from system preferences UI without disabling screen recording permission for that app in mac
I want to hide an application that has screen recording permission from the list shown in System Preferences under Screen Recording. Please help me with a way to hide it across all macOS versions.
I want to hide an application that has screen recording permission from the list shown in System Preferences under Screen Recording. Please help me with a way to hide it across all macOS versions.
user635644 (1 rep)
May 5, 2025, 12:25 PM • Last activity: Jun 6, 2025, 02:06 AM
1 votes
1 answers
161 views
Time Machine [Failed to unlink item] with Google Drive
While looking at the log files for Time Machine, I realized that the previous backups were not being deleted due to an error with a single file: ``` 2023-07-16 05:50:29.434071-0700 [BackupThinning] Deleted incomplete backup '/Volumes/Backups/2023-07-15-074409.previous' 2023-07-16 05:50:29.557540-070...
While looking at the log files for Time Machine, I realized that the previous backups were not being deleted due to an error with a single file:
2023-07-16 05:50:29.434071-0700 [BackupThinning] Deleted incomplete backup '/Volumes/Backups/2023-07-15-074409.previous'
2023-07-16 05:50:29.557540-0700 [BackupDeletion] Failed to unlink item '/Volumes/Backups/2023-07-15-120039.previous/Data/Users/xxx/Library/CloudStorage/GoogleDrive-xxx@gmail.com/My Drive', error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
I do not understand what is wrong with this link in particular. It was created by Google Drive. I uninstalled, deleted the entire GoogleDrive-xxx@gmail.com folder then reinstalled Google Drive and it is the exact same issue.
> cd ~/Library/CloudStorage/GoogleDrive-xxx@gmail.com
> ls -la 
...
lr-x------@     1 xxx  staff       24 Jul 16 05:44 My Drive@ -> /Users/xxx/My Drive
> cd /Volumes/Backups/2023-07-15-120039.previous/Data/Users/xxx/Library/CloudStorage/GoogleDrive-xxx@gmail.com
> ls -la
lr-x------@     1 xxx  staff  24 Jul 15 09:29 My Drive@ -> /Users/xxx/My Drive
> rm -f "My Drive"
rm: My Drive: Operation not permitted
The only thing that seems to work is to issue a manual sudo rm -f "My Drive". Any idea what is wrong with the link that Google Drive creates that cannot be deleted by Time Machine and what to do to fix it?
yan (221 rep)
Jul 16, 2023, 01:11 PM • Last activity: Jun 6, 2025, 12:07 AM
0 votes
1 answers
43 views
Sketch app input field value not increase/decrease with arrows key
I am running Catalina on my MacBook Pro mid 2014 retina. From few days I am having strange issue with my Sketch app. I can’t increase/decrease input values from arrows key. When I select any input field and press arrow up it suppose to be increase the value and on press arrow it suppose to be decrea...
I am running Catalina on my MacBook Pro mid 2014 retina. From few days I am having strange issue with my Sketch app. I can’t increase/decrease input values from arrows key. When I select any input field and press arrow up it suppose to be increase the value and on press arrow it suppose to be decrease the value. Even input spinner not working on click. It only works when I type numbers and hit enter. I checked my other apps Photoshop, Illustrator, Invision Studio all apps are working fine. The issue is only happening with Sketch app. I tried to install fresh copy (updated version). I tried to uninstall Sketch app with app cleaner. I restore defaults keyboard shortcuts. I restore defaults Accessibility settings but no success. For the reference I attached image what i want to get back. enter image description here
Mohammad Kashif (1 rep)
Sep 18, 2021, 10:43 PM • Last activity: Jun 3, 2025, 12:03 AM
Showing page 1 of 20 total questions