2022 Developer Survey is open! Take survey.

Questions tagged [permissions]

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

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

Limiting file acess only though program

In our system, we have two users "admin" and "customer", customer is part of group customers. We need customer to only be able to execute certain programs which we've decided he's ...
user avatar
0 votes
1 answer
15 views

How to use custom commands to paste into system directory

Using thunar as my file manager. Sometimes I want to paste things in the directories that I don't own. Now, I know that I can use the terminal to make a new window with elevated privilages with sudo ...
user avatar
0 votes
0 answers
26 views

How to grant permanent remote desktop access to TeamViewer

I use TeamViewer to remote access my computer which is running Ubuntu 22.04. I set up easy access and assigned the computer to my account and granted full access, but when i am trying to connect to ...
user avatar
  • 1
0 votes
0 answers
13 views

Why do I see this when installing pkgs "/usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied"

With this installation: aptitude install qttools5-dev libqt5svg5-dev qt5-image-formats-plugins libexiv2-dev libraw-dev And the last several this week I see this message when its done: [...] Processing ...
user avatar
0 votes
0 answers
16 views

Insuficient permissions to mount USB

So I recently upgraded from 10.21 to 04.22. It's been a while but I plugged in a good, working USB memory stick to copy files out. I can see it in Files, but I'm now unable to access the contents of ...
user avatar
0 votes
0 answers
11 views

PermissionError: [Errno 13] Permission denied: '/home/vova/.local/lib/python3.8/site-packages/buildozer/__init__.py'

I can't compile my project, here is my code Traceback (most recent call last): File "/home/vova/.local/bin/buildozer", line 5, in <module> from buildozer.scripts.client import ...
user avatar
0 votes
0 answers
21 views

chmod setting using find command not working

root@VM01:~# find /var/log -type f | xargs chmod g-wx,o-rwx chmod: cannot access '/var/log/journal/11a7df635f034e01b3405209ca9f4260/system.journal': No such file or directory it is working without ...
user avatar
  • 101
0 votes
0 answers
36 views

yt-dlp Permission denied error

Because of slow speed on youtube-dl and after reading this discussion I am trying to use yt-dlp (current version : 2021.12.27). But when I run yt-dlp https://youtu.be/qIX1BhvUMJ0 I am getting error. ...
user avatar
0 votes
1 answer
39 views

How to stop ubuntu from prompting for confirmation for remote desktop

I was trying to setup a remote desktop solution for an Ubuntu virtual machine running version 22.04 LTS, installed on a Mac Mini that I now use as a home server. However, after I installed TeamViewer ...
user avatar
  • 3
0 votes
0 answers
17 views

how to systemd mount nfs share

I mounted a nfs share using systemd and it all works but only for the root user. How can I mount using systemd that the mountpoint can be accessed by all users and is also usable by a docker container?...
user avatar
  • 101
0 votes
1 answer
18 views

Apache Video Stream Error

Making video stream website(localhost) But Problem is not working My html code (test.html) <video> <source src="/home/$user/Documents/video/test.mp4" type="video/MP4&...
user avatar
0 votes
1 answer
43 views

Why does sudo su fail to execute? [closed]

I keep getting this error when I type sudo su su: failed to execute /bin/bash/: Not a directory Pls any idea why I'm getting this error?
user avatar
0 votes
0 answers
12 views

Permisson denied when I install Open MPI on Linux Server

I'm installing OpenMPI 3.0.6 as instructed in: https://www.youtube.com/watch?v=E-fD6A8rFZk. But when I used: myaccount@myserver:~/CodePy/openmpi-3.0.6/build$ make all install there was an error about ...
user avatar
  • 1
0 votes
0 answers
37 views

Issue with group permissions when dowloading files from browser on Ubuntu 22.04

Summary: I cannot download files in folders I have group permissions, but not ownership, when I download from two different browsers. The system is an Ubuntu 22.04 desktop. This looks like a bug. ...
user avatar
0 votes
0 answers
15 views

hard to manage the desired premission [closed]

im new just a regular user of POP OS, i have a problem, when i try to create website using xampp, i already set the premission from htdocs so i can create my files there. and the problem is when i ...
user avatar
  • 1
0 votes
0 answers
18 views

ssh multiple users key and password

I have set up my sshd to require both the key and a password from a ssh client, this works fine for my main root account. I tried to make a separate account that does not have root access, the key ...
user avatar
  • 1
0 votes
0 answers
53 views

