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

Questions tagged [permission]

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

0
votes
2answers
20 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
6 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
20 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
95 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
153 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
30 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
155 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
194 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
51 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
48 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
75 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
56 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
40 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
72 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
173 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
95 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
21 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
21 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
103 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
24 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
25 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
22 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 ...
3
votes
0answers
213 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
127 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
615 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
25 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
33 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 ...
1
vote
0answers
409 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
50 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
16 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
24 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....
1
vote
2answers
362 views

Change permisions on /usr and /usr/local to link Homebrew package

How does one change permissions for /usr or /usr/local? I tried doing sudo chmod 775 /usr/local, but it says chmod: Unable to change file mode on /usr/local: Operation not permitted` so I ran ls -l ...
1
vote
0answers
15 views

How to have two owners access the same files

I'm trying to give full access to two different users in the same directory. When I run Laravel via Apache, it uses the _www user. When I run Laravel via PHPUnit (on the command line), it uses my own ...
1
vote
1answer
31 views

Using Console utility to get the full logs with admin perms but as a non admin user

I maintain at least 2 logins: normal is non admin permissions admin - to do those sometimes tasks but increase my security. [10.11.6 EL Cap, not new logger system. I hope to get to that sometime ...
1
vote
2answers
931 views

Move macos user home folders on external drive

I got a shiny new Mac Mini but couldn't afford a 1TB internal SSD to hold all my stuff, so I'm testing ways to leverage an external disk for user storage. I know I can point Photos and iTunes to ...
2
votes
2answers
2k views

Reset All Mojave App Permissions

So I upgraded to Mojave recently and I got some app permission popups requesting access to system events, etc. I didn't recognise some of these the apps and didn't allow access. Now it turns out ...
3
votes
1answer
7k views

iTerm2 - Accessibility and Full Disk Access

Just installed iTerm2 and it asked me change some settings in Security & Privacy of macOS. At the moment I gave "Full Disk Access". Under "Accessibility" I see iTerm2 listed but without the ...
3
votes
1answer
2k views

“macOS needs to repair your library” error loop on Mojave upgrade [duplicate]

I’ve been having trouble fixing the “macOS needs to repair your library” loop for the past couple of days and I’m running out of options. The message pops up over and over again, no matter what I do. ...
1
vote
2answers
920 views

How do I delete qmasterd in Incompatible Software folder?

I have this pesky file "qmasterd" that has been moved to the "Incompatible Software" folder by the macOS Installer. It must have been lying around on my Mac from years ago when I had Final Cut Pro v6 ...
1
vote
1answer
141 views

How to stop gatekeeper always asking for app verification in standard account?

I've recently done a clean install of High Sierra and am struggling with reducing the annoyance of the app verification from gatekeeper. For security I log in as a standard user and have a separate ...
0
votes
1answer
417 views

OSX - File Sharing - Permission problems

I bought a Mac Mini (OSX High Sierra), also with the intention to use it as a file server. I am very surprised that this seems to be an issue. I am using Samba share that is also supposed to work for ...
1
vote
1answer
26 views

Edit text file in a folder owned by a different user on macOS? I have system admin password

How can I access and edit a text file found in a folder owned by another user? I am in the original user account setup for this macOS Mojave installation, and have the system admin password. So I ...
0
votes
1answer
61 views

What are “Write Only (Drop Box)” permissions?

I noticed under Sharing & Permission in folder/file info that I have a weird third type of permissions. Next to Read & Write and Read Only, I also have the option "Write Only (Drop Box)". I ...
1
vote
0answers
38 views

Errors when reseting external drive permissions on High Sierra

I have an external RAID array with several disks. I am unable to reset permissions. For example: sudo resetUserPermissions /Volumes/Data/ `id -u` returns: Ready to reset user permissions on disk5 ...
3
votes
2answers
1k views

How do I grant root access to user files in Mojave?

I upgraded my laptop to Mojave. For years, my backup strategy has included using rsync (MacPorts rsync 3.1.3) to copy files to a file server. This stopped working properly, now showing some errors ...
0
votes
1answer
38 views

I accidentally allowed software to load when asked. How do I find out what I allowed (and block it again if needed)?

I just upgraded to Mojave, and all went well. When the system restarted, I was shown the name of an application or extension that was being blocked from loading, and I mistakenly authorized it to load....