Questions tagged [permissions]
Short for "file system permissions" - access control based on user, group, or global access.
7,553
questions
0
votes
0
answers
17
views
I got an error and read the problem was the permissions at root
I got an error and read the problem was the permissions at root.
I entered
sudo chmod 700 /
Every icon on my screen disappeared and the machine won't boot
How can I get back into my machine? Ubuntu ...
0
votes
0
answers
44
views
Problem with SSH Key access to Linode Ubuntu 22.04 cloud server from windows Powershell
I have been trying to ssh into my linode server using an rsa ssh key and I have been struggling for several days now. I have copied the public key file into my authorized_keys file in my server, I ...
0
votes
0
answers
42
views
Permission denied problem
I need convert big xml document to csv file with XmlStarlet. Operation system - Ubuntu 22.04, source file on usb-drive. When I try studying structure of XML document by command
xml el test.xml
I ...
0
votes
0
answers
22
views
ubuntu server folder permission
1.i Have a SMB share mounted in /mnt/homelab
2.it auto mounts via fstab with login credentials
i can create dir in /mnt/homelab with sudo mkdir test
I need the user karl to have access to this ...
0
votes
1
answer
77
views
(Ubuntu 24.04 fresh upgrade) Failed to retrieve share list from server: Permission Denied
I had Ubuntu 22.04 working just fine, decided to try the upgrade to 24.04.
The upgrade worked with just a few glitches which I am trying to work through. The latest glitch is trying to access my old ...
0
votes
1
answer
23
views
snapd installed applications can't be found by non root
Applications which are installed by snapd are not found(e.g. when I tried to run notepadqq it said that this application is not installed unlike root user it worked and got running) by non-root users
...
0
votes
0
answers
31
views
Assistance Needed with Hosting PHP Application on Ubuntu 20.04LTS with Apache2
Hello Ubuntu Community,
I am encountering an issue while hosting a PHP application on Ubuntu 20.04 LTS using Apache2. Below are the specific requirements for my setup:
System Setup:
The Ubuntu system ...
1
vote
1
answer
39
views
Is there a way to allow a non root user to run netplan apply without sudo?
I'm developing a Django project and I was asked to implement a functionality that allows the admin users to change the ips on the yaml file of the hosting server, so far I manage to do so by using ...
0
votes
1
answer
27
views
Permission denied when running docker-compose in a mounted drive. Please help
I have an issue with docker deploying from mounted drive.
Here is the server setup details:
Ubuntu 24.04 LTS
OUTPUT OF lsblk:
sda 8:0 0 900G 0 disk
├─sda1 ...
2
votes
1
answer
37
views
Locally stored PDFs open Document Viewer, but PDFs stored in Gdrive don't open Permission Denied message
I upgraded to Ubuntu 20.04.01 and as a consequence PDFs stored in Google-drive no longer open, I get:
Unable to open document “file:///run/user/1000/gvfs/google-drive:host=gmail.com,user=..."
...
0
votes
1
answer
66
views
Change user UID and GID to 1000:1000 in Ubuntu
While my user has UID:GID 1000:1000 in my laptop (Pop! OS), a new desktop machine (Ubuntu 22.04.4) got the same user name with UID:GID 1001:1001 by default. This creates permission problems when ...
3
votes
1
answer
395
views
Unable to update ubuntu 24.04 after incorrectly installing debian key
I was attempting to follow the apt instructions for lutris but they're apparently only for debian and I've messed up my apt key for ubuntu so nothing else will update
I used the following commands
...
1
vote
0
answers
23
views
Unable to edit copied images from other sources with GIMP
I am unable to open and edit copied images from other sources (phone, other PC). I am using Gimp and Ubuntu 24.04 LTS. Image viewer opens those normally. Just getting a message 'permission denied'.
By ...
1
vote
0
answers
27
views
SMB mount won't follow NTFS symlinks or junctions
I have 2 problems, one old, one new.
I have a linux nas, that I also run a web server on. To share files from my main computer on the internet, I mount a specific folder located on my windows machine ...
1
vote
0
answers
37
views
When connecting Android phone via USB it asks for access but Windows does not
Is there a way to avoid giving explicit permission to access files on the Android device when connecting to the Ubuntu machine with a USB cable?
I have two mobiles (Samsung, Note 8 and S23 Ultra), and ...
0
votes
0
answers
36
views
Ubuntu 24.04 password for every file I try to open
THis may sound like a broken record. This all started after I setup my backups to external drives. I have permissions and groups are unchanged. this makes no sense.
I have tried resetting permissions ...
0
votes
0
answers
15
views
Error Message "Run Package Manager or apt-get to [duplicate]
I have received the above message under a red disc with a white line on the main /home screen. As you will see below I have tried to run apt-get but nothing works, can someone please give some ...
2
votes
1
answer
187
views
minidlna.c:674: error: Media directory "PV,/home/name/Pictures" not accessible [Permission denied]
minidlna will not access my pictures since adding a picture folder.
Folder permissions for my pictures folder: drwxr-xr-x
minidlna status returns-
minidlna.c:674: error: Media directory "PV,/...
0
votes
1
answer
56
views
unable to access samba share as one user, but I can as another user
I've got a Samba server configured on my server. I have my main account (nacho) and another account (`brother).
I have set Samba password for both using smbpasswd.
I can access shares using my nacho ...
0
votes
0
answers
26
views
re: psql running on a ssh server
(ubuntu terminal, and the server is using bash)
i have installed psql in a ssh server inside conda env as I don't have sudo privileges, so I successfully installed the psql have tables inside it ...
0
votes
2
answers
170
views
How do I access the /root folder?
How do I enter the /root folder, not the / folder?
I need to go into the /root folder to print the contents of the /root folder on a file in the home(~) folder.
I tried to do 'sudo cd root'
Here's the ...
0
votes
0
answers
38
views
Unable to start postgresql after server restart
Post Ubuntu server restart i am unable to start the postgresql in the server, i am getting the below error
2024-08-09 15:17:19.217 IST [24899]: [1-1] db=,user=,app=,client= FATAL: 58P01: could not ...
0
votes
1
answer
66
views
My extern USB ext4 harddisk had only user #1000 rights
My external USB ext4 hard drive only has user #1000 rights, so I can't write or copy to/from the disk (can't change this with properties either)
Have newly installed 24.04
I wish the rights were mine ...
0
votes
0
answers
100
views
Slow Ubunto Boot Issue - NetworkManager.service
I’m experiencing a persistent problem with NetworkManager on my Ubuntu 24.04 system and I’m hoping someone here can help me troubleshoot and resolve the issue.
System Details:
OS: Ubuntu 24.04
...
0
votes
0
answers
25
views
How to check or setup /dev/device belong to which group
In a Chinese blog that I followed for compiling Mali GPU drivers following paragraph I cannot understand
After restarting, check that /dev/video-enc0 and /dev/video-dec0
should exist and belong to ...
-1
votes
1
answer
57
views
How to make AppArmor rule to prevent delete in specific directory for all apps instead of specific app?
I want to deny delete permission to everything that is in /home/don/testdir or it's sub directories for all apps without preventing create or write. As I understood this is not possible with ...
0
votes
1
answer
96
views
Samba Share with multiple owners on client system
I have a large data folder on one of my servers that for reasons too long to go into, I would like to move to a dedicated NAS (Openmediavault) then share back to the existing server.
Within this are ...
0
votes
0
answers
4k
views
cp command gives preserving permissions for xxx Numerical result out of range
I performed the following command:
cp -pR /media/z/tmill xz
It returns with the error
cp: preserving permissions for ‘xz/tmill/ReplaceYourMotor.webm’:
Numerical result out of range
The directory is ...
0
votes
0
answers
14k
views
SAMBA share permisison error NT_STATUS_ACCESS_DENIED
I'm trying to create a SAMBA share of a media folder of my jellyfin server, I already have a shell acces user created with ISPC user interface and I'm able to access the web folder of the website of ...
-2
votes
1
answer
56
views
How to create an SFTP user with access to bash?
You are my last hope, you've been killing on this task for about a week.
I need to create two users, both SFTP.
User1 must have access to /var/www and absolutely everything in the directory, full ...
0
votes
0
answers
34
views
/dev/mem write problem
AFAIK, the OS doesn't allow an app to access other apps' memory. Each app is in a space called "PCB" and noone can enter that so we have IPC.
So, why can I do cat /dev/urandom > /dev/mem? ...
0
votes
0
answers
63
views
mounting passwordless SMB share results in permission denied error
Here's what I did:
mkdir /mnt/shared
mount -v -t cifs //192.168.1.128/shared /mnt/shared
When I do that I'm prompted for a password. When I just hit enter (since the share I'm trying to connect to is ...
0
votes
1
answer
85
views
Permission for regular user to modify network settings?
I have a PC with a normal, unmodified, Ubuntu installation where I need to add a new normal user but I also need this new user to be able to modify network settings and am struggling a bit with how to ...
0
votes
0
answers
43
views
Program not allowed to go into folder
I want to run a tModLoader server on my ubuntu machine. But starting it, i get the following error:
System.UnauthorizedAccessException: Access to the path '/home/ankeserver/tModLoader/saves' is denied....
0
votes
0
answers
42
views
Permission To create New Folder
I use the GParted to create a new Partition.
And, I activate it through the Disks.
However, the newly created disk does not allow me to create new folders.
What's more, I cannot even create new ...
-1
votes
1
answer
61
views
Flatpak suddenly don't have write permissions
Around 3 days ago every flatpak stopped having write permisions.
Telegram could not start.
I can not write the database in KeePassXC.
I can not save files in Shotcut.
I've tried installing Flatseal to ...
1
vote
1
answer
85
views
root user can't read `gio mount`ed smb share
As a non-root user I can run
$ gio mount smb://raspberrypi.local/shared
and the drive mounts fine. However, the root user doesn't have read permissions for it somehow.
$ stat /run/user/1000/gvfs/smb-...
0
votes
1
answer
105
views
Can't write to /sys/bus/usb/devices/.../power/wakeup as root
Not long ago, I successfully edited the file /sys/bus/usb/devices/.../power/wakeup as explained by the kernel documentation at https://www.kernel.org/doc/html/v6.5/driver-api/usb/power-management.html#...
0
votes
1
answer
198
views
Weasis permissions (to access external media) in Ubuntu 24.04LTS
I use Weasis Dicom viewer (from Snap Store) to view medical DICOM files.
On Ubuntu 20.04LTS and 22.04LTS, in the Snap Store page, once downloaded, there's a button for changing Permissions.
This ...
0
votes
1
answer
56
views
How to clone folders/files permission from Ubuntu to another Ubuntu?
I have two Ubuntu systems, same version same script installed, on my public Ubuntu I did a mistake by changing permission of root.
I ran rescue system and run a script that reset ubuntu permission to ...
1
vote
0
answers
62
views
Can't access root on my server
I already have two questions sort of going this direction (Can't use sudo anymore since running chmod: sudo: /etc/sudo.conf is world writable) and (Can't use sudo anymore since running chmod: ...
1
vote
0
answers
25
views
Can I unmount my data drive without losing data? [duplicate]
I messed up my system and need to wipe my system (see here: Can't use sudo anymore since running chmod: sudo: /etc/sudo.conf is world writable)
Fortunately even though I am a beginner, I have one ...
0
votes
0
answers
37
views
Can't use sudo anymore since running chmod: sudo: /etc/sudo.conf is world writable [duplicate]
Before I start, I am no Linux expert by any means, I just know the basics and am still at the beginning of my Linux/Server journey.
I messed up, I've used chmod before but now I used it in the root ...
0
votes
2
answers
61
views
file permissions: give write permissions to system
I looked around online and was unable to clarify this.
When I use chmod to change file permissions for a file to look something like this: -rw-rw-r I know that #1 is the owner #2 is for group ...
0
votes
1
answer
58
views
Ubuntu 20.04 Can't set system variables using mysqld with OS errno: 13 - Permission denied
I need to change innodb_buffer_pool_size in a MySQL server running on Ubuntu 20.04. I'm getting Permission denied error on the default data directory /var/lib/mysql/ although mysql is the owner of ...
0
votes
0
answers
31
views
Allow users to execute everything except manage specific service
I have some workers with their own computer. All of them have access in their laptops to root user in Ubuntu. I don't rely on them and I have a critical service that I need to be always running, so I ...
0
votes
1
answer
67
views
User no longer in sudoers after installing ssh
My admin account was added to sudoers and worked fine. I set up SSH and xRDP on my computer. I used the exact same username for these programs. Now when I try to sudo, it says my user is not in the ...
2
votes
1
answer
97
views
Restrict a specific group to access a directory and drive
I have created a group "restricted" and added a user "user1" to this group , how can I restrict this group to access some specified directory and drive.
-1
votes
1
answer
64
views
How to remove Ubuntu from SSD which I don't have root privileges for?
I've tried DBAN, Gparted on a live USB, dd command to override with zeroes and random values for several cycles (which I now think was a mistake), sudo rm -rf /mnt/nvme0n1 which is my drive mounted on ...
0
votes
0
answers
96
views
the sticky bit prevents the contents of the file from being changed
I recently started learning Linux and the following problem arose. I have 2 users mk (has admin rights) and usr_2 (regular). In the home directory of user mk at /home/mk I created a file mk_file with ...