Questions tagged [permission]

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

Filter by
Sorted by
Tagged with
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 ...
9
votes
7answers
45k views

How Should I Correct the Owners and Permissions in an OS X User Folder?

My issue is that I've seriously busted all of the owners and permissions on my user folder and subfolders and it's causing lots of issues using lots of applications. The initial cause was that I had ...
1
vote
2answers
212 views

Is it possible to allow usage for an app or program for a specific times on a Mac?

I was trying to achieve this using a second account (which is the admin account) and Parental Controls, but it seemed this isn't possible to do so. I know there are some programs which you can ...
32
votes
2answers
38k views

Permissions for new files in shared directory

We just got a new iMac are using the /Users/Shared directory to store media assets (pictures, audio, video) that we want accessible to all users on the machine. After copying over all the files ...
19
votes
4answers
65k views

Run sudo From Non-Admin Account

Okay, so I'm gearing up to get a new machine so I'm looking at how I can organise things better. Now, currently I use an admin account as my main login account, but I know that that's probably not ...
6
votes
2answers
10k 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 ...
115
votes
12answers
167k views

How to use pip after the OS X El Capitan upgrade?

After the El Capitan update, I am unable to run pip install. The error I get is that the "operation is not permitted" when pip tries to create new folders while installing. creating /System/Library/...
4
votes
1answer
2k views

How to rework a “System Events” command in AppleScript, so that it automatically works in all applications?

With the following AppleScript code within a "Run AppleScript" action in a Service: tell application "System Events" set theSBounds to {{572, 64}, {332, 515}} set position of window "Google ...
16
votes
11answers
50k views

Keychain says “Access to this item is restricted” after upgrading to Lion

I recently upgraded to Lion and since then I haven't been able to use Keychain to look at my stored passwords. When I click on the checkbox to show them it prompts me for my master password, then ...
6
votes
1answer
3k views

how to avoid the “downloaded application” warning for a Standard User

This is a followup on this post of mine: Application permissions for Standard user I'm now running MacOS High Sierra 10.13.5 and this problem is still irritating. I use my Mac as a Standard user. ...
5
votes
0answers
3k views

This “weird group trick” makes MacBook Pro login, apps, and systems run slow slow slow … but why?

Edit  In response to Tetsujin's comment, further details now are provided for reproducing the slowdown, and for reverting back to normal speed. The usual caveat  Experimenting with system-...
4
votes
3answers
6k views

Permissions of /Users keep changing back to drwxrwxrwx

I use the Disk Utility to repair it. But the permissions change back after reboot. Permissions differ on “private/etc/aliases”; should be lrwxr-xr-x ; they are -rwxr-xr-x . Permissions differ ...
3
votes
1answer
5k views

How can I give an app permanent permission so it doesn't ask for my password every time?

I am using an application called Hostbuddy to manage entries in my hosts file. It works great, the only problem is that is asks for my password every time I use it, which adds up to a lot of ...
89
votes
6answers
139k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
51
votes
5answers
46k views

What does “@” signify in unix file permissions?

I have a file with the following permissions on my MacBook Pro: -rwxr-xr-x@ 1 root wheel 101K Feb 29 17:09 apachectl What does the @ stand for? I can't execute the file and this is the only ...
54
votes
5answers
47k views

Why am I getting a “dubious ownership of file” error when Launch Agent runs my .plist file?

I have a Launch Agent configured to run a .plist file for example: /Library/LaunchAgent/foo.plist. Inside this .plist, it is set to run during LoginWindow and Aqua. When I attempt to launch my ...
47
votes
2answers
165k views

allow sudo to another user without password

I want to be able to 'su' to a specific user, allowing me to run any command without a password being entered. For example: If my login were user1 and the user I want to 'su' to is user2: I would ...
15
votes
5answers
172k views

How do I unlock a .plist file so that I can change it?

