Questions tagged [permissions]
Short for "file system permissions" - access control based on user, group, or global access.
7,324
questions
0
votes
0
answers
8
views
/etc files security (sudo)
On Ubuntu 22.04, is that possible to deny ALL /etc files modifications and grant ONLY specific file(s) running as sudo? ex:
sudo text-mode-editor-filtered-path /etc/hostname
If /etc/hostname absolute ...
0
votes
0
answers
14
views
Permission denied dpkg: error processing package python3.10-minimal (--configure) Docker UBUTNU 22.04
I have a host with ubuntu 22 and I have a docker container with ubuntu 22 to contain a web application, the application requires the imagick library, inside the container, being root, the installation ...
0
votes
0
answers
44
views
Accidentally gave my user root permissions while trying to set file permissions How to fix?
I copied my default config file to my ~/.config directory and then gave myself ownership of that file not realizing that it would give my user root permissions system wide without having to type my ...
-1
votes
0
answers
33
views
Sudo user without login [closed]
I have a main user with home folder encryption enabled. To avoid typing long phrase each time I want to have another user with sudo privilege and weak password.
In the terminal I would first switch ...
0
votes
0
answers
25
views
cannot cd into /etc/apt/sources.list.d
When I try To cd /etc/apt/sources.list.d/ I get
bash: cd: sources.list.d/: Permission denied
Furthermore I cannot sudo the command so I've tried sudo sh -c 'cd /etc/apt/sources.list.d'
But I get
...
0
votes
0
answers
42
views
Setting up SSH on a Server
I am attempting to setup ssh on a server, however when I ssh from the machine
ssh username@hostname
I receive Permission denied (publickey). I made sure to set the right file permissions and create ...
-1
votes
1
answer
40
views
Can files be restored from the Windows recycle bin from within Ubuntu?
I am having some problems on my Windows machine partly due to my stupidity, but also due to uncooperative Microsoft software.
I recently discovered a hidden directory (C:\Program Files\WindowsApps) ...
1
vote
1
answer
40
views
Failed to connect to socket /run/user/1000/at-spi/bus: Permission denied, revisited
Prerequisites, I installed:
sudo apt install dbus-x11
sudo apt-get install samba-common-bin
sudo mkdir /var/lib/samba/usershares
The following commands
xhost +SI:localuser:myOtherUser
sudo --user ...
0
votes
0
answers
38
views
Why don't I have permission on my folder on the new hard drive?
I added a new hard drive as storage only, and wanting to save something to the folder where I mount( /hdd) the drive doesn't let me. For example, try saving an html file
Failed to save 'html': Unable ...
0
votes
0
answers
31
views
Loop login - /tmp permission issue
I am facing loop login issue on Ubuntu 22.10.
I was able to log into the shell and observed the following /tmp permissions:
drwxr-xr-x 20 arnaud arnaud 60K mars 24 08:55 tmp
I was able work around ...
0
votes
0
answers
18
views
permission denied when activating virtual environment
When typing from local user the following command: 'source .env/bin/activate' returns 'bash: .env/bin/activate: Permission denied'
I can 'sudo bash' and then 'source .env/bin/activate' and that works ...
0
votes
0
answers
32
views
Why do I not have permission to run this mpic command?
I'm very bad with the command line and have just downloaded Ubuntu (in the microsoft store) yesterday. I'm trying to compile and run a cpp file with a specific command. I'm logged in as a non-root ...
0
votes
1
answer
34
views
tar change permission of parent directory to 775
I tried to untar file with below command
sudo -u ubuntu tar -xzf tar.tgz -C "$(dirname "/home/ubuntu/deploy/")"
The tar log looks like
./
./deploy/deploy_scy.yml
./deploy/...
-1
votes
1
answer
41
views
How do I give a .cpp file to my new user
I'm trying to run a .cpp file on Ubuntu. I'm on a Windows computer and downloaded Ubuntu from the microsoft store. Problem is, I couldn't safely run my program on my root (reasons dont matter) and had ...
-2
votes
1
answer
69
views
Bash Permission denied error
I get the following error when i enter the command:
printf '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/wkhtmltopdf -q $*' > /usr/bin/newwkhtmltopdf.sh
bash:...
0
votes
0
answers
22
views
How to recover user access to Mysql database?
I am working in LAMP(Mysql), I wanted to allow an external ip to connect to the database but it was not possible because Mysql was using MyISAM storage engine, so I tried to change it to InooDB adding ...
1
vote
1
answer
18
views
Transmission-daemon: cannot edit settings.json
I want to edit Transmission-daemon's main config file located at /etc/transmission-daemon/settings.json but I am unable to, due to its default permissions:
/etc/transmission-daemon$ ls -lah
total 16K
...
0
votes
0
answers
30
views
Still get 403 forbidden, after moved Apache root folder in /home directory and enabled config file?
I want to move root directory from var/html/www to home/mitacheto/projects, where "mitacheto" is mine username. What I already did:
1 - Opened etc/apache2/sites-enabled/000-default.conf and ...
0
votes
0
answers
31
views
How can I post an answer to a question? This is for those stuck in a login loop and if their chrome browser keeps crashing [duplicate]
Ok so if you are stuck on a login loop and or your Chrome webbrowser keeps crashing. Try emptying your system disk of data files. I have been reading posts on here for ages and then realised it is ...
0
votes
0
answers
23
views
permission denied on ubuntu ( ubuntu and windows 10 dual boot system on a M.2 NVME ssd and another harddrive used for storage)
I have a 250GB m.2 nvme ssd and a 1TB hdd. I boot ubuntu and windows on my ssd by creating 2 partition and I use my hdd for storage only.
I recently install gcc on my ubuntu. but can't run c++ file on ...
1
vote
1
answer
22
views
Difference between executing .sh/.bash program with sh/bash and executing it directly [duplicate]
If we have a program start.sh, we can execute it with the sh start.sh. But we could execute it giving permission with chmod and run ./start.sh in the command line. What is the difference between those ...
1
vote
0
answers
36
views
Do not have access to second hard drive
So I recently updated my Ubuntu server to the version 22.04.2. I have not have had this issue in the past. I am also a Linux newbie so I am having a hard time figuring this out.
But It seems like ...
0
votes
1
answer
37
views
Gtk desktop app delayed on first launch (20.04)
I have a Gtkmm desktop app that requires root access. It worked fine on 18.04 using Lxqt-sudo but after upgrading to 20.0.4, it takes ~30 seconds to open only the first time after booting. In addition,...
1
vote
0
answers
54
views
Permission to write in partition comes and goes
Since I upgraded to 22.04 from 20.04 I have problems mounting my second drive (only read). I've tried a lot of things, probably just to mess up things.
This is my /etc/fstab line:
LABEL=warehouse /mnt/...
0
votes
0
answers
48
views
Can't open .exe file [duplicate]
my .exe file is not opening, i did not have execute permission so i changed the permission by chmod +x. Still i can't open the file with wine and using ./ too, i used sudo but could not open.
After ...
0
votes
0
answers
26
views
Are there any implication when I use cubic like this?
I am using cubic to create my custom ubuntu 22.04 image. During the customization process, i created my own user and added them as an admin(following this guide). Afterwards, i extracted the ISO and ...
2
votes
1
answer
48
views
Additional harddrive only in read mode
I have additional HDD:
cat /etc/fstab
# /etc/fstab: static file system information.
...
# External 1TB drive for some data
/dev/disk/by-uuid/20A949F121CEADD8 /mnt/20A949F121CEADD8 auto rw,acl 0 0
but ...
0
votes
0
answers
16
views
Can't upgrade from 16.05 to 18.04 [duplicate]
So for more clarification from the last post i will redo it; Ok, so i used crouton to install Ubuntu 16.04 with gnome, and its nice, but little applications actually work...
I first tried the update ...
0
votes
1
answer
63
views
"fsck" - Permission Denied
I'm getting a error. See:
What I'm supose to do?
Tx, everyone!
0
votes
0
answers
47
views
Docker permission errors on Ubuntu Core
After installing Docker Snap on Ubuntu Core I can build and run Docker containers. However, I'm forced to use sudo for all the Docker commands, otherwise I get the following error:
user@ubuntu:~$ ...
0
votes
0
answers
28
views
Why is rootless docker still running as root inside container?
From a non-root testuser which is a non sudo account, I have installed a rootless docker following the instruction here (Ubuntu without package).
When I start a container and go inside it by running ...
8
votes
3
answers
978
views
Snap version of gimp not opening images in root folder
I have gimp 2.10.30 on Ubuntu 22.04. Whenever I try to open an image outside my home folder it says Error opening directory '<directory>': permission denied.
When I right-click on the image and ...
1
vote
0
answers
66
views
How and where to install conda to be accessible to all users
What I Want To Do
I want to install conda on our shared computer on premises in such a way that it can be used by all users. Users are accessing the machine through remote desktop using xRDP from ...
1
vote
0
answers
113
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 ...
0
votes
0
answers
23
views
Copy finds 'ghost file' with no size that cannot be accessed
I have a link to a remote directory (via ssh) in my file explorer (Ubuntu 20.04) /foo. There are two folders inside - /foo/Results and /foo/Exchange. The Exchange folder is empty. When I copy a file &...
0
votes
0
answers
30
views
need to transfer file directory from user level local downloads to exernal hard drive
New to Ubuntu. I'm trying to transfer a file folder to my usb hard drive. I recently added HDhomerun DVR to my TV and the drive is formatted XFS. I quickly filled the drive with recordings so I ...
0
votes
0
answers
41
views
groups and groups <user> are different even after restart
Hi there I'm new to Linux and I'm very confused. I tried to add my user to docker group to run the docker without sudo as follow: https://docs.docker.com/engine/install/linux-postinstall/ and It ...
0
votes
0
answers
336
views
Stuck in boot: Missing modules (cat /proc/modules; ls /dev) in BusyBox
To solve a Wi-fi issue I did a fresh install of Ubuntu 22.04 from USB. After completing the installation process Ubuntu started rebooting. But it couldn’t complete reboot as it stuck in this error ...
0
votes
1
answer
50
views
VM Jellyfin files not seen
I have Jellyfin installed in Ubuntu 22.04 VM. It works fine inside and outside VM and I can access the folders (libraries) through Android TV. But the files inside are not listed.
I have an automount, ...
0
votes
0
answers
26
views
Permission denied or Command not found for majority of command
Please I Need help for VPS production server.
I am hosting a web app (Laravel) and I was setting up permissions.
This is the command I accidentally typed sudo chmod -R 770 storage /*(note the space) ...
0
votes
0
answers
72
views
I want to share VirtualBox v7.0.6 VMs between users on Ubuntu 22.04 LTS but the permissions of the files virtualbox creates don't seem to allow it
I'm in the process of setting up a clean install of Ubuntu 22.04 LTS Desktop and I'm trying to share the same VirtualBox v7.0.6 VMs between users in order to save myself both effort and disk space. I ...
1
vote
1
answer
82
views
Disk Permissions, exFat, ext4, ntfs, linux and windows (yes, all that!)
I have been trying to setup two linux users to be allowed to delete files on a drive that has been formatted to exFat for now.
I have:
a main pc running on Windows - it's also a backup pc
a ...
0
votes
0
answers
51
views
I have full permission on file but still unable to copy files onto USB due to permission denied
I am a newbie who is having trouble using Ubuntu 22.04.2 on my desktop PC.
I am trying to copy my SSD manually to my USB drive (which actually has more space than my SSD).
When I try to copy files, I ...
0
votes
0
answers
42
views
Mount NTFS with exec permission
I mounted NTFS, but I cannot execute the Hugo server on it. I got the following error:
hugo server -D
Error: open /home/.../hugo-website: permission denied
My mounting command is this:
UUID=...
0
votes
0
answers
12
views
22.04 Doesn't Have permission to access files when boot
Yesterday I noticed that I was running out of space on my ubuntu partition. I have a dual boot. I cleared 30Gb from a simple storage partition and was trying to give it to the ubuntu one.
I noticed ...
1
vote
1
answer
59
views
Can't run VSCode as superuser
I am trying to run VSCode as a superuser in Ubuntu 18.04, It's solely in a lab environment to allow me to work with Ansible. Every time I load VSCode as superuser I get a white screen and nothing else,...
0
votes
0
answers
29
views
Can te root user access all directories and folders?
Aŕe there files that the root user can't access, because earlier i was using the "du" comand and some files could not be accessed due to permissions
0
votes
0
answers
9
views
bash:/home/william/Downloads/crossover_22.1.0-1.deb: Permission denied [duplicate]
I am trying to download the Trial Version of CrossOver from my Downloads folder.
I am using the following command ~/Downloads/crossover_22.1.0-1.deb and I get back the following bash:/home/william/...
0
votes
0
answers
24
views
Can't transfer tarball from VM to local machine
I am attempting to transfer a tarball from my Oracle Cloud VM to my local machine, when I try it says:
remote_username@ip_address: Permission denied(publickey)
Since I guessed this was my publickey ...
0
votes
1
answer
55
views
Can no longer use private key to SSH into Oracle Cloud server
This started yesterday after I attempted to execute an SCP command to send a tarball file I had created on my VM to my local machine, it came up with a text block informing me that the address was ...