Score:0

Deny Access to Folder

cl flag

I am running 20.04 LTS. I am trying to deny a user access to a folder. In the terminal the user doesn't have permission, but in the GUI it prompts for admin credentials. Is there a way to stop it from prompting for credentials, the GVFSD-Admin, and just deny them permission?

waltinator avatar
it flag
It's a "convenience". On the command line, a failing `cat /etc/shadow` would be followed by `sudo !!`. Nautilus ("the GUI") does this automatically. As long as the `$USER` isn't in the `sudo` group, access will be denied.
Andrew avatar
cl flag
Is there a way to prevent a user with Sudo from being prompted for a password to the folder?
waltinator avatar
it flag
Probably not, but this is a second Qusetion asked as a Comment. Please read https://askubuntu.com/help/how-to-ask and https://askubuntu.com/help/formatting . Take the [tour].
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.