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

learn more… | top users | synonyms (1)

1
vote
1answer
203 views

Installing Adobe Reader without granting full administrative privileges

I agree with the OP of the question How can I open a .pkg file manually? that it is not so nice to grant administrative privileges to software that you do not trust "completely". The following ...
0
votes
1answer
28 views

Changing configurations for Jrnl

Greetings to the apple community. I'm a newbie to mac and the terminal and I have no previous exposure to Linux. I have only casually used computers. However I've been wanting to step up my game and ...
3
votes
1answer
690 views

What does sudo chmod 0755 /usr/local and sudo chgrp wheel /usr/local do?

I uninstalled Homebrew, manually removed the /usr/local contents. The following possible Homebrew files were not deleted: /usr/local/.DS_Store /usr/local/bin/ /usr/local/etc/ /usr/local/include/ /...
0
votes
0answers
16 views

bit lost wrt to permissions and users

So I am installing postgresql and it mostly works, kinda. I have a user postgres that was create by the postgres createuser commmand. I understand that the intent is a do-nothing user that can just ...
0
votes
1answer
94 views

Keychain: Beachball When Visualizing Password

I can use the passwords in the keychain when opening a program, but if I try to display the password in the keychain entry I get asked for the root password. When entering the root password the ...
0
votes
0answers
58 views

How can I make all files created in a shared directory inherit the permissions and ownership(If possible) of the directory it was created in?

Is there a way to set inherited permissions automatically on shared files, so everyone can work off the same shared directories? I've spent hours searching for solutions and talking with Apple support ...
3
votes
2answers
155 views

Accidentally changed owner of /var system folder recursively to myself

Long story short, accidentally I ran sudo chown -R myusername /var/ and now my mac won't boot anymore (after entering user password for hdd decryption loading bar is slowly filled and after it gets ...
1
vote
2answers
45 views

How do I remove multiple owners from a file/folder?

While trying to set up MAMP/PHPStorm, I CHOWNed the OWNER of my Sites folder to _www from myUser. Since this did not resolve the problem I was experiencing, I attempted to CHOWN myUser /Users/myUser/...
0
votes
1answer
76 views

Permissions errors thrown, but permissions appear to be correct

On my HD, I have a bunch of files that I've generated via Python scripts (or otherwise). When I run "open foo.png" from terminal (or via finder), I get a popup that says The file “foo.png” ...
1
vote
1answer
47 views

Safe to change permissions/ACLs for `~/.ssh/known_hosts`?

My initial problem: I am using git with SSH for authentication. Each time I push/pull, I get The authenticity of the host […] can’t be established, and after confirming to trust the host, I can ...
0
votes
0answers
75 views

Strange bug with Google Drive on Mac OS X?

It seems as though for random files after what seems to be a random amount of time, the file permissions are somehow changed. I have the app set up on a PC as well (running windows 7). This is ...
1
vote
1answer
274 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 ...
0
votes
1answer
58 views

/usr/bin Permission change

I am trying to set up Java on Xcode and it needs to access /usr/bin/java at some point. But I cannot get hold of this folder and I get this message: The folder “java” can’t be opened because you don’t ...
0
votes
0answers
198 views

Access denied on TimeMachine after formatting OSX

I formatted a Mac and installed the latest OSX. This Mac was using Time Machine with an external hard drive. Now, I am unable to access folders on that disc that were created before the formatting. ...
0
votes
1answer
397 views

Editing the /System/Library/LaunchDaemons/com.apple.pfctl.plist file

I need to vim the file found at /System/Library/LaunchDaemons/com.apple.pfctl.plist but the permissions will not allow it. Even when I run sudo vim /System/Library/LaunchDaemons/com.apple.pfctl.plist ...
0
votes
0answers
28 views

Separate, personal time machine backup locations for every user on OSX Server?

