Questions tagged [permission]

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

Filter by
Sorted by
Tagged with
132
votes
10answers
248k views

How can I copy files from my Mac to PC via Microsoft Remote Desktop?

I installed Microsoft's Remote Desktop and connected to a PC. How can I share files between my Mac and PC? When I use RDP on Windows, I can simply add a file to the clipboard and paste it inside the ...
116
votes
12answers
169k 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/...
92
votes
7answers
156k 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 ...
80
votes
5answers
58k 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 ...
61
votes
8answers
97k views

File can't be moved by root on OS X

I tried to move a few files to a subfolder on OS X. One refused to move. It said Operation not permitted. I tried again as root: $ sudo mv file subfolder/ mv: rename file to subfolder/file: Operation ...
61
votes
5answers
57k 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 ...
55
votes
2answers
176k 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 ...
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 ...
43
votes
6answers
82k views

How To Make files in `/usr/local` Writable For Homebrew?

I've been trying to get homebrew working nicely, but it appears everything inside /usr/local isn't writable, and everything falls over. It keeps telling me to recursively chown /usr/local, and I ...
33
votes
2answers
41k 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 ...
31
votes
2answers
36k views

Dropbox asking for permissions to wrong folder after changing account name

I just got a new macbook and is now installing apps to it. After setting up Dropbox and everything else, I decided that I wanted to change the account name (which was previously "mac") to my name. ...
29
votes
3answers
59k views

Understanding the 'staff' user group

It's known that all users are members of the 'staff' group. If you setup a standard user and create any file, a list of that file in the terminal with 'ls -la' shows the user group to be 'staff'. ...
28
votes
2answers
9k 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 ...
27
votes
11answers
130k views

How to fix 403 in Mac OS X built-in Apache?

I'm trying to set a local environment on my new MacBook Air 13": built-in Apache with my own DocumentRoot, PHP, and MySQL. I usually update /etc/hosts just to run my local websites with a pretty ...
25
votes
2answers
71k 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 ...
24
votes
1answer
81k views

Can't write to /usr/lib

I upgraded to OS X El Capitan and tried to install a new app (MPLAB X from Microchip) but I got an error because it couldn't copy a library to /usr/lib even when it asked for root password. I tried to ...
22
votes
4answers
75k 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 ...
22
votes
7answers
17k 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 ...
21
votes
2answers
6k views

Cannot ls ~/.Trash in the Terminal in Catalina (operation not permitted)

Ever since buying a new Mac, which has forced me to upgrade to Catalina, I cannot view the Trash folder in the Terminal. ls ~/.Trash just gives ls: .Trash: Operation not permitted. So does sudo ls ~/....
19
votes
4answers
21k views

How to allow install of non app store or identified developers on MacOS Sierra

I'm getting this error trying to install software on MacOS Sierra (10.12.5): Your security preferences allow installation of only apps from the App Store and identified developers. I'd like to ...
18
votes
3answers
6k 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 ...
17
votes
11answers
55k 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 ...
17
votes
2answers
3k views

Add apps to “Files and Folders” permissions?

In macOS Catalina, is it possible to add apps directly to Security & Privacy -> Files and Folders? The plus icon is greyed out, even when the preference pane is unlocked. I know that the option ...
15
votes
5answers
189k 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 ...
14
votes
9answers
16k views

Grayed out folder won't open in finder

I've never see this before. Here's the facts: It appears to be grayed out in the finder I can not open it by clicking I can move the folder The permissions are set to 777 (overkill i know) I can ...
13
votes
7answers
19k 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 ...
13
votes
6answers
11k views

How to figure out what is causing the ownership of /usr/local to change from my-username to root

I use homebrew as a package manager for certain web development app. To keep brew up-to-date I run update brew every couple of days and also run brew doctor. Usually, this is fine and brew tells me I'...
13
votes
4answers
10k 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 ...
12
votes
4answers
20k 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 ...
12
votes
4answers
11k views

Cannot set up Touch ID, unlock System Preferences, or reinstall Big Sur [2020 Intel MBA i3]

