Skip to main content

Questions tagged [permission]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

Applications keep asking me for password for helper

I have a Macbook with a few installed applications. Some of these include VSCode, Notion, Docker, Slack, Zoom, Notion, TickTick, etc. all of these were installed via a downloaded file from the proper ...
Xxe Yêd's user avatar
0 votes
0 answers
25 views

Can't access Desktop, Documents, etc. from remote machine on same network using SMB since upgrade

I have two Mac machines running macOS 14.5 (Sonoma) on the same LAN. With a previous machine which was running an earlier version of macOS (forgotten which one), the following worked: In Finder, from ...
OutsideLoop's user avatar
1 vote
1 answer
39 views

Unable to delete old company OneDrive folder

I used to work at a company that used OneDrive. I neglected to unlink the OneDrive account. Now I can't delete the folder. I started out with: ls -lae ... drwx------@ 2 jonathan staff 64 May ...
jschmidt's user avatar
  • 349
4 votes
1 answer
389 views

Grant permissions from the command line

I want to grant a permission to an application (Cliclick, needs permission to control the computer), but currently only have ssh access to the machine I'd like to do this on. Is there any way to ...
user252164's user avatar
0 votes
1 answer
53 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 :...
DBF's user avatar
  • 1
4 votes
3 answers
1k views

How can I have a non-elevated script execute another specific script as root without requiring a password from the user?

I have a script, let's call it on-event.sh, that's going to be run at specific times, such as when a particular application launches or quits. The script itself will run as the current user (not root) ...
Bri Bri's user avatar
  • 2,518
0 votes
1 answer
19 views

How to allow other parent to manage payment details with family sharing?

My wife and I do not have completely merged finances, we both have jobs and our own credit cards. We do use some family sharing features (e.g. not paying for some apps more than once), so we set that ...
durron597's user avatar
  • 103
1 vote
2 answers
131 views

Have I corrupted my sudoers file? Cannot use sudo command at all

I think I may have corrupted my sudoers file. At any rate I can no longer use the sudo command (always hangs). I've read other questions related to this topic and tried to fix (going into Recovery ...
Alyoshak's user avatar
  • 111
1 vote
1 answer
89 views

Is there any way to prevent a non-admin user from executing "launchctl unload" on macOS?

I started using a well-known program for self-control on MacOS called Cold Turkey. This program is very powerful, but it's not enough since I can open a Terminal as a non-admin user and execute the ...
Alfred's user avatar
  • 11
1 vote
0 answers
91 views

Mounted usb drive gets Operation not permitted on write

My mounted usb drive gets Operation not permitted when I write to it: $ sudo touch /Volumes/NO\ NAME/aaa touch: cannot touch '/Volumes/NO NAME/aaa': Operation not permitted $ mount | grep NO /dev/...
xpt's user avatar
  • 405
2 votes
1 answer
246 views

How to make Homebrew directories writeable by multiple users?

I have two users on my Mac. Both are admins. One which can only access certain things which I use for doing work, and one general purpose. I program in both modes often, but I need to use homebrew ...
lj.greenwood's user avatar
-1 votes
1 answer
46 views

Issue with running SH file [closed]

I am trying to run the file run.sh with the command sh run.sh However, I get the error of permission being denied whether I use sudo or not. shloakagrawal@shloaks-air EaglerGradle-1.0 % sudo sh run.sh ...
Buddy Agrawal's user avatar
1 vote
1 answer
58 views

Preview quarantine madness: it quarantines files as I'm editing them

Preview seems to set the quarantine on files that it opens. Kind of, unpredictably. And, it could be, that quarantine is set randomly through other mechanisms; not sure. Let me illustrate. I have ...
OsamaBinLogin's user avatar
0 votes
1 answer
50 views

Can't remove systems folder from a faulty installation of Mac Catalina

I had Mojave installed on my late 2012 Mac mini, and attempted to install Catalina on it using the internet recovery mode. This install was made to the /Volumes/Local disc, and it failed miserably not ...
holroy's user avatar
  • 157
0 votes
0 answers
22 views

What is the group _appstore, and why are large number of files in this group?

What is the group _appstore? I have a folder with quite a few files in it. Until recently, the files would have had ownerhip of jas:staff, where jas is my username. I noticed recently that many files ...
Jeffrey Simon's user avatar
0 votes
0 answers
21 views

How to prevent application from access Autosave Information folder under /Users/user/Library

I've created a UI based Application that attempt to access a restricted folder which require user consent as can be seen in the following popup window. According to fs_usage analysis, the file seem to ...
Zohar81's user avatar
  • 621
1 vote
0 answers
75 views

Safe way to fix ownership and permission of Homebrew-related directories as part of cron jobs [duplicate]

I have a cron job that upgrades my Homebrew softwares periodically. Sometimes it runs into the famous directory ownership and permission issue for Homebrew. I'm trying to include some commands in the ...
Meng Lu's user avatar
  • 253
0 votes
0 answers
191 views

How to remove a standard user from iMac without their Apple ID password?

