Questions tagged [permissions]

Short for "file system permissions" - access control based on user, group, or global access.

2,663 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
2k views

"this application is unconfined. It can access all personal files and system resources"

I just installed ubuntu 18.04 and I can't download any app from the store. Every time up to 15%, it'll stop with this sentence popping out. I appreciate any help!
beepretty's user avatar
  • 171
7 votes
0 answers
2k views

Add CAP_SYS_PTRACE for a user in LTS 16

I would like to be able to attach to a process with gdb. The process has my uid, but the executable file is set-gid. So, apparently, I'm learning about PAM. It's my understanding any process ...
James K. Lowden's user avatar
7 votes
1 answer
4k views

Run nmcli as unprivileged user

I wrote a Python program to switch WiFi connections via the Network Manager dbus interface, which (I believe) is basically equivalent to the nmcli command-line tool. The script (and nmcli) work ...
Luke's user avatar
  • 279
7 votes
0 answers
1k views

How do I allow a group to manage a systemd service using polkit?

I have a service (some-service) on my system that I'd like to allow members of group managers to control (start, stop, restart). I would also allow these users to use PolicyKit instead of sudo for ...
Kaz Wolfe's user avatar
  • 34.1k
6 votes
0 answers
1k views

Preserving file permissions between Ubuntu and WSL

As part of my workflow, I have a dual-boot system with Ubuntu 16.04 for development and Windows 10 for other work. I use WSL 1 for smaller linux tasks when I don't want to reboot into Ubuntu. As part ...
Dominic D's user avatar
6 votes
0 answers
6k views

Allow a regular user to mount VeraCrypt volume without admin privileges

A regular user is unable to mount a VeraCrypt volume without first authenticating with an administrator password. According to the original TrueCrypt documentation, the workaround is to give the user ...
slatica's user avatar
  • 75
6 votes
0 answers
4k views

Why is my hfs partition suddenly mounting read-only, with no way to alter it to read-write?

I am backing up my FreeNAS volume onto a partition of an external WD 4TB My Book, which uses the hfs filesystem and is mounted on my laptop running Ubuntu 16.04. Each time the drive is mounted, all ...
Jefferson Paul Jones's user avatar
6 votes
0 answers
3k views

File with strange permissions

I am trying to access an image file in my code, but my code is telling that it does not exist. However, listing the directory where the image is I can see it, but I got the following strange output ...
Madeyra's user avatar
  • 289
5 votes
2 answers
3k views

Can't login to Samba share with any user other than my own user

I've followed the usual steps for adding a new user to Samba: create new Linux user with useradd [user] set its password with passwd [user] set its Samba password with smbpasswd -a [user] But when I ...
Za-'s user avatar
  • 51
5 votes
0 answers
292 views

Why is update-notifier.desktop scanning /proc/3782/fd without permission?

Why is that, occasionally, update-notifier spits out a large number of "Permission denied" lines in journalctl? Dec 04 08:55:32 ML systemd[1]: NetworkManager-dispatcher.service: Succeeded. ...
James Bowery's user avatar
5 votes
1 answer
7k views

Getting error while running sudo commands, from /etc/sudo.conf file

I want to run commands in terminal with sudo and get in this error for running sudo commands: sudo su sudo: error in /etc/sudo.conf, line 16 while loading plugin "sudoers_audit" sudo: ...
BarzanHayati's user avatar
5 votes
0 answers
5k views

Using setfacl to give a user full permissions on a folder owned by root

How do I give a user to do whatever they please inside /var/www/myapp folder, which is owned by root, considering that I don't want to change the owner? I have setup TeamCity CI. It runs under user ...
JustAMartin's user avatar
5 votes
1 answer
3k views

How can I run dotnet on ubuntu without using sudo?

I've been trying to update the permissions so that I can run a command (specificially dotnet restore). I'm not sure if this issue is specific to running dotnet, or if it is more generic. I can run ...
fuzzi's user avatar
  • 191
5 votes
0 answers
4k views

org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.96'}): org.debian.apt.install-or-remove-packages

I'm using a Lenovo 100S Chromebook and I'm using a fresh install of Ubuntu 16.04 (Unity). I'm having a problem where I basically have no permissions for anything. Software Center, Software Updater. I ...
Tony's user avatar
  • 445
5 votes
0 answers
3k views

/var/run/user/1000 owned by root

I am running Ubuntu 14.04 and having an intermittent problem where /var/run/user/1000 is getting the wrong ownership. UID 1000 is my uid for a standard user, however for some reason the ownership of ...
johnmcd's user avatar
  • 101
5 votes
0 answers
1k views

How to write a policykit/polkit permission file to programmatically have access to a file in /usr/share

I'm writing an application that needs to read and write an existing file in /usr/share... If I understood well I need to use Polkit/PolicyKit to ask the system for a permission and ask the user to do ...
Name is carl's user avatar
5 votes
0 answers
4k views

