Questions tagged [permission]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

AppleScript Error sh: /Users/joco/bin/open_file_in_idea: Operation not permitted

I try to execute an one line AppleScript inside OmniGraffle. But I get the following error: AppleScript Error sh: /Users/joco/bin/open_file_in_idea: Operationnot permitted I also attached ...
1
vote
1answer
16 views

Is scrolling considered a “keyboard input”?

Context: I installed an app called "Scroll Reverser" which will allow me to use the natural scrolling setting for my trackpad and the opposite scrolling setting for my mouse scroll wheel. The ...
0
votes
2answers
28 views

Can't move files in root user desktop

I logged in as the root user so that I could pull all the files from all users into one folder to then transfer to an external hard drive. I had no problem moving files to the root user desktop but ...
0
votes
1answer
17 views

Allow Shell Script to Access Protected Library Folders (launchd)

I'm trying a bash script that works fine when run from the command line (Terminal). Apart from the shebang, it just has: ls -alt /Users/<username>/Libary/Mail/V6/.../Lists.mbox (Using ls as a ...
0
votes
0answers
34 views

.command The file could not be executed because you do not have appropriate access privileges

I am trying to execute a terminal command by just double clicking a .command file. But I am getting this error. The file “myfile.command” could not be executed because you do not have appropriate ...
0
votes
0answers
24 views

“The operation can’t be completed because you don’t have permission to access some of the items.” when moving OneDrive files

OneDrive has a feature called "Files On-Demand", I'm playing arround with it and trying to figure out how it works. It looks like OneDrive uses sparse files as placeholders before the really file is ...
0
votes
0answers
26 views

Permission problem on Mojave and High Sierra

I received an error saying "The folder can't be opened because you don't have permission to see it's content." This is on an external drive and it's only happening to one specific folder on that ...
2
votes
2answers
38 views

How can I bulk-change the folder permissions on macOS?

I've been using an app called JDisk report which pinpoints the biggest space hogs on my drive. I've been trying to run it on the family iMac but the results are quite inaccurate because the only thing ...
0
votes
1answer
33 views

iTunes cannot backup into Time Capsule

I followed this guide to make iTunes store my iPhone backups on my Time Capsule drive, which has free space to spare instead of my MacBook, which is low. However, when I run a backup now, I will get ...
2
votes
1answer
33 views

Protecting a user home folder using chmod and umask

I want to create a standard (non-administrator) user on my Mac, and ensure that they cannot access my files. Does the following make sense, and will there be any adverse consequences? sudo ...
1
vote
2answers
41 views

How do I delete files when I can only boot into Safe (single-user) mode

I have a 9 year old MacBook Pro that has died. I want to recycle it, but I want to wipe any sensitive and personal data before it leaves my hands. I am only able to boot into safe (single user) mode ...
0
votes
0answers
16 views

OSX Can't remove microphone permission for one app “There was an error in security & privacy preferences”

I need to remove microphone permission for one app. But when I click to untick I get sent back to System Preferences with a pop up "There was an error in security & privacy preferences". All other ...
0
votes
0answers
11 views

How to fix built-in Apache webserver read/write permission properly

There are hundreds of questions about it, but I'm still stuck with this problem and looking for a proper solution. The newest solution (mine) fix just the reading issues, it doesn't solve the writing ...
0
votes
1answer
41 views

Prevent files in a folder from being moved?

On a Mac, is there a way to prevent files in a folder X from being moved by any means (by the Comd+C then Comd+Opt+V on Finder, or by mv command on the command line, or by other apps etc.) to another ...
1
vote
0answers
19 views

Sharing and Permissions - always shows “Fetching” instead of the user name

I am a basic Mac user, so please bear with me. I have a WD MyCloud EX2 to store large files and videos - over 10000 files, so searching is critical for me. The WD NAS, the iMac are connected via ...
0
votes
1answer
30 views

Unexpected limitations on “Updates” folder?

Apple sent me 4GB of updates to go to macos 10.14.5 this morning. As I have several systems needing this update, I thought I would try to save the contents of the /Library/Updates folder to use rather ...
1
vote
1answer
103 views

Fix permissions in Apache

I'm trying to use the built-in Apache server in MacOS mojave. In my browser, accessing http://localhost/~myusername/mypage.html (in case of user dir) or http://localhost/mypage.html (in case of ...
0
votes
0answers
29 views