The iMac I use at work has a standard user, belonging to an ex-employee. This person left the company so I would like to remove the user account from the Mac. I have an admin account. The problem is ...
Hordon's user avatar
  • 193
0 votes
2 answers
34 views

File with @ in permissions

I've done a bunch of searching and can't figure this out. I have a bash file I am trying to create and run, but the file keeps getting saved with an @ in the last position on the permissions: user@...
nihilon's user avatar
  • 135
3 votes
1 answer
22 views

Creating User Accounts with Puppet/Missing ACLs

Currently we use Puppet in my environment to provision a user account seen here and here Recently we noticed on macOS 13 that the user account created were missing ACLs. I believe the missing ACLs are ...
Ryan Curran's user avatar
0 votes
0 answers
27 views

How to delete yabai multiple permission?

i've deleted yabai but the permission still exist, even i have 5 permission. when i try to turn on one of the permission, my mac become very slow
Jang Hyun's user avatar
0 votes
1 answer
51 views

Can restic backup macOS Photos library from launchd? [duplicate]

When I run restic from a commandline with sudo it is actually able to backup my Photos library. But this is probably because I have given Terminal full disk access. I am actually starting restic from ...
gctwnl's user avatar
  • 714
0 votes
1 answer
93 views

Can't get app to request microphone permissions

I'm running Ventura 13.6.1 on an Apple M1 Pro, and I'm having this issue with Ableton Live. Somehow, all microphones just stopped working inside Ableton. Internal and external microphones, even though ...
Daniel Reina's user avatar
1 vote
2 answers
53 views

iMac (late 2013) w/ High Sierra is very slow; lots of spinning wheels

The last couple weeks, I've had infinite waits in many applications. Logging in after restart took a few minutes, and the password space even disappeared for awhile. Do these iMacs have batteries? ...
valence4x's user avatar
1 vote
1 answer
244 views

MacOS Ventura cannot reset Automation preferences for a single app

I am developing an application that needs System Events as well as access to individual apps through AppleScript. When I access an application for the first time, it will trigger a dialog asking for ...
Lucas van Dongen's user avatar
0 votes
0 answers
26 views

Copy Paste from one drive to another - permissions error

What I'm trying to do: I'm trying to copy 1.5TB of data from a Network drive (Drive G) on a Windows 10 PC and paste it to an external drive on my Mac Mini (Sonoma 14.2.1), the external drive name is ...
Yeah Nah's user avatar
1 vote
1 answer
102 views

Repeated alert: "MAMP PRO.app" would like to access data from other apps

I recently migrated to a new Macbook Pro. Now every time I re-open Mamp I get the alert "MAMP PRO.app" would like to access data from other apps. Even if I choose to "Allow" it ...
Brimby's user avatar
  • 113
2 votes
1 answer
2k views

Is the microphone in Mac Discord app always on? If so, can I withdraw permission at the Mac level, or in the app itself?

I'm new to Discord and am running the Discord desktop app on my Mac. Today I noticed that at the bottom of the screen, to the right of my user name and photo (in the same box), there was a small ...
Cerulean's user avatar
  • 395
5 votes
1 answer
1k views

