Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sciuriware

macrumors 6502a
Original poster
Jan 4, 2014
753
164
Gelderland
I got 2 identical machines running Sonoma, connecting by remote mount by SMB.
One can mount a share on the other, the other can't.
Even worse: on 'the other', we have 2 accounts; 'her' account got a prompt in Terminal, allowed and it worked.
'his' account never got that prompt and can still not access the remote mount.
In System Settings there is nothing that might lead to allowing that access.
Anyone?
;JOOP!
 

Sciuriware

macrumors 6502a
Original poster
Jan 4, 2014
753
164
Gelderland
Potentially useful Apple documentation
Set up SMB file sharing on Mac https://support.apple.com/guide/mac-help/mh14107/mac
Connect your Mac to shared computers and servers https://support.apple.com/guide/mac-help/mchlp1140/mac
Set up file sharing on Mac https://support.apple.com/guide/mac-help/mh17131/
Interesting, but I had sharing running for many years.
Sonoma introduced the fact that file sharing does not 'survive' a reboot; but that's a matter of switching off and on.
The new computer has the access problem (for one user only, or so it seems).
;JOOP!
 

Sciuriware

macrumors 6502a
Original poster
Jan 4, 2014
753
164
Gelderland
Give your applications Full Disk Access.
Indeed, that works, but it is a kludgy solution; for the (short) time being I can live with that.
Thanks anyway.

Still, I hope that someone will come along with a permanent, safe solution.
My times as intermittent superuser are long, long ago ....
;JOOP!
 

Sciuriware

macrumors 6502a
Original poster
Jan 4, 2014
753
164
Gelderland
The app should request permission to access the share.
"User prompted by app - Files and folders
Note: Includes Desktop, Documents, Downloads, network volumes and removable volumes"
https://support.apple.com/guide/security/secddd1d86a6/web
Well .... the app is Terminal.app and it does not prompt at all (for network access in my own account).
And, there is no entry in Systems Settings for network access (like it used to be).
I still wonder how the user of that other account (yes, my wife) got a prompt [allow / deny].
;JOOP!
 

bogdanw

macrumors 603
Mar 10, 2009
6,099
3,010
The TCC database is known to be error-prone :)
https://forums.macrumors.com/threads/system-alerts-wont-go-away.2398083/post-32368986

You could remove Terminal from Full Disk Access and see if it still can access the share. If it does, that might have happened on the other account.

All TCC permissions for Terminal can be reset with:
Code:
tccutil reset All com.apple.Terminal
After that, ls ~/Desktop should ask for permission to access the Desktop folder, and so on.
 
  • Like
Reactions: Sciuriware

Sciuriware

macrumors 6502a
Original poster
Jan 4, 2014
753
164
Gelderland
The TCC database is known to be error-prone :)
https://forums.macrumors.com/threads/system-alerts-wont-go-away.2398083/post-32368986

You could remove Terminal from Full Disk Access and see if it still can access the share. If it does, that might have happened on the other account.

All TCC permissions for Terminal can be reset with:
Code:
tccutil reset All com.apple.Terminal
After that, ls ~/Desktop should ask for permission to access the Desktop folder, and so on.
Thanks, I'll give it a try tomorrow: gonna sleep now.
;JOOP!
 

Sciuriware

macrumors 6502a
Original poster
Jan 4, 2014
753
164
Gelderland
The TCC database is known to be error-prone :)
https://forums.macrumors.com/threads/system-alerts-wont-go-away.2398083/post-32368986

You could remove Terminal from Full Disk Access and see if it still can access the share. If it does, that might have happened on the other account.

All TCC permissions for Terminal can be reset with:
Code:
tccutil reset All com.apple.Terminal
After that, ls ~/Desktop should ask for permission to access the Desktop folder, and so on.
Thanks a lot, that was the perfect answer!
I do hope others will take notice of this matter.
;JOOP!
 
  • Like
Reactions: bogdanw
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.