Request screen sharing always by requesting permission

Usually, when I request a screen sharing from my colleagues, I get the dialog window asking whether I want to ask for permission or specify a registered account. I wonder if there's a way to bypass ...
1
vote
1answer
48 views

How do remove administrative rights if the checkbox is disabled in Users&Groups

By default in the second hand MacbookPro, I have a user called admin. Then I created another user, let me call it myadmin for example. Now, I want to remove the admin rights from the user named admin. ...
0
votes
0answers
31 views

tmux + iTerm2 - no permission to edit crontab

I am running macOS 10.14.5, iTerm2 build 3.2.8, tmux 2.9a (tmux -V). I've granted both iTerm2.app and Terminal.app (file permission: .r-xr-xr-x) Full Disk Access (FDP) in Sys prefs > Security and ...
5
votes
2answers
321 views

How can Charles Proxy change settings without admin rights after first time?

Charles Proxy has a feature that it can automatically configure your system proxy settings when it starts. Every programmatic way I've found of changing these settings (e.g. networksetup) requires ...
0
votes
0answers
46 views

Has Apple implemented some automatic form of “fix permissions”?

I've put things in /Users/Shared that I want my wife and I to have full access to, no matter which of us creates/reads/edits. I've tried to ensure this by setting group to rwx. Now, we're both in ...
2
votes
1answer
19 views

How to create installable app with setuid bit set owned by root

I have inherited a codebase that needs updating, but I don't have the build scripts that created the final pkg file. The code needs to access a connected USB device (treated as a drive) to read and ...
0
votes
1answer
39 views

Can't edit .plist in /System

I would like to edit the following plist file using XCode, so that I can change some screensaver effects. /System/Library/PrivateFrameworks/Slideshows.framework/Versions/A/Resources/Content/...
3
votes
1answer
73 views

iPhone: Game app able to access Photos without permission

I have downloaded a game from the App Store onto my iPhone. My understanding is that apps need to ask for, and be granted or denied, permission to access iCloud, Photo gallery etc. But in this game, ...
0
votes
0answers
20 views

Change permission of external hfs drive

Two of my external HFS+ drives changed permission after I did something wrong while my iMac (Sierra) was connected to an old MacPro2.1 (Snow Leopard) and I shared all the disks on network. So I lost ...
3
votes
0answers
23 views

OSX File permissions and inheritance when copying files

OSX: High Sierra I have 2 drives mounted. The drive I am copying files from has permissions of 700 and when I copy them to the second mount (NFS) I want them to have 755. How can I get inheritance to ...
1
vote
0answers
25 views

“sudoers is owned by uid 501, should be uid 0” message, but sudo works fine [duplicate]

Running Mojave on a MBP 2012 13" and I get that message every time I use the sudo command. It isn't preventing me to use sudo, but I get the feeling it'll bite me in the butt at some point in time, ...
0
votes
1answer
39 views

Cannot access my Documents