Ubuntu 22.04: Firefox unable to load module

Firefox is unable to load module I've been trying to setup a smartcard reading device, and I've gotten stuck twice on the same place. When it comes to configuring the Security Device on Firefox, I can'...
user avatar
  • 1
0 votes
0 answers
17 views

Give permissons for subfolders Samba

I opened a shared folder called file sharing on my Samba file transfer server and it should have 2 different subfolders in it. FileSharing/CommonArea FileSharing/PrivateArea Everyone will be able to ...
user avatar
  • 1
0 votes
0 answers
6 views

How to select a different user to authenticate Livepatch with?

I am an IT Admin and recently set up an Ubuntu 18.04 laptop for one of my users. As apart of the process, I create a local admin account to set things up and join the computer to our Active Directory ...
user avatar
  • 3
0 votes
0 answers
15 views

Add appimage to favourite apps

I'm trying to add unityhub to my favorites. I have created my .desktop file as follows: #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/home/garrett/Unity/Hub/...
user avatar
0 votes
0 answers
25 views

User in sudo group can't use sudo in Ubuntu 20.04

I'm currently facing a problem when I use my sudo permission. I understand somebody faced this problem before, e.g this question, and followed some steps to resolve but unsuccessful. FYI, before I can ...
user avatar
  • 191
0 votes
0 answers
41 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. ...
user avatar
0 votes
0 answers
30 views

nextcloud error after upgrading to ubuntu 22.04

I had Ubuntu 21.10 and installed next cloud. It worked without problem. A few days ago I upgraded Ubuntu to 22.04, and now get an error dialog (every 30s) that NextCloud can't write the log file in ...
user avatar
  • 622
1 vote
0 answers
17 views

I should set fsck manually every time my pc boot

I just messed up by Ubuntu permissions. I don't know which of commands I used is the problem:( after I see luck sign on all of the folder I have in my home restart my system and then just see grub ...
user avatar
  • 11
0 votes
1 answer
19 views

USB problems in changing ownership

I am formatting an USB and no matter what I can not change the owner from ROOT to anything else, the permissions for the files are also set in some random way that I can not change. I have formatted ...
user avatar
0 votes
1 answer
18 views

I am receiving an error when trying to set up XAMPP with Kubuntu 20.04

I am using Kubuntu 20.04 on my laptop. I have installed XAMPP and can get it to run. I am able to open the dashboard and find the how to page. So I know that it is installed. I am trying make it so ...
user avatar
  • 81
2 votes
0 answers
42 views

WSL: how do I set the group for a tty device

I am running usbipd on windows 11 to enable USB devices to attach to WSL. This works. I can run my serial application as root and it works fine. I would rather not run my application as root. My user ...
user avatar
  • 21
0 votes
1 answer
261 views

Ubuntu 22.04 Samba Server / User Cant login / windows pc cant access

First of all, sorry for my poor English. I have few questions for Samba on Ubuntu I just new noob in Linux system, my new company wanted me to upgrade our service team file server from Debian Bullseye ...
user avatar
0 votes
0 answers
14 views

Can Not Open Directory and File

I would like to send my error in ubuntu GUI. I can see directory and folder size but I can not open any folder. I have NAS and attach it. Could not scan folder "/Boot/efi". [Could not detect ...
user avatar
0 votes
1 answer
19 views

Getting error while executing PowerShell cmdlet on ubuntu machine

I was currently running PowerShell on ubuntu machine with the help of VS code by importing packages. The commands which I used are: sudo apt update; sudo apt-get install libunwind8; wget https://...
user avatar
  • 1
0 votes
0 answers
52 views

How do I permanently change permissions for /dev/ttyS0 on Ubuntu 22.04?

I'm running a Ubuntu 22.04 and i'm trying to read a /dev/ttyS0 serial port. If i execute the following command, i can read it without problems: chmod 777 /dev/ttyS0 But after a reboot, the ...
user avatar
0 votes
2 answers
25 views

login impossible after the modification of the group for the folder /etc

Due to some permission purposes I have changed the group of all folders in /etc. Now I can't log in any more. Is there a way to go back. (I'm using ubuntu 20.04 on a VM) Many thanks in advance.
user avatar
0 votes
1 answer
27 views

GUI application haven't enough permissions to open /opt

I logged to ubuntu (22.04) in with an admin my_user. Made chown to my_user for /opt, checked from folder explorer my_user is able to read/write to /opt. Installed a GUI application (postman) under ...
user avatar
  • 101
