Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [permission]

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

1
vote
0answers
15 views

How to hide or deny access to Wi-Fi access points in macOS High Sierra or Mojave [duplicate]

Backstory: I work in a building with hundreds of wireless networks. I want to hide these networks from my users and only allow them to access a specific network (SSID 1). They only have the ...
0
votes
0answers
29 views

What process is changing my file permissions?

Every once in a while, I notice that something must have recursively changed all my files' permissions in my home directory to go-rx — so I do: $ find . -type f -exec chmod go+r {} \; $ find . -type ...
0
votes
0answers
15 views

Moved home-folder to external drive - after booting up Apps sometimes won't load

Bid on an 2018 Mac Mini on Ebay, when I realized that this impulse buy is an error (128GB internal drive) it was already too late. Solved that problem by moving my Home-Folder to an external ...
3
votes
0answers
77 views

What is identityservicesd?

*Just a preface I do not have anything noticeably wrong with my computer (MacBook Pro (Retina, 15-inch, Mid 2015), Mojave 10.14.4), and I was learning as I went along. In the process of cleaning out ...
1
vote
1answer
23 views

Permission for drive

I've installed Windows beside macOS. My MacBook now has two drives. Drive "A" and Drive "B". Drive "A" has macOS boot and Drive "B" Windows 7. The problem now is that I can't modify drive A when ...
2
votes
1answer
16 views

Connect through Finder with server, save permissions? [duplicate]

I'm trying to access my FTP server through Finder, I can open the server and access the files. But when I try to change a .css file or something and save I then get an error stating that I don't have ...
2
votes
1answer
51 views

Why does the calendar app require access to my emails?

I recently ran an update to Mojave 10.14.4, and following this update, I was prompted by "Internet Accounts" to re-authorise access to my Google account. Notice that I only wish to syncrhonise ...
2
votes
2answers
145 views

Admin password not working for sudo?

I've been trying to run this command in the terminal: $ sudo rm -ri ~/.Trash However after being prompted to type in my password (which I believe it needs to be the admin's password) and after ...
0
votes
1answer
51 views

Why does chunkwm fail with “Permission denied” error for .chunkwmrc

ashleyharvey@Themis:~$ ls -al .chunkwmrc -rw------- 2 ashleyharvey staff 4.7K Apr 4 22:24 .chunkwmrc ashleyharvey@Themis:~$ chunkwm /bin/bash: /Users/ashleyharvey/.chunkwmrc: Permission denied So, ...
0
votes
1answer
34 views

How can a script detect if it has access to some Security & Privacy parameters?

I've created a script which uninstalls an application I've created. However, as you may know, in macOS Mojave the system requests the user's permission to allow said script to control System Events. ...
0
votes
1answer
26 views

Allow find command to access my files

I'm trying to use the find command to find a file on my Mac. However, when I used the command I accidentally denied my Mac permission to search my various folders, including documents and photos. How ...
1
vote
1answer
34 views

How to fix Permission Denied error when starting up MongoDB

So I'm newbie to learning react and node and thought of building something based on MERN stack - I installed mongodb using npm install -g mongodb then it says its installed - then to create data ...
0
votes
0answers
9 views

Books.app not working, Generic icon

I updated to Mojave 10.14.4 last night and when I came back to work my Books.app has a generic icon and will not open. Executing the binary from terminal gives me the following Mar 28 14:01:11 MBP ...
1
vote
1answer
17 views

App cannot create folder when needed, needs permissions

I'm trying to use Unity to export the app I'm creating. It gets about halfway through the process before showing the message: "Creating directory. Creating directory Library/ScriptAssemblies failed. ...
0
votes
0answers
54 views

“Write Permission Not Granted” When saving to Windows Share from Photoshop

I've been banging my head against this and figured it's time I come to the community and see if any Apple experts can offer some advice on what to try. I've done the following: The users have their ...
0
votes
2answers
81 views

The command Line would not let me repair my disk permission on Mac (Mojave)

Im on macOS Mojave on my Mac. I deleted my admin and made my user to admin. Now, I have problems with permission of files in the system. Yosemite was able to repair disk permissions by pressing a ...
1
vote
1answer
13 views

How can I change the ownership of the unwritable directories for Homebrew?

I had admin account before and I deleted the admin and made the user as admin because it was bit of pain in neck. This is now the admin user called zuhairhallak. Before, installing Homebrew, it was ...
0
votes
0answers
23 views

