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

learn more… | top users | synonyms (1)

6
votes
6answers
29k 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
8answers
16k 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 ...
3
votes
3answers
5k 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 ...
2
votes
0answers
1k 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 ...
45
votes
5answers
41k 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 ...
16
votes
2answers
16k 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 ...
4
votes
2answers
6k 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 ...
3
votes
2answers
4k views

How to make iPhoto library back into bundle

I recently recovered from a disk failure and while most of my files are ok, I'm having trouble with my iPhoto library. While it appears that the data fro the iPhoto library is intact in the recovered ...
10
votes
1answer
417 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, ...
7
votes
4answers
10k 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
12k 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 ...
5
votes
2answers
15k 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". ...
4
votes
2answers
51k 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 ...
53
votes
5answers
48k 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 ...
40
votes
5answers
20k 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 ...
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 ...
0
votes
0answers
104 views

Unable to overwrite some file formats via Share Drive

I have some files on a SMB-mounted shared drive. Filesystem is NTFS. Case 1: PSD (Photoshop file) I edited the Photoshop file in Photoshop CS5.5 (also tried Photoshop CC), select File > Save. For ...
5
votes
1answer
5k 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 ...
2
votes
2answers
1k 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
2answers
212 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 ...
2
votes
2answers
3k views

Is there a way to load a LaunchAgent as another user?

From a script run as root I copy a LaunchAgent .plist to /Users/xyz/Library/LaunchAgents. If I load that via launchctl logged in as user xyz it works without problems. If I try to load it from the ...
1
vote
1answer
442 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 ...
5
votes
3answers
2k 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
2answers
732 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": ...
3
votes
3answers
12k 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* ...
2
votes
2answers
691 views

How do I edit a 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 ...
2
votes
3answers
17k 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
0answers
1k 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: ...
2
votes
1answer
327 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 ...
1
vote
1answer
2k 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
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
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
3answers
5k 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 ...
0
votes
1answer
19 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
372 views

How do I change permissions of folders on a hard drive from a booted USB drive

I am trying to save my files on my Hard Drive that has a crashed OS. I created a Bootable USB with Ubuntu and successfully booted. I can see my folders, but I can't actually open them because I don't ...
0
votes
0answers
217 views

Yosemite Upgrades: Lost and Broken User Accounts

I've run into a series of issues that have arisen after installing Yosemite, and I was wondering if anyone has an idea what's happening. They all feel related. The Setup: I have a "old style" Mac ...
0
votes
3answers
4k 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
0answers
66 views

/opt insufficient permissions [duplicate]

After updating Mountain Lion to Mavericks xQuartz and MacPorts throws errors about insufficient permissions. (xQuartz and MacPorts are the latest version) I noticed: $ sudo mkdir /opt/tmp mkdir: ...
0
votes
1answer
695 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
341 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 ...