Questions tagged [permission]

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

Filter by
Sorted by
Tagged with
119
votes
9answers
219k 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 ...
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/...
89
votes
6answers
140k 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
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 ...
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 ...
53
votes
6answers
83k 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 ...
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 ...
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 ...
36
votes
6answers
61k views

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 ...
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 ...
31
votes
2answers
34k 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. ...
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 ...
25
votes
8answers
116k 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 ...
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 ...
24
votes
1answer
75k 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 ...
23
votes
2answers
51k 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'. ...
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 ...
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 ...
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 ...
17
votes
4answers
16k 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 ...
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 ...
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 ...
13
votes
6answers
10k 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
9k 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
8answers
33k 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
35k 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 ...
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 ...
10
votes
3answers
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 ...
10
votes
3answers
10k 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 ...
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
8k 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 ...
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 ...
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 ...
9
votes
9answers
11k 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 ...
9
votes
3answers
9k 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
45k 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....
9
votes
6answers
87k 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-...
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 ...
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
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". ...
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 ...
8
votes
1answer
2k views

How to get Finder in Lion to set group permissions to read/write by default?

To have group permissions set to read/write by default in Snow Leopard and Leopard, I used /etc/launchd-user.conf to set the umask to 002. This still works in Lion in every app except the Finder. ...
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 ...
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
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 ...
7
votes
2answers
27k views

Copy recursively files and folders, but preserving everything while gaining ownership?

I would like to copy files and folders recursively from an external drive to my internal SSD. However, when I drag and drop, and, subsequently, when I use the copied files, I am always asked to enter ...
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 ...
7
votes
1answer
712 views

Why are Mac files able to have multiple owners?

Regarding Unix file permissions, which Macs use, why are Mac files in particular able to have multiple owners? For instance, you can view the "Get info" panel of a file, and under the Permissions ...
6
votes
4answers
17k views

.HFS+ Private Directory Data?

On my file exchange partition that both Mac and Ubuntu should have access to, I cannot manage to get access from Ubuntu. This partition was created with the Disk Utility in Lion. Unlike before, ...