How to give myself permission to edit the locked hosts file on MacOS Mojave? [duplicate]

I am logged in with my admin account, which is my only account on this computer. I checked under preferences and it says "admin". I have located the file here: /private/etc/hosts When I go to ...
3
votes
1answer
237 views

“Permission denied” when running macOS installer from command line

I'm trying to install High Sierra to an external drive, from a system which is running Mojave. I can't run the GUI installer (it warns me about trying to install an older version of the OS), so I'm ...
1
vote
1answer
193 views

Even as admin, I cannot edit DefaultFonts.plist for Notes.app. What am I doing wrong? [duplicate]

I want to modify DefaultFonts.plist for the Notes application. I've tried a few different ways since what worked on old OS doesn't on 10.14 Mojave: I've navigated to the file through finder, went to ...
0
votes
1answer
45 views

Combine Time Machine backups in Mojave

My Time Machine backup drive became corrupt. It would take several minutes to mount, and then MacOS would warn me to back up the data. When I tried copying Backups.backupdb out I got "Error Code -36"...
0
votes
2answers
265 views

How can I run Windows in a VM using VirtualBox? My image is always permission denied

I'm attempting to run a Bootcamp partition in a virtual machine using VirtualBox. It's a Windows 10 install with latest Bootcamp drivers (which I guess is irrelevant here) and latest version of ...
2
votes
1answer
17 views

Permission of ~/.Trash is always gone after Time machine backup

Every day, permission of ~/.Trash is always gone(Pic1). And .Trash become zero bytes file. That mean, I can't move files to Trash, and Finder will delete files immediately. Every time ~/.Trash go ...
0
votes
1answer
309 views

How do we delete protected apps in Mojave?

News.app, Stocks.app, GarageBand... when you try to delete them, you are forbidden because they are "protected" apps. I tried disabling SIP (System Integrity Protection) and still could not delete ...
1
vote
0answers
66 views

Can not create files on samba share for Time Machine

OS 10.14.2 / ubuntu 10.04/ samba 4.9.2 My ultimate aim is to use a samba share with Time Machine. I have built an up to date version of samba (4.9.2) which has the necessary support for Time Machine ...
2
votes
1answer
50 views

Unlike other folders, dragging apps out of /Applications create an alias. What controls this behavior?

I usually install Cyberduck by dragging the .app bundle into the Applications folder on the root of my hard drive (/Applications). However, on macOS versions 10.7 Lion and newer, if I later decide to ...
2
votes
1answer
110 views

Self-Renewing 'Automation' virus redirects Safari and Chrome through ads to bing. Renews through a memory alert

Running macOS 10.14.2. Safari 12.0.1. Symptoms: Safari redirects searches through proxy to bing Chrome redirects searches through proxy to bing In Privacy Settings, under Automation "Finder" with no ...
0
votes
1answer
59 views

Any idea why I can't edit a file even if I run vim as root?

I am on OSX Mojave and I have a file with the following permissions: -rw-r--r-- 1 root wheel 2.7K Jan 31 04:32 settings.json I did a sudo su - and now whoami returns root. Any idea why I ...
0
votes
0answers
73 views

Cannot configure xdebug; “Operation not permitted” error when trying to cp

I'm trying to configure xdebug, but when I run the command cp Downloads/xdebug-2.6.1/xdebug-2.6.1/modules/xdebug.so /usr/lib/php/extensions/no-debug-non-zts-20160303 I get a "Operation not ...
0
votes
0answers
154 views

Is there a workaround for the Outlook for Mac calendar permissions bug?

As discussed here and here, Outlook for Mac users cannot load any other Outlook user's calendar if the latter user's permissions are set to show "Free/Busy Only"; they can only load Outlook calendars ...
0
votes
1answer
278 views

Macos Mojave: how to deal with corrupted bsd_flag in a private/var directory?

Machine: MacBook Pro late 2013 OS: Mojave 10.14.1 Disk Utility reported several problems with my HDD, so I ran it in recovery mode, and when more problems were left, I ran fsck in single user mode. ...
1
vote
1answer
105 views

Block opening of DMG files by non-admin user

I set up Parental Control for a user but said user is still able to download and install additional software from DMG files (among other they downloaded TOR browser which bypasses parental control).. ...
0
votes
1answer
28 views

How to revoke the Health App's permissions to Messages

