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

learn more… | top users | synonyms (1)

6
votes
6answers
34k 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 ...
4
votes
0answers
2k 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-...
3
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 ...
11
votes
9answers
24k 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 ...
67
votes
5answers
75k 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 ...
68
votes
10answers
68k 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/...
50
votes
5answers
44k 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 ...
4
votes
2answers
8k 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 ...
6
votes
3answers
93k 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 ...
11
votes
4answers
19k 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 ...
57
votes
5answers
28k 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 ...
21
votes
2answers
22k 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 ...
24
votes
2answers
74k 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 ...
6
votes
8answers
26k 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 ...
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 ...
4
votes
1answer
9k 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 ...
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 ...
3
votes
2answers
4k 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?
3
votes
2answers
516 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 ...
7
votes
2answers
16k 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 ...
6
votes
1answer
482 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 ...
6
votes
3answers
24k 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". ...
5
votes
1answer
7k 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 ...
3
votes
2answers
10k 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 ...
2
votes
2answers
283 views

How to keep a file hidden in Finder, but readable, writable and visible to an app?

An otherwise great app I'm using, annoys me as every time I start it, it writes to 2 files in the root of my user account which are clearly visible. Now, I have used the terminal command "sudo chflags ...
1
vote
1answer
593 views

How to set permissions on network interfaces?

At each reboot, the permissions on the network devices /dev/bpf* are changed. As a developer, I want write acccess on these files. This can easily be fixed with a chmod. What is the most elegant ...
0
votes
2answers
2k 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-...
14
votes
3answers
2k 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 ...
7
votes
1answer
484 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 ...
5
votes
2answers
943 views

Setup up Kaleidoscope as external diff tool in IntelliJ?

I want to change the diff tool to an external one in IntelliJ Idea (basically in Android Studio). I get this message: Can"t Launch Diff Tool Cannot run program "/Applications/Kaleidoscope.app": ...
5
votes
3answers
3k views

No right to open file once copied on the desktop

I'm new to Mac, so I may not have the correct vocabulary. We have a Mac 10.5.x configured to share files with AFP and SMB. We have 4 other Mac as clients, various versions between 10.5 and 10.6. ...
4
votes
3answers
15k views

Whenever I try to delete a file in Finder I get “Finder wants to make changes. Type your password to allow this.”

I can't figure out why Finder isn't letting me delete files under my home directory without providing my password. Here's a listing of some files on my desktop: ~/Desktop steve 526$ ls -l@ flower* -...
3
votes
2answers
11k views

Denied file read access on file I own and have full r/w permissions on

I received an email with a plain text attachment (named 'noname') via Gmail and downloaded it using Chrome from gmail.com. It's a recurring automated report. Everyday I get the file , download it, ...
3
votes
3answers
21k views

“The operation can’t be completed because the item is in use” when deleting from Samba mounted drive

I have a USB drive plugged into my Asus RT-N66U router and shared over SMB. I originally formatted this drive on a Mac. I have two Trendnet TV-IP572PI surveillance cameras that records snapshots/video ...
2
votes
1answer
412 views

What does “Always Allow…” actually do?

That is, what files does it actually change? I am deploying a new version of an application on to multiple machines (100+) and when I test it on a machine, the "You do not have permission to use the ...
2
votes
1answer
1k views

AppleScript app started prompting to run or quit. How can I disable this?

I'm not entirely sure why this has started happening since this is completely new behaviour and I haven't done any system updates but I have a nice little toolbar app for my Snow Leopard Finder.app ...
2
votes
2answers
6k views

Preview refuses to open pdf file, incorrectly claiming a permission issue

I had to force quite Preview (it became unresponsive after trying to open a 200Mb animated gif), but after re-starting it some files there were open before no longer open. Instead an error box pops up ...
2
votes
0answers
2k views

Network share permissions problems in Mountain Lion

After upgrading to Mountain Lion, I have experienced some weird problems with network share permissions. This network share is a Windows server which I login to like so: smb://DOMAIN;USERNAME@...
1
vote
3answers
1k views

How can I make a folder and its contents automatically owned by two people?

Ok, in the /Users/Shared/ folder I have my DropBox folder. I have read/write permissions set for me and my wife (shared computer). However, if she creates a folder/file in the DropBox folder, I can ...
1
vote
1answer
3k views

Getting loads of Open error 5's when using Terminal to repair permissions

My GF's MBP running on Mavericks broke down 2 days ago. First I tried to copy the contents of her HDD to an external HDD but got the I/O error time after time. Then I tried all the basic things like ...
1
vote
3answers
6k views

Why can't I send my files to the Trash?

When I try to delete some items, whether from the keyboard (Command+Delete) or by dragging to the Trash on the dock, I get a message informing me that I can only permanently delete the item. Why is ...
1
vote
1answer
5k views

Mavericks: User no longer owner of Home folder and content

One of the Users (called: The_Problematic_User) of a Mavericks installed MacBook Pro is no longer owner of the Home folder and content. Here's what we've tried to no avail: restart computer and log ...
1
vote
2answers
2k views

Cannot Save/Edit to Mac Share Using Mountain Lion

The problem: Under Mountain Lion (10.8.3) I cannot create new files or save changes to a particular share, which is running Lion (10.7). I can connect to the shared Mac on my local network (in a ...
1
vote
1answer
265 views

User permissions problem after restoring from Time Machine to a new user Mac OS X El Capitan

My old MacBook Pro died so I did a restore from a Time Machine backup to an iMac. I did the restore to a new user so the info already in the iMac would not be lost. Everything went smoothly and I have ...
1
vote
1answer
1k 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 ...
0
votes
1answer
950 views

Boot drive (SSD) going read-only randomly

I've got a mid-2010 MBP running OS X 10.8.4. I've got a Sandisk SSD as my boot drive in my Super Bay and a 1.5TB hard disk in my HD bay. (I realize I could get better SSD performance if I swapped ...
0
votes
1answer
41 views

Modifing a preference via applescript changes file group

I recently request help about modifying firewall settings via command-line (see my previous question). Everything is working, but I have noticed that whenever I use this command in an applescript, the ...
0
votes
1answer
41 views

What would cause normal files to be hidden from the Finder but not the terminal?

I exported a set of photos from my wife's computer to mine over a WiFi share. I opened the directory in Finder and it said that there were 0 files. I know I've seen the Finder lag before on ...
0
votes
3answers
5k views

Issue installing MacPorts on Mavericks

I try to install MacPorts and get this $ sudo make install make: getcwd: Permission denied shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied =...
0
votes
1answer
502 views

How do I copy an NTFS partition to a writable disk image?

I have a drive from an old Windows computer. The drive is now in an enclosure, so it's accessible as if it were an external drive. It is formatted as NTFS. I would like to convert this drive (about 50 ...