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

learn more… | top users | synonyms (1)

34
votes
4answers
23k 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 ...
30
votes
4answers
29k 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 ...
19
votes
3answers
9k 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 ...
14
votes
3answers
3k 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 ...
10
votes
8answers
31k 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 ...
10
votes
2answers
7k 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 ...
9
votes
1answer
302 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, ...
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
2answers
15k 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 ...
7
votes
2answers
412 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
1answer
175 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 ...
7
votes
4answers
12k 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 ...
5
votes
5answers
769 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 ...
5
votes
4answers
5k views

How do I repair permissions of a specific directory?

I want to repair permissions of a user defined directory along with it's subdirectories. How can I do this? So far, I've looked for options in finder and tried to drag the folder into Disk Utility. ...
5
votes
3answers
17k views

How Should I Correct the Owners and Permissions in an OS X Lion 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 ...
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. ...
5
votes
1answer
416 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 ...
5
votes
2answers
6k 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
1answer
425 views

How to allow a group to access a folder?

I want to allow the _www group to write to a folder. I clicked on the folder to go to the "Get Info". At the bottom there is a "Sharing & Permissions" section with a "+" to add users. However it ...
5
votes
2answers
7k 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
2answers
2k views

Can't save files in some applications

I some application, such as Xcode, Pages and Pixelmator 2, when I save, I get an error about not having the permissions to save the file: "The document “[document name]” could not be saved. You don’t ...
5
votes
1answer
2k 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 ...
4
votes
3answers
3k views

Mac OS X finder and disk utility not responding

My mac had turned slow and buggy - I did a reinstall. After a couple of attempts I succeeded with a "blank" install. I thought it was working fine but now the problems from before keeps popping up: ...
4
votes
1answer
53 views

Limit list of apps user can launch?

In Windows it is possible to configure system so, that user runs only some list of applications (for example Word, Excel, PowerPoint...) and user can't launch anything else. How can I configure OS X ...
4
votes
1answer
3k views

Problems saving changes to /etc/sshd_config

I am trying to setup my mac mini as a secure git server, I'm following this very helpful blog post, http://www.tomdalling.com/blog/software-processes/how-to-set-up-a-secure-git-server-at-home-osx. ...
4
votes
1answer
3k views

What are the default permissions on the Applications folder in OS X supposed to be?

I was trying to run VirtualBox on OS X when I got the error: Failed to open a session for the virtual machine tinyXP. Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE). Unknown error creating VM ...
4
votes
2answers
4k 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 ...
4
votes
1answer
187 views

Limiting a standard user to use 50 GB of the hard drive

I have added a standard user for my brother on my Mac Mini, and I would like to limit the amount of space he can use on my hard drive, but I can't see where I can set this kind of restrictions. I ...
4
votes
1answer
290 views

Changing XAMPP directory/file permissions

On my old Windows setup I used a symbolic link to store my htdocs folder in my Skydrive folder and still work with XAMPP. I've just bought a MacBook and trying to accomplish the same thing but seem to ...
3
votes
3answers
309 views

Make folder private so other users can't access

I've just noticed that the contents of some new folders that I created under my users/[myname] folder, are visible to other users. The original ones all have the 'no entry' sign. How do I make ...
3
votes
3answers
6k 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
4answers
413 views

Why Has the “Downloads” folder become Read-Only?

Recently my Downloads folder has become read-only. This prevents Safari form saving any file amongst other annoyances. As you can see from the below image the folder is read-only but I have plenty of ...
3
votes
2answers
1k views

Can I schedule a periodic file permissions repair?

Can I schedule a periodical file permissions repair? With Automator, maybe?
3
votes
3answers
1k 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 ...
3
votes
1answer
429 views

Unlock read-only USB key

A free 8GB USB key given to me shows up in Snow Leopard as read-only. $ mount /dev/disk1 on /Volumes/USB DISK (ntfs, local, nodev, nosuid, read-only, noowners) How can I mount it read-write? ...
3
votes
1answer
377 views

Changing read permissions on /private/etc recursively

I was trying to make my /private/etc folder and all its contents world-readable. 'Permission denied' messages from a number of internal files and folders were a recurrent theme whenever I did a find ...
3
votes
1answer
131 views

Move file from HDD to SSD

I've recently added an SSD drive to my Macbook, and I'm using my HDD to store my files. Sometimes I want to move a file from my HDD to my SSD though. Whenever I try to drag it, Finder only allows me ...
3
votes
1answer
3k views

Folder in root greyed out in Finder but accessible in Terminal

I've just migrated from an old MBP to a new one. I had a folder Transmachina in the root in which I keep a large SVN working copy. I just copied this over with cp -R but on the new machine this folder ...
3
votes
1answer
2k views

What permissions do I need to give for my server setup?

I am trying to have a server setup for my web app locally on my MacBook Pro. I have installed Apache, PHP successfully and checked out my web app's code to /var/www location. Now there's a script in ...
3
votes
1answer
83 views

What's the “@”mark at the file description?

I installed princexml for Mac. With ls -alF, I have -rwxr-xr-x@ 1 prosseek admin 14190120 Jun 8 16:11 prince*. What's the meaning of @ in -rwxr-xr-x@? And when I tried to execute the binary, I got ...
3
votes
4answers
346 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 ...
3
votes
5answers
9k views

The document “x” could not be saved. You don’t have permission

I am getting the following error: The document could not be saved. You don't have permission The error is not helpful at all because it does not point to where I don't have permission. To save ...
3
votes
2answers
229 views

How to make new certificate recognised?

We have a large number of Mac Minis that are running a piece of software that we have developed and have been distributed to various clients. We recently updated our code signing certificate as the ...
3
votes
2answers
708 views

Installing mc (midnight commander) without root access?

How do I do that? The normal installers (with .pkg files) ask for a root password. It is possible to run normal mac software without root access, but how do I run and install this shell software?
3
votes
1answer
2k views

Permission of external disk under Mac OS

I plug an external disk to the laptop whose system is Mac OS, but I can't create files/folders, or rename files in the disk... The Sharing & Permissions is You can only read. Does anyone know how ...
3
votes
5answers
6k 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
2answers
586 views

Permissions issues with shared folder

OK, I'm a certified Apple fan-boy but there are at least a dozen (or more) things that just REALLY annoy me with Apple. One of the big ones is multiple users using the same Mac. For example, I have ...
3
votes
5answers
2k views

Can't install Homebrew on Mac OS X Lion

I followed the simple instructions on Homebrew's homepage: Paste this at a terminal prompt: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" But I get the following permission ...
3
votes
1answer
72 views

Gray folder with circle next to it

I've got the strangest problem with some of my folders on an external drive. They folders in the root of the drive show up, but they are grayed out and I can't click them. However if I change viewing ...