fusermount: mount failed: Permission denied

I'm trying to use google-drive-ocamlfuse to mount my Google Drive to an Ubuntu 13.04 VM I own on remote sever so I can copy some very large project-related files to my work computer. I've been ...
Levi Campbell's user avatar
5 votes
1 answer
546 views

Does enabling ACLs have an effect on performance?

I'm looking at a web application that needs ACLs enabled. Are there any benchmarks or other documents to show what potential impact ACL does{n't} have when the file system is under heavy load? Also, ...
Bryan Agee's user avatar
  • 3,356
5 votes
1 answer
1k views

Why am I unable to edit a file on a windows share (cifs)?

I am mounting a Windows network drive to my Ubuntu machine and I am getting write permission errors when trying to edit a file. sudo mount -t cifs gives me //MEDIASERVER/A on /home/anon/Media/...
rjbogz's user avatar
  • 51
5 votes
1 answer
828 views

How do I mount USB drives as given user automatically?

How do I get my USB drive to auto-mount as owned by 'me' rather than by whomever is logged in to the computer screen at the time? Often I SSH into my computer while someone else is using it, and so ...
Mathew's user avatar
  • 531
5 votes
1 answer
5k views

allow wordpress to write to files

I have been having problems recently with an Ubuntu 16.04 x64 VPS when trying to get a web server up and running. I am using apache2 as the web server as I only really have experience in that - will ...
Josh Murray's user avatar
5 votes
1 answer
7k views

Configure vsftpd to chown uploaded files

I have vsftpd up and running on my Ubuntu server. This is a development server and I want to be able to FTP my code directly to the directory which Apache is serving out. As most of you know, www-...
user132770's user avatar
4 votes
1 answer
2k views

Can't unlock users settings 22.04

I am trying to unlock the users settings in Ubuntu 22.04. I want to change the user settings to enable auto login. At the top right corner there is an unlock button. Clinking on it does nothing. I ...
hans's user avatar
  • 51
4 votes
0 answers
793 views

Google (maybe the browser?) not recognizing USB webcam

First time here, thank you for all your wonderful work. I run (K)ubuntu 20.04 LTS, and am having a little trouble with my webcam. Cheese, fswebcam, vlc all recognize and start the device, but Google ...
tkbegemot's user avatar
4 votes
1 answer
1k views

tmp directory in $HOME with behavior like /tmp

TL;DR: How can I set up either via a bash command executed as user or a bash command executed only once as sudo a temporary directory in $HOME which has the same behavior as the global /tmp directory? ...
Vanessa's user avatar
  • 41
4 votes
0 answers
529 views

chattr doesn't work on /run/docker.sock

From my previous question I got a solution that worked that time: sudo chattr +i /run/docker.sock. But right now it doesn't work. I get chattr: operation not supported while reading flags on /run/...
sanyassh's user avatar
  • 157
4 votes
1 answer
8k views

Git push cannot write to object file - permission denied

I'm on a cloned repo and trying to push to my remote branch. Committing works just fine, however whenever I try to push I get this: error: unable to write file ./objects/foo/bar: Permission denied I ...
skrax's user avatar
  • 41
4 votes
0 answers
3k views

Cannot find Trash folder in Ubuntu 18.04

I have already asked here but nobody was able to respond or provide any answers. https://unix.stackexchange.com/questions/506687/cannot-find-trash-folder-ubuntu-18-04 I am running a preinstalled ...
Samuel J's user avatar
4 votes
1 answer
2k views

Deleted folder comes back

I am on ubuntu 18.04. I have a folder (self-created project for website), that is locked. Only root has access to create and delete. I did following on folder: sudo chmod 777 on folder to release ...
user avatar
4 votes
1 answer
111 views

How to hide format option from that menu

How to hide or put a password on formatting partitions to prevent other users from formatting my data accidentally
Mahmoud Hamed's user avatar
4 votes
1 answer
742 views

Need user permission for the directory after installing snap package

I am creating a snap package of the Dart language sdk. Here is the snapcraft.yaml name: dart-sdk version: 2.0.0 summary: Dart Language SDK description: This includes the Dart SDK confinement: ...
richalot's user avatar
4 votes
0 answers
1k views

Permissions for $HOME/.config for snap