What can non-elevated rm -rf /* actually remove on macOS Ventura?

Long story short I am an idiot and ran rm -rf /* on my M2 MacBook Pro running macOS Ventura 13.3.1 while trying to clear out a directory. I was able to cancel it a few seconds after realizing what I ...
Miles Turin's user avatar
3 votes
1 answer
3k views

In Mac OS Sonoma, 'Permission denied' when trying to create a file in the home directory

I'm on the latest Sonoma 14.2 and when in my user's home directory I cannot create a file. I have checked the rights and it looks okay. Sudo works but this is my home directory and it messes with me ...
fredrik's user avatar
  • 133
1 vote
0 answers
50 views

Add additional folders to Apple's TCC and PPPC permission system

In the latest macOS versions one must explicitly grant folder access to ~/Desktop, ~/Documents, and ~/Downloads in order for apps to access these locations. How can I add custom folders to this ...
Max's user avatar
  • 11
0 votes
0 answers
33 views

Google Chrome does not have permissions to "see" dialog boxes

I am a huge fan of automating my workflow with Keyboard Maestro, a kind of uber macro tool that can run script steps, execute Applescript or Javascript, save variables and do lots of other stuff. I ...
Peter in Japan's user avatar
0 votes
0 answers
56 views

All files in SMB share have executable bit when they shouldn't have

I have a samba share on a Linux machine SHARE. I then mounted SHARE on my MacOS computer on dir dir. However, when I list the files in dir, all files had the executable bit. If I mount SHARE on my ...
DrownedSuccess's user avatar
0 votes
0 answers
11 views

MacOS Parental controls - constant website requests and inconsistent permissions

So I have set up parental controls for my little brother on a MacBook with MacOS High Sierra, with only a few websites permitted. Problem 1: I get CONSTANT requests to whitelist some random Subdomains....
Deven's user avatar
  • 131
3 votes
1 answer
330 views

What is qemu-system-x86_64 from launchd and why does it want to "accept incoming network connections"?

I had this pop up unexpectedly (MacOS Ventura 13.5.1, Intel i7 MacBook Pro): Do you want the application “qemu-system-x86_64” to accept incoming network connections? No recent updates or new ...
user56reinstatemonica8's user avatar
0 votes
2 answers
361 views

"Untitled" can't be opened because the original item can't be found

Currently, my external SSD can be mounted and showed in finder sidebar. But, I can't open my disk and "Get Info" option is missing, then this error came. Here's my disk info. I tried: ...
CuriousPenguin's user avatar
1 vote
2 answers
144 views

If I delete a user on macos, what happens to folders they set to 'no access' for everyone?

I'm on a brand new install of High Sierra. I created a temporary admin user (named 'bean') while setting up the system. Using 'bean' (admin), I ran Migration Assistant, and migrated the 2 users (&...
sbimos's user avatar
  • 41
1 vote
1 answer
402 views

Why do I get "operation not permitted" when I try to `ls` the content of Desktop on Mac OS?

I cannot list files in the Desktop folder using the terminal: Desktop % ls -l total 0 ls: .: Operation not permitted I have no problems accessing the Desktop folder or its subfolders with the Finder ...
Marcello Romani's user avatar
1 vote
1 answer
155 views

User files ownership anomalies on MacOS 14.0

I've been using a Mac Studio system now for a couple of years, and a now I am running into permissions problems when trying to set up a web server. It was only recently that I noticed ownership ...
Dennis 's user avatar
  • 115
1 vote
2 answers
309 views

The problem with running Nginx installed by macport on mac, Permission denied for /opt/local/var/log/nginx

I have changed nginx.conf to listen to 8080, not 80. But when I run it without sudo, I got the error could not open error log file: open() "/opt/local/var/log/nginx/error.log" failed (13: ...
Qiulang 邱朗's user avatar
2 votes
0 answers
184 views

How to mount an smb share with `rwx` permission for all using `mount` command?

I am trying to mount two network smb shares so that all clients/users have rwx access. Network shares are on a Mac mini. Accessing from an iMac. Two shares are smb://192.168.5.1/PlexMedia_2 and smb://...
John's user avatar
  • 1,071
1 vote
0 answers
48 views

Set "ignore ownership on this volume" for a disk image?

I have a mounted HFS+ disk image that I'd like to be equally accessible to all the user accounts on that system, in that they can all read and write files on it, create and delete files, and copy ...
Bri Bri's user avatar
  • 2,518
1 vote
0 answers
436 views

MacOS Sonoma, How to enable sound recording (microphone permission) in ssh connection

We are running automated tests from command line. The tests are using a python library to control a sound card to play and record audio. The tests work fine when launched locally in the terminal of ...
japi1's user avatar
  • 11
5 votes
2 answers
2k views

Sandbox: Python deny(1) file-read-data

In my XCode project, I have a Python script I'm running as one of my build phases. However, it's failing to open a file with the error: Sandbox: Python(22805) deny(1) file-read-data <file_name> ...
Daniel Walker's user avatar
0 votes
0 answers
85 views

Import screenshot images automatically, using an Automator script and Folder Action, referenced photos on server

I have my Apple Photos.app library on my iMac and my referenced photos on a networked Mac mini. The goal is to import all screenshot images automatically, using an Automator script and Folder Action, ...
John's user avatar
  • 1,071
1 vote
1 answer
1k views

NordVPN wants to install a helper tool prompt at every restart

Every time I startup my mac, I boot up NordVPN and it always seems to give this prompt, which it never did so often before: I'm on macOS 13.6 (22G120), and I have tried removing every file related to ...
Meh.'s user avatar
  • 446
2 votes
1 answer
317 views

How to repair cleared ACL?

On a recent support call I was asked to run the following command: sudo chmod -R -N ~/Library/Containers/com.someco.someapp/ but on further examination I see that that directory contains a subfolder ...
orome's user avatar
  • 11.9k
2 votes
0 answers
115 views

launchd job returning 2 but works fine in terminal

I'm trying to write a bash script to clean up my Downloads folder every day at a certain time. The bash script should get called then a python program afterwards to do the cleanup. I'm using launchd ...
A-A's user avatar
  • 21
0 votes
0 answers
78 views

Trying To Delete Left-Over Malware Files

An annoying piece of malware that pretends to be a new Safari / Sonoma security feature has deposited itself and its associated files inside my System/Library/... In short, I need to delete a folder ...
LumpyGumbo's user avatar
0 votes
1 answer
571 views

MacOS: How can I unlock a system plist file to edit? [trying to get rid of a stray Netskope VPN entry]

I'm trying to get rid of a stray Netskope Client (NSClient1) VPN entry that wouldn't go away. I found its traces only in /Library/Preferences/com.apple.networkextension.plist - this is the system's ...
zaam's user avatar
  • 131

1
2 3 4 5
26