I have a Yosemite Server running and I have about four different backup disks, each for a different user. However, no matter what I do with permissions (setting the user's backup disk to be read/write ...
0
votes
0answers
56 views

Mac Pro 2007 running OS X Server 10.6.8 on its last legs, transfer data permission issue

Trying to copy files off a Mac Pro 2007 running server 10.6.8 that is dying. Thankfully I can still see it on the network, but won't let me copy all files due to permissions. I am throwing it away but ...
1
vote
3answers
1k views

Delete unnecessary files in /System/Library for Mac OS X

I happen to have some unused/obsolete python libraries in System directory, especially in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, the issue is that I can't delete ...
1
vote
1answer
397 views

Operation not permitted “sudo ditto -v to folder /usr/bin”

I'm trying to copy an exec file from my downloads folder to /usr/bin/ using sudo ditto -v sweep /usr/bin/sweep, but the command always fails in Terminal. I even tried to manually drag and drop it but ...
3
votes
1answer
1k views

Configure sandbox permissions

While trying to modify a property list I was rather surprised to receive the following error sh-3.2# cp com.apple.mDNSResponder.plist com.apple.mDSNResponder.plist.backup cp: com.apple.mDSNResponder....
2
votes
0answers
320 views

Cannot open/save files on El Capitan. Is this a permissions problem?

I have some issues with my file system on my MacBook; I am running OS X El Capitan with an SSD. For instance, if I make a screenshot, save the file on my desktop, and then immediately try to open the ...
1
vote
1answer
2k views

Cannot change permissions on com.apple.Boot.plist

I am trying to set the permissions on the Boot.plist file (Located in /Library/Preferences/SystemConfiguration) and it won't let me. I have clicked the lock and entered my password in Finder, and when ...
1
vote
0answers
220 views

After update to El Capitan, can't write to my home dir?

I did a hard drive wipe and clean reinstall for OS X 10.11 El Capitan. I now get some permission errors about my home directory. Here's an example, after running the program psql, which is the ...
2
votes
0answers
4k views

Why is SpotlightNetHelp denied file-read-data for root?

I'm getting many of these two similar errors on my console. 10/21/15 11:06:29.737 AM sandboxd[140]: ([368]) SpotlightNetHelp(368) deny file-read-data / 10/21/15 11:07:11.000 AM kernel[0]: ...
0
votes
0answers
80 views

How to set fmask, dmask or umask on OS X?

I want external drives mounted with specified permissions. I know that fmask, dmask and umask in fstab do this trick. I added this line to /etc/fstab: LABEL=D2-HT250 none msdos rw,auto,fmask=...
1
vote
1answer
3k views

Restricted files on El Capitan? [duplicate]

So I wanted to hide the Finder icon on my Dock. According to this answer - How can I remove the Finder icon from my Dock? I am suppose to edit DockMenus.plist file. When I tried I had no permission ...
1
vote
1answer
289 views

This item will be deleted immediately. You can’t undo this action

I have a MacBook Pro which has a SSD and a hard drive. Here SSD hosts the operating system and HDD stores some files (pic., doc., etc). 1 week ago I reset my system and installed OS X El Capitan. ...
3
votes
0answers
106 views

permissions keep changing in git repository, anyone can tell me why?

This started happening about 2-3 weeks ago. I'm on Mac OS X Yosemite - 10.10.5 I have a git repository for a pretty big project ( there are three developers on the project), and every now and then ...
3
votes
2answers
509 views

Can apps access my camera without telling me?

Suppose I give an app permission to access my camera (and/or microphone) to take a picture. After I take the picture, can the app access my camera without prompting me? I thought of this while using ...
1
vote
0answers
109 views

Fixing multiple Users permissions

In a classroom environment after a month without issues all of the sudden everyone is getting locked out of their folders, including my local admin user. What works is logging into each user, ...
1
vote
0answers
207 views

Yosemite 10.10.5 umask issue

I'm having issues with setting the default umask on our Macs for users. I run the following the commands to set the default perms to 775: sudo launchctl config user umask 002 sudo launchctl config ...
1
vote
1answer
722 views

root permissions [duplicate]

After I installed el Capitan, Little Snitch started complaining about gamed trying to phone home. Research in the net revealed various suggestions, including logging out from the Game Centre using ...
0
votes
1answer
61 views

Operation not permitted turning off airplay mirroring

I'm running the command sudo chmod 000 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent Because airplay mirroring is messing with one of my programs, but it tells me ...
0
votes
0answers
68 views

Twitter Revoke 3rd-Party Permissions from iPhone & iPad iOS9

I know similar questions have been asked, but I couldn't find an answer to mine. Is there any way to control Twitter permissions to third-party access from an iPhone / iPad? I've tried to do it ...
0
votes
1answer
85 views

How do I access my old files from an old Macbook HDD with Lubuntu?

I wasn't sure if I should put this on the Apple or Linux stack exchange but here's my problem. So my old Macbook died a while back and I realized that it might have had some important information. My ...
1
vote
1answer
30 views

Permission Denied for apropos command

I'm trying to list the contents of the whole apropos (makewhatis) database with the following command but I keep getting Permission denied. sudo -s apropos . > touch thedatabase -bash: touch: ...
3
votes
1answer
2k views

Permission needed to change icons of native Apple apps

Okay so here's my problem. I want to change the icons of the Dashboard, Launcher, Quicktime, Notes, Mail etc. But when I paste my icon to the top left mini icon in the preview window (on the Get Info ...
2
votes
2answers
4k 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 ...
64
votes
10answers
60k 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/...
0
votes
1answer
587 views

how to fix permission on default apps in el capitan

Tr Trouble in permission How fix it? permission in group wheel = read only full permission = only system group
2
votes
1answer
75 views

Concerned I may have accidentally dropped malware (or something) onto my system

First time poster in this part of Stack Exchange - apologies I have posted in the wrong section. In short I have an iMac running 10.8. Most of the time I quite happily get about my business but about ...
9
votes
1answer
21k 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 ...
0
votes
0answers
119 views

Unexpected Finder message “This item will be deleted immediately”

I made a second user account (test, admin privs) and set the permissions of my second hard drive so that this account could read & write. The only thing I changed was the first line and then ...
0
votes
0answers
187 views

Shared Folder - File Permissions Never Right & Files hidden for some users

I'll go ahead and clarify how I set this up. Skip down to "Issues at Hand" if you want what the problems are. Current Setup: We currently have 10 mac computers, 4 of which are mac mini's and 6 are ...
1
vote
1answer
128 views

How do I check the effective file permissions/accessibilty for/of a given file and a given user?

How do I check the effective file permissions (including ACLs)/accessibility for/of a given file and a given user (including service/system accounts) without checking the whole path manually? Example:...
0
votes
0answers
26 views

What does file locking do, these days?

I'm publishing some files on Dropbox, sharing drafts for public review. Once I get to the final official revision, I'd like to lock it to avoid inadvertent changes. I'm using Pages to write and ...
0
votes
1answer
34 views

Trouble moving tons of files from OS X server attached RAID to NAS

I am trying to move many thousands of files to a Synology NAS. Thanks to excellent posts here and superuser, I have been using rsync a lot. But in this case, I'm getting a very high failure rate due ...
0
votes
0answers
79 views

Repair Disk failed

I try to repair a disk because my Mac still is on grey screen during start. I created a USB Yosemite bootable and I can use Terminal. I tried with: diskutil repairvolume disk0s2 But I get the ...
1
vote
1answer
63 views

Restore permissions on /usr?

Through a series of unfortunate events I managed to run: sudo chown -R `whoami`:admin /usr on my 10.10.5 machine. This has left it in an awkward state. I can no longer sudo commands as sudo is no ...
0
votes
0answers
20 views

What kind of file require the executable flag

I'm aware that the mach-o exectuable in BUNDLE.*/*/MacOS/* needs the +x flag to work, same goes for the mach-o cli executables and *.dylib. Then most scripts need it to run. But are there any ...