I want to edit Info.plist for TextEdit. (Here's why.) I'm running OS 10.7, and I do have Xcode installed. But every time I try to edit the file, it's locked and I can't save my changes. If I try to ...
9
votes
7answers
7k views

macOS Catalina doesn't allow MAMP permission to certain folders (Documents, Downloads, Desktop)

I have been using MAMP for a few years now, I just updated to macOS Catalina, it seems that macOS Catalina is blocking permissions to the Documents folder among a few others (such as Downloads and ...
5
votes
2answers
10k views

Resetting user permissions to their default mode

I'm on Mac OS X 10.7.2 with a serious permissions issue that affects most items in my Documents folder, which now require my password for modifications like renaming. The concerned files and folders ...
18
votes
3answers
5k views

In OS X, is it better to put apps in /Applications or in ~/Applications?

I've noticed that pkg installers and obviously apps installed from the App Store) put apps in the /Applications file, yet Steam usually puts them in ~/Applications. Both work, and both are writable by ...
2
votes
1answer
2k views

How can I remove Chess from my mac? [duplicate]

I tried to remove Chess.app from my Mac: Moving to Trash: “Chess.app” can’t be modified or deleted because it’s required by macOS. Trying to change permissions for everyone in Get Info: The ...
2
votes
0answers
1k views

Saving /private/tmp

Something on my Mac keeps deleting the /private/tmp directory. I first noticed this was happening as I was investigating high CPU usage. The Console was full of errors like the following: 1/10/15 10:...
1
vote
2answers
127 views

From command line on macOS, how to add a user group to the Sharing and Permissions list for a directory?

The macOS gui, as shown in the attached image, provides a way to add users and user groups to the permissions of a file system directory. There are also lots of examples of how to create groups from ...
1
vote
2answers
365 views

Operation not permitted turning off airplay mirroring

I'm running the command sudo chmod 000 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent Because AirPlay mirroring is messing with one of my programs, but it tells me "...
80
votes
5answers
56k views

Homebrew permissions & multiple users needing to brew update

I'm using Homebrew to manage package installs on Lion (Lion Server actually but this shouldn't matter). Homebrew was installed under one user. Now a different user would like to add a package and ...
20
votes
6answers
12k views

What point is there in using an everyday non-admin account on OS X?

This piece of advice is old but is coming back into fashion. I have seen it a lot recently, on a number of Mac websites or forums. "Your ‘everyday’ user account should not be an admin account. It ...
28
votes
2answers
8k views

How does Homebrew no longer need ownership of /usr/local?

Today I ran brew update and after migrating the repository, it reported that it no longer needed ownership of /usr/local: $ brew update Updated Homebrew from 5371359 to 13f08a2. ... ==> Migrating ...
7
votes
1answer
3k views

How to revoke permission given in System Prefs > Security & Privacy > 'Allow'

I recently installed a particular application that required me to go to System Preferences > Security and Privacy > General, and then give it permission by clicking the Allow that had shown up ...
13
votes
4answers
8k views

Why is sudo taking way too long?

I recently updated to macOS Sierra 10.12.4 Beta (16E144f) and it might be what is causing sudo to delay up to 10 minutes as it's the most recent change I recall since this problem occurred. I have ...
8
votes
2answers
2k views

How to create a pseudo-guest account in Lion with FileVault 2?

The guest account always had very limited permissions, unfortunately since activating FileVault on Lion it's deactivated by default. (More about it here: Unable to create Guest Account after enabling ...
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 ...
4
votes
1answer
10k views

OS X Yosemite Hard Disk Errors even after Repairing them

Basically, I do a lot of C programming (for class) so I use gcc a lot on my mac. Recently since two days, whenever I ran it, the entire computer is getting frozen, and a force restart is necessary to ...
4
votes
1answer
10k views

How to automatically apply permissions to files added to a shared folder

I have a shared folder setup on a Mac Mini Server. It has permissions for our company group to read/write. When a mac user adds a file to the shared folder, it inherits the permissions of the folder ...
3
votes
3answers
3k views

Gatekeeper preventing from opening files from Finder (launching apps is fine)

Here's what's happening (in Sierra, 10.12.5) try to launch a non-application file which ISN'T a bundle (e.g. pdf, png -- numbers bundles will be fine) -- by double-clicking, or using open in the ...
9
votes
2answers
11k views

permission denied mkdir /Volumes

I'm getting a permission denied when attempting to create or mount at /Volumes on my mac. I'm an admin and I can do both of those things with sudo, but I don't understand why I have to use sudo on ...
7
votes
2answers
4k views

OSX Mavericks Root User

I know it is possible to enable root user and then logging in as the root user. But is it possible to get root access with your admin account in OSX Mavericks? It is kinda annoying to always type the ...
5
votes
2answers
1k views

Hardening Time Machine Security

In face of the news that there is now a ransomware for mac in the wild I thought about the security of my time-machine backups. Permissions First, I had a look at the permissions of the files that ...
3
votes
1answer
16k views

Cannot change permissions on com.apple.Boot.plist

I am trying to set the permissions on the Boot.plist file (Located in /Library/Preferences/SystemConfiguration) and it won't let me. I have clicked the lock and entered my password in Finder, and when ...
10
votes
2answers
24k views

How to move the Downloads folder (in Mountain Lion) to another disc

I want the "Downloads" folder not on the system drive but on my second internal drive. In Lion I just deleted the "Downloads" folder and replace it with an alias with the same name (pointing to the ...
4
votes
0answers
782 views

Mac OS Sierra connected to SMB share keeps forgetting permissions at the folder level

We have a Mac running 10.12.6 It connects to our SBS 2011 Server shares using SMB (CIFS makes no difference to the issue). For some reason Finder keeps forgetting that the user has permissions to ...
3
votes
2answers
14k views

How to access other users' files via Terminal in OS X?

I am an admin that wants to access other users' files. How to do this via the Terminal?
2
votes
4answers
14k views

Odd permissions issues on Windows Share

I'm handling the IT for a Mac based design studio and they're having weird issues with files on a Windows Server 2008 R2 server. They should have complete access to everything, they can create, delete,...
2
votes
0answers
3k views

How do I change the ownership of files backed up with Time Machine

I have a Mac which was reinstalled from scratch, and the owner accidentally changed her username when installing it. Current user id is "Jane" but old time machine backups were made when her user name ...
0
votes
3answers
4k views

What causes chmod to not work on an ssh file in OSX?

I am trying to mount private keys from USB stick. OSx does not allow me to change their permissions, why? How can I change them? In other words, how can I add private keys from random USB stick to ssh-...
8
votes
4answers
41k views

Can't save files in my own directory due to insane permission error

I was working on my mac and saved a file. Continued to work on the file. One hour later, when I tried to save that file, I saw the message "The document could not be saved. You don't have permission". ...
7
votes
4answers
37k views

How do I edit an Info.plist file?

I want to edit three lines of file Whenever I try to edit it this comes up I already gave myself permission to Read & Write (I'm 21muffinp) The same thing still comes up, saying I do not have ...
7
votes
5answers
16k views

Cannot edit /etc/fstab to let NTFS drives write

I have Mac Os X 10.9 Mavericks. I want to write to NTFS drives. I followed the instructions here. The following command was not allowed to run: $ sudo echo "UUID=7575C85E-F6F7-4ABD-B7FB-6180B795DD81 ...
6
votes
1answer
2k views

Can the default permissions on /dev/disk* be changed?

Is it possibile to change default permissions /dev/disk*? In Linux this is done in the udev configuration files; which is the equivalent on OS X? I'd like to give group write permissions so members ...
5
votes
1answer
9k views

Best practice for installing applications for multiple users?

I have a MBP with Lion (10.7.3) on it and there are two user accounts on it, I use them to seperate work and private stuff, but when I install apps, I generally want to use/upgrade/remove them using ...