Under Privacy -> Health the App Messages is listed as an App accessing my Health data, and in the Health App, Massages is listed as a Source. How do I revoke those permissions? And is there a way ...
0
votes
0answers
22 views

How can I restrict restrict an apps permissions to a specific file?

I intentionally have downloaded the virus lose/lose. My antivirus keeps quarantining it, so I'd like to change the apps permissions so that it can't access lose/lose.zip. How can I change the apps ...
0
votes
1answer
194 views

Why can I open a connection on port 80 for 0.0.0.0 but not other forms?

My understanding of Linux/MacOS (I think they are the same in this regard) port permissions is that ports 1-1024 are only available to root, but above that, they are available to anyone. However, I'...
0
votes
1answer
25 views

MacOS File Permissions Reset After Writing

I have two user accounts on my MacOS 10.12, both should be able to read and write a KeePass file saved in /Users/Shared/. I've created a user group for this called me that contains both users. In the ...
1
vote
1answer
28 views

Cannot access directory through standard user even when permission is given

I have a directory that I need to use to launch my OpenVPN client in my Mac. It is copied from my Raspberry Pi server through SSH protocol with my root user in Terminal with SCP. However, I need the ...
2
votes
0answers
28 views

Setting Strict File Permissions and ACL’s for a KeepassXC keyfile on Mac OS

I use keepassXC on mac for my password manager. I use the keyfile feature with it, which requires a keepassxc created keyfile to be read in order for the database to be unlocked (veracrypt utilizes ...
2
votes
0answers
257 views

MacOS Mojave causing permission errors [closed]

Issue: MacOS permissions falsely configured. Recently I had some networking issues on my mac running High Sierra, so I backed up my disk, completely wiped my mac, installed Mojave and then moved ...
3
votes
3answers
101 views

List readonly files

I need to list or show or query for the files in a folder (well, technically, on a USB drive, but I can navigate to it in Finder/Terminal) that are marked readonly. All the Google-fu in the world ...
1
vote
1answer
145 views

In a MacOS Mojave bash script “-w /etc/passwd” is false even for root

An old bash script I have tested to see if a user was root by seeing if /etc/passwd was writeable. In MacOS High Sierra it returned true for root, and false for anyone else. But in macOS Mojave the ...
0
votes
0answers
817 views

ACL/permissions inheritance nightmares on Mojave

I have read through multiple questions on the topic of ACL inheritance on Mac OS X, but unfortunately, none seem to be effective in solving this issue in Mojave. They do seem to work on High Sierra, ...
0
votes
0answers
17 views

Is “Fix Permissions” deleted or hidden?

I want to temporarily change owner/group/permissions on a lot of files in one user's ~/Library. I know that the old Fix Permissions is not the silver bullet it was claimed to be for a lot of things, ...
0
votes
1answer
28 views

chown/chmod/chgrp on Users/____/Library without disabling SIP?

I know how to disable and enable SIP, but is there an easier way to remove ACLs from a user's library? I want to move and/or copy some things from my admin account to my regular account and SIP ...
1
vote
1answer
39 views

Modify permissions of files created via SMB in a specific directory

I have a multifunction printer that has a SMB-capable scanning unit. I want to have the printer send scans to an SMB share on my iMac running macOS High Sierra (10.13). I do not want to store my main ...
3
votes
0answers
558 views

Can't delete file even when using sudo

Trying to delete the following file: ~/Library/Cookies/HSTS.plist, but MacOS won't let me do it even when using sudo. I just switched to Mac (was using Ubuntu before) and I'm probably missing ...
4
votes
1answer
52 views

What is the Apple Watch to iphone pairing animation called?

I need to build something similar for my own app and am heavily inspired by this animation. I despise QR codes and would love something like this and am comfortable designing it from scratch. Just ...
3
votes
1answer
34 views

What's the right ownership for /usr/local for current macOS and Homebrew versions?

Someone told me that Homebrew no longer requires /usr/local/ to have an ownership such that it can be written by brew commands ... I recall long time ago I have to manually change the ownership ...
0
votes
1answer
18 views

Can I lock my app until user give me a permission (like location permission)?

I am developing an app and I am highly in need of location services and without that my app is not working. Can I block users from using my app (showing a page to them) until they go to settings and ...
1
vote
0answers
25 views

Spotlight solution stops TextEdit files opening

After running the solution for Spotlight re-indexing takes too long or doesn't work I can't save or open TextEdit files on any drive. I get the error: The document “anyfilename” could not be opened....