I updated my iMac to 10.14.5 and seem to have some problems. The folder “Documents” can’t be opened because you don’t have permission to see its contents. The permissions look OK (not sure what ...
1
vote
0answers
21 views

Change permissions of a folder with cronjob [duplicate]

I have a scanner that can "save to folder" only with FTP or CIFS protocols. I managed to set it up with CIFS to save the file to a shared folder on a Mac, however although the folder has read/write ...
3
votes
2answers
276 views

Allow non-admin user to sudo without access to admin account data

I need to lend my MBP to a friend for a few days while their laptop is out for repair. I would like to not have to erase my account to do that. I have set up another User Account for them without ...
1
vote
1answer
72 views

Screwed up administrative name on sudo when trying to change usernames

Disclaimer: I am NOT at all fluent in coding or its jargon, so bear with me. I recently downloaded a software and wanted to remove it. I tried to do it via sudo on the MacBook terminal. I was trying ...
1
vote
2answers
83 views

Cannot see files from Finder but I can from Terminal

I have one folder where ExifRenamer (some tool for renaming images by date created) put my renamed pictures, but I cannot see them from Finder. I can see the files with ls -la but I cannot see it from ...
1
vote
0answers
51 views

Access Safari history in `~/Library/` bypassing SIP [duplicate]

I have a Python script which reads the Safari browser history by opening ~/Library/Safari/History.db and parsing the SQLite database. Unfortunately, on some Macs, the System Integrity Protection ...
0
votes
0answers
33 views

What process is changing my file permissions?

Every once in a while, I notice that something must have recursively changed all my files' permissions in my home directory to go-rx — so I do: $ find . -type f -exec chmod go+r {} \; $ find . -type ...
0
votes
0answers
20 views

Moved home-folder to external drive - after booting up Apps sometimes won't load

Bid on an 2018 Mac Mini on Ebay, when I realized that this impulse buy is an error (128GB internal drive) it was already too late. Solved that problem by moving my Home-Folder to an external ...
5
votes
1answer
2k views

What is identityservicesd?

*Just a preface I do not have anything noticeably wrong with my computer (MacBook Pro (Retina, 15-inch, Mid 2015), Mojave 10.14.4), and I was learning as I went along. In the process of cleaning out ...
1
vote
1answer
54 views

Permission for drive

I've installed Windows beside macOS. My MacBook now has two drives. Drive "A" and Drive "B". Drive "A" has macOS boot and Drive "B" Windows 7. The problem now is that I can't modify drive A when ...
2
votes
1answer
19 views

Connect through Finder with server, save permissions? [duplicate]

I'm trying to access my FTP server through Finder, I can open the server and access the files. But when I try to change a .css file or something and save I then get an error stating that I don't have ...
2
votes
1answer
261 views

Why does the calendar app require access to my emails?

I recently ran an update to Mojave 10.14.4, and following this update, I was prompted by "Internet Accounts" to re-authorise access to my Google account. Notice that I only wish to syncrhonise ...
2
votes
2answers
654 views

Admin password not working for sudo?

I've been trying to run this command in the terminal: $ sudo rm -ri ~/.Trash However after being prompted to type in my password (which I believe it needs to be the admin's password) and after ...
0
votes
1answer
111 views

Why does chunkwm fail with “Permission denied” error for .chunkwmrc

ashleyharvey@Themis:~$ ls -al .chunkwmrc -rw------- 2 ashleyharvey staff 4.7K Apr 4 22:24 .chunkwmrc ashleyharvey@Themis:~$ chunkwm /bin/bash: /Users/ashleyharvey/.chunkwmrc: Permission denied So, ...
0
votes
1answer
78 views

How can a script detect if it has access to some Security & Privacy parameters?

I've created a script which uninstalls an application I've created. However, as you may know, in macOS Mojave the system requests the user's permission to allow said script to control System Events. ...
0
votes
1answer
31 views

Allow find command to access my files

I'm trying to use the find command to find a file on my Mac. However, when I used the command I accidentally denied my Mac permission to search my various folders, including documents and photos. How ...
1
vote
1answer
308 views

How to fix Permission Denied error when starting up MongoDB

So I'm newbie to learning react and node and thought of building something based on MERN stack - I installed mongodb using npm install -g mongodb then it says its installed - then to create data ...
0
votes
0answers
19 views

Books.app not working, Generic icon

I updated to Mojave 10.14.4 last night and when I came back to work my Books.app has a generic icon and will not open. Executing the binary from terminal gives me the following Mar 28 14:01:11 MBP ...
1
vote
1answer
25 views

App cannot create folder when needed, needs permissions

I'm trying to use Unity to export the app I'm creating. It gets about halfway through the process before showing the message: "Creating directory. Creating directory Library/ScriptAssemblies failed. ...
0
votes
2answers
2k views

The command Line would not let me repair my disk permission on Mac (Mojave)

Im on macOS Mojave on my Mac. I deleted my admin and made my user to admin. Now, I have problems with permission of files in the system. Yosemite was able to repair disk permissions by pressing a ...
1
vote
1answer
57 views

How can I change the ownership of the unwritable directories for Homebrew?

I had admin account before and I deleted the admin and made the user as admin because it was bit of pain in neck. This is now the admin user called zuhairhallak. Before, installing Homebrew, it was ...
0
votes
0answers
33 views

How to give myself permission to edit the locked hosts file on MacOS Mojave? [duplicate]

I am logged in with my admin account, which is my only account on this computer. I checked under preferences and it says "admin". I have located the file here: /private/etc/hosts When I go to ...