Today I have upgraded my 2020 Intel MacBook Air to Big Sur (11.1). Since upgrading, I am unable to unlock the "lock" in the System Preferences panels that require it (the window "...
12
votes
8answers
34k views

Sharing a single Dropbox between multiple accounts on one Mac - possible?

This seems like it should be easy, but... My partner and I use a single Dropbox.com account to keep all of our joint projects synced up between our computers - and this has been working great for ...
12
votes
1answer
47k views

sharingd wants to use the "Local Items keychain

Every time after I log into my computer the first thing that happens is I get this message even if I put in the password. I can click it 3 times or so and it will go away, or I can give it the ...
12
votes
3answers
11k views

Home folder has 'everyone' Read-Only permissions

I just realized that my home folder (/HD/Users/Bob) has Everyone 'ReadOnly' permissions set at its root level. If I browse this folder from another account, I can view the folders, but I'm not ...
11
votes
2answers
25k 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 ...
11
votes
2answers
11k views

How to delete files in /System/Library/Desktop Pictures on Catalina?

I tried to delete files in the default desktop picture directory (/System/Library/Desktop Pictures) on macOS 10.15 Catalina with sudo permission but failed. $ pwd /System/Library/Desktop Pictures $ ...
11
votes
2answers
2k views

Is there a command like namei for OS X?

I'm sifting through some incorrect permission issues and discovered the namei command for Linux. Homebrew doesn't currently have a Mac port. namei - follow a pathname until a terminal point is ...
11
votes
1answer
55k views

OS X 10.11 Not able to change the folder permission

I have root permission but still I am not able to change the folder permission sudo chmod -R 777 /Applications/Safari.app/Contents/MacOS/ chmod: Unable to change file mode on /Applications/Safari....
11
votes
6answers
97k views

Chrome won't quit! (Mac Yosemite)

I tried normal quit, and it closes and immediately re-opens. I tried force quit, and it closes and immediately re-opens. I tried force quit from the Activity Monitor, and it closes and immediately re-...
10
votes
2answers
13k 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 ...
10
votes
3answers
18k views

Catalina not allowing to change read/write permissions despite having SIP disabled

Currently Running: macOS Catalina 10.15.1 Issue: Ever since I upgraded to Catalina, macOS is not allowing me to change read and write permissions on system protected files, hence, I am not able to ...
10
votes
1answer
1k views

I know how to repair disk permissions. But… Who broke them?

One of the common Mac troubleshooting steps everyone always seems encouraged to try first is to "repair disk permissions" in Disk Utility. This process usually finds random odd problems, fixes them, ...
9
votes
7answers
46k 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 ...
9
votes
3answers
10k views

Do iPhone apps have permission to make calls without user interaction?

I was reading about a missed call scam just now where the user gets charged even if they don't call the number back. It occurred to me that a malicious iPhone app could make calls to premium numbers ...
9
votes
1answer
7k views

Ownership of the .config folder in home directory

Who is supposed to be the owner of the .config directory under user's home folder? On my machine it appears to be owned by the system user and it is only readable by that user. Several programs, ...
9
votes
4answers
8k views

The message “You do not have permission to open the application” is shown when trying to open a downloaded app

This seems to be a new issue with Big Sur. I have "App Store and identified developers" enabled in Security & Privacy, but I've run into a certain app outside the App Store that seems ...
9
votes
4answers
18k views

How to resolve permissions errors on OS X Lion after Homebrew install

I just upgraded from Snow Leopard to Lion and am trying to get Homebrew installed. However after the installation, I run brew doctor per the installation instructions, and see a series of errors ...
9
votes
4answers
45k 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". ...
8
votes
5answers
2k views

Cannot open Terminal on mac (“Not allowed to use” error message)

I cannot open Terminal at all because of this error message. (Probably the rudest error message I have ever seen on a computer.) This mac was originally a school computer and the permission to use ...
8
votes
5answers
6k views

OSX Bash for loop - issues with spaces in folder names?

I'm getting a bit confused on how to handle spaces in path names when returned in a for loop. Rationale: I'm cleaning up the permissions on folders and files that I copy over from Windows. Most of ...
8
votes
5answers
17k 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 ...

1
2 3 4 5
20