I have inkscape installed as a snap (https://snapcraft.io/). I am trying to save a replacement for $HOME/.config/inkscape/templates/default.svg, but get an error that permission is denied. My home ...
Ralph's user avatar
  • 875
4 votes
1 answer
2k views

Mount Veracrypt volume without having adminstrative privileges

when I try to mount a volume in veracrypt with an non administrative user, veracrypt asks me for: . So how can I mount veracrypt volumes with an user having no administrative privileges? The ...
chresse's user avatar
  • 141
4 votes
1 answer
3k views

How do I share a NTFS partition over LAN?

I've set up samba and everything works whenever I share folders that are in my /home directory, but when I try sharing an entire NTFS partition I get access denied on my windows 10 machine. I've tried ...
user5672's user avatar
4 votes
0 answers
4k views

/var/spool/cron: chdir: Permission denied

I was using cron for a while on my Ubuntu workstation (16.04 LTS) $ uname -a Linux ubuntu 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux And ...
ryszard's user avatar
  • 141
4 votes
0 answers
845 views

After running clonezilla my external HDD is mounted read only

I've run clonezilla (didn't finish and just exit in the middle) and set my dest drive as my /dev/sdd1 2TB I've unmounted using sudo umount /home/partimag/ and now when I mount my external HDD it's ...
jcubic's user avatar
  • 916
4 votes
0 answers
751 views

installing python fails with permission denied (using sudo make install)

I tried to install Python 3.6 using this tutorial: https://www.programiz.com/python-programming#run-python-os on ubuntu 14.04. Running $ ./configure and $ make went fine. Running $ sudo make ...
very's user avatar
  • 41
4 votes
0 answers
1k views

Right permissions to .git directory on server

I am working on deployment of application on ubuntu trusty server. I am using git ssh and web-hooks(deploy-keys) to deploy the code on server after its pushed to the master from local repository,...
KillABug's user avatar
  • 151
4 votes
0 answers
2k views

How to run Python program installed system-wide through pip without root privileges?

I have two different Ubuntu computers that both has multiple user accounts. I wanted to try the latest version of the backup program Attic, so I used pip3 to install it—with success. However, I can’t ...
Leutra's user avatar
  • 41
4 votes
1 answer
642 views

Can I hide a partition in Nautilus for a specific user/group?

I'm trying to hide a partition form a specific group of users in Ubuntu 12.04. I have created a new rule in /etc/udev/rules.d/99-hide-disk.rules with KERNEL="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1" ...
iNulty's user avatar
  • 141
3 votes
0 answers
2k views

Evince complains about missing --filesystem=xdg-run/gvfsd privileges, how can I add those privileges

On 22.04, when using evince on the command line to add text annotations to a PDF and then save it, evince complains The peer-to-peer connection failed: Error while getting peer-to-peer dbus connection:...
Harald's user avatar
  • 1,180
3 votes
0 answers
598 views

Chromium can't save files to home subfolders

I experience a blocking problem : Chromium (snap install), Chrome (deb package), Firefox (ubuntu's pre-installed) and Telegram (snap) can't save files to custom subfolders in home directory. Ex. ...
M. Hardy's user avatar
3 votes
1 answer
1k views

mysql-workbench-community cannot connect though ssh

I'm having an issue connecting to a mysql server through a ssh tunel and the app crashes. I have enabled the ssh-keys in the snap permissions dialog but that does not seem to be helping. Everytime i ...
LetynSOFT's user avatar
  • 301
3 votes
0 answers
362 views

Where are Polkit actions documented?

How does one determine the name of a program (application) for Polkit? In this example (a file in /etc/polkit-1/localauthority/50-local.d/) [My Muon Permissions] Identity=unix-group:sudo Action=org....
HiTechHiTouch's user avatar
3 votes
2 answers
5k views

Mount Samba from command line as non-root, read/write, without fstab?

Well, I thought this would have been easier, but I simply cannot find whether what I want is doable. I want to mount a network Samba share from the command line in Ubuntu 20.04 (MATE) - preferably ...
sdbbs's user avatar
  • 1,498
3 votes
1 answer
1k views

Desktop file doesn't work

I'm trying to make a desktop file for vcvRack. I have the program and other files saved in ~/.Rack/. The program launches fine when I double click it or launch in from terminal using ./Rack. The file ~...
iHnR's user avatar
  • 301
3 votes
0 answers
3k views

systemd --user fails to start while complaining about permission in ubuntu server 20.04 inside openvz 7

Info about the system. # systemctl --version systemd 245 (245.4-4ubuntu3.13) +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +...
Sarim's user avatar
  • 131
3 votes
0 answers
3k views

Can't unlock certain GUI system settings + unusual authentication notifications on login and power off

I am running a recent upgrade to 20.04LTS. I am not using the Ubuntu on Wayland session as it won't recognise my login; I'm therefore logging into the Ubuntu session. Since the upgrade there are a ...
rothermere's user avatar
3 votes
0 answers
1k views

Change owner through graphical interface in standard Ubuntu (with Gnome Shell)

Users can be confronted with the need to change ownership of a drive. One obviously can use the terminal, but is there currently a supported way to change ownership using a graphical tool in Ubuntu ...
vanadium's user avatar
  • 88.1k
3 votes
0 answers
68 views

Can a regular user find out processes of another user (regular or superuser)

Researching through posts, I noticed that any user can query system to find out processes that belong to others. Wondering, if it is possible to restrict this ability i.e. a user can only find out ...
saidasa's user avatar
  • 31

1
2 3 4 5
54