0 votes
0 answers
33 views

Permission denied when trying to do any operation on folder

I am getting permission denied every time I try to delete a file, do a git stash or just try to do any operation in vs code so my question is, is there any way to get what is holding up a file/...
user avatar
0 votes
1 answer
31 views

run ip commands without sudo

I am currently writing something that utilizes a usb CAN interface to communicate with a CAN bus. If I switch users to root, the program runs just fine, however, I want to run the program as my local ...
user avatar
  • 1
0 votes
0 answers
12 views

How do I add permission for an executable file in a samba share?

How do I add permission for an executable file when there is no permission in samba? [share] path = /mnt/drive valid users = akp snp read only = yes executable = yes Is it ok to put executable ...
user avatar
0 votes
1 answer
33 views

Get back sudo permission after accidentally commented all lines in file /etc/sudoers.d/username

I'm having an issue on a Ubuntu 20.04 server. I accidentally commented out all lines in /etc/sudoers.d/username after reading this thread: https://superuser.com/a/1311042 because I recently noticed ...
user avatar
  • 670
0 votes
0 answers
28 views

While trying to shut down laptop, it is not shutting down even after pressing power button and shows error message

When I am trying to shutdown my laptop, it is not taking any coommand and after pressing power off button. The following things are displayed on my screen: [FAILED] Failed to start Show Plymouth Power ...
user avatar
0 votes
0 answers
24 views

How to run snap installed programs as different users & groups?

Is there something where I can change the user/group id of Snap installed applications? I would like to secure what folders/files they have access to on my machine. Similar to sudo -H -u "$USER&...
user avatar
  • 31
1 vote
1 answer
87 views

How to install firefox from snap, when my /tmp is symlinked to another place?

Upgraded my desktop to ubuntu jammy, and this is forcing me to use firefox from snaps. The problem - snap install firefox fails with: error: cannot perform the following tasks: - Run configure hook of ...
user avatar
  • 113
0 votes
0 answers
14 views

Usb drive showing corrupted files after moving to a folder in same directory

I was trying to create a zipped folder of all folders in my USB stick. For that I created a folder named 'All' inside the USB folder (mounted under /dev/sdb1/) and used this command: mv !(All) ./All/. ...
user avatar
  • 101
0 votes
0 answers
11 views

Can’t power off or restart ubuntu when logged off

Sometimes when I get logged off, there is no option to restart or power off my computer. Only the suspend option is available. When I’m logged in there is no such problem. How can I change it?
user avatar
0 votes
0 answers
13 views

Change Udisk mount point default permisions

Need ha way to change the default permisions of a mount partition with udisk2. I have this scrip who mount various partitions, it runs as root user. udisksctl mount -b /dev/disk/by-partuuid/...
user avatar
0 votes
1 answer
27 views

How do I access exfat files on Ubuntu 20.04 with missing permissions

When I manually mount or have caja automount an external usb hdd I can only see limited files/directories. $ sudo mount -t exfat -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,...
user avatar
0 votes
1 answer
34 views

Cannot write files

Someone else (who is not available) set up an Ubuntu server. It is hosting a web server (possibly Apache). I am not able to write new versions of the web pages. I logged in as root and went to one ...
user avatar
0 votes
0 answers
47 views

"Permission denied" when accessing group file

It is easy to access group files on 20.04. However, I just upgraded to 22.04 and I cannot access a group file. Is this a bug or a "feature"? Script file located in /home/student directory: -...
user avatar
0 votes
0 answers
22 views

resolve problems in chaning User ID and group ID

I changed my user ID from some number 240xxx to 1001, but with some flaws: According to this method: https://askubuntu.com/a/167400/620643 I made some changes to the procedure in the above link: I ...
user avatar
  • 233
0 votes
0 answers
20 views

Files created with "sudo" only are accessible by user

I have a sudo user, and whenever I use sudo to create, move, or copy a file to any destination (even user's home dir) the file is only accessible by root with the following permission: -rw------- 1 ...
user avatar
0 votes
0 answers
48 views

Samba Windows ACLs How to set SeDiskOperatorPrivilege?

I'm working with this tutorial: Setting up a Share Using Windows ACLs and I am trying to set up Windows ACLs for a file share. The problem is that I am stuck on the step granting the ...
user avatar
1 vote
0 answers
65 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 ...
user avatar
  • 173

1
2 3 4 5
142