Questions tagged [permissions]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
403 views

Running the command sudo -u postgres createuser -d -R -S $USER I get the message could not change directory to "/home/odoo": Access denied in Ubuntu22

I am trying to install postgresql on Ubuntu 22.04 and to do so I run the following command sudo apt install postgresql postgresql-client followed by that (in the next prompt) I execute the following ...
Enmanuel Otero Montano's user avatar
0 votes
0 answers
48 views

How it possible to grant access in Auroura app?

When I wanted to run the Auroura app (I downloaded and installed it from this) to manage the keyboard backlight in Ubuntu 22.04, unfortunately, after many clicks on "Grant Access" nothing ...
MR_'s user avatar
  • 101
0 votes
1 answer
120 views

Permission issue while installing latest mysql server after upgrade from 18.04 to 22.04

I cant install the latest mysql server on my local machine. Everything was working fine before the upgrade (nginx/phpmyadmin etc) but it seems like it removed some things during that (perhaps I ...
xaoo xaoo's user avatar
0 votes
1 answer
76 views

Trouble logging Active Directory from Windows Server 2022 to an Ubuntu Desktop 22.04 LTS

I actually joined the realm, but the problem is when I try to log in with an Active Directory user, I can't. I added the machine to the active directory via installation and everything is ok. running ...
Alex Morales Luna's user avatar
6 votes
1 answer
405 views

Blocking internet access for non-administrative (child) user in Edubuntu

I have setup Edubuntu on a laptop (Edubuntu 23.10 Mantic Minotaur). There is an administrative parent account and a (non-administative) child account. Of course, the application management lets me ...
user823's user avatar
  • 385
0 votes
0 answers
41 views

snap mjpg-streamer-2 paralell install fails with V4L interface: Permission denied

My computer in the shop has two ubs cameras attached and working fine. Now I am trying to use mjpg-streamer to send both cameras feed to zoneminder on a second computer in the house. I have two ...
jamby's user avatar
  • 7
0 votes
0 answers
69 views

Files inside of External storage won’t show in nextcloud (Snap Package)

The following two are snapshots of my file explorer: As you can see from the attached images files within my hard drive aren't showing in nextcloud but do show in other places. It is added through ...
Jeremy Galbraith's user avatar
0 votes
1 answer
617 views

Ubuntu 22.04 login loop, Failed to start GNOME Display Manager

I'm facing an issue with my Ubuntu system. GNOME Display Manager fails to start at boot and I am unable to login into another tty. Any attempt to login will get me back to credentials prompt. The only ...
Serban M's user avatar
0 votes
0 answers
78 views

Is it possible to use gedit on a remote file with root permissions?

As titled, I'd like to open (and edit) remote text files with root permissions using the local text editor (gedit) I know about nautilus-admin, but it doesn't seem to work, unfortunately
elect's user avatar
  • 521
0 votes
1 answer
118 views

How to let Firefox access system files?

I am trying to package an HTML user guide with my app. Currently, it is placed in /etc/oqm/static/guide.html, with read permissions set to all. However, firefox doesn't seem to have access to it. I ...
Snappawapa's user avatar
0 votes
1 answer
85 views

I cannot Access sudo on my ubuntu VM

When I try to get my account to admin, Every way everyone used to open admin, did not work for me. When i tried sudo -i or sudo su, it gave me this output, usbuser123@Ubuntu2USB:~$ sudo -i [sudo] ...
David Hoffsetz's user avatar
0 votes
1 answer
285 views

How to change permission for Sysfs file using udev rules

I am writing a custom module kernel that boots at startup. I can write in the sysFS file using this : echo -e "(0,0,255,750)\n" | sudo tee /sys/fs/led_sysfs/led_value But I will have ...
Tamanar's user avatar
0 votes
0 answers
125 views

Samba: Second User permission denied

i set up Samba on my home server to share a directory. I can easily access the network drives of samba with my first user (which is also my main user on the server). The second can't access any of ...
Thorkell's user avatar
-1 votes
1 answer
249 views

How to solve this error: Unexpected error: [Errno 13] Permission denied: '/sys/kernel/security/apparmor/profiles'

I am using Ubuntu 20.04. When conduction a host-check the following error message appears: ERROR -- Linux Security Modules Unexpected error: [Errno 13] Permission denied: '/sys/kernel/security/...
Thomas's user avatar
  • 1
0 votes
1 answer
90 views

sudo chgrp and sudo chmod will be reset after reboot

quick summary: I met some problem during my work on OrangePi 5 plus develop board, the operation like chgrp and chmod will be reset as default after reboot. I installed official Ubuntu 22.04 image ...
Ultra Hertz's user avatar
2 votes
1 answer
464 views

How to change permissions (chmod)?

I have created a folder not in /home but on other volume which is free (eventually I'd like to share the folder via Samba). I have found the path: /media/xduser/kingstone I did: cd /media/xduser/...
ZedZip's user avatar
  • 207
0 votes
1 answer
179 views

How do I share a folder between Ubuntu 22.04 (client) and Windows 7 (guest) using qemu-kvm

I'm running Ubuntu 22.04 on a homemade PC: AMD Ryzen, Gigabyte X570 motherboard with a Samsung 980 Pro SSD. I've already created a few shared folders via Samba, but I'm often given the "you don't ...
Ironhand41's user avatar
0 votes
1 answer
197 views

Unable to access a Samba shared folder

I've been trying to make a local backup of all my family's photos and videos for easy access due to how sluggish Dropbox has become. When I set up the Samba shared folder this showed up: What's worse,...
Yam's user avatar
  • 1
-1 votes
1 answer
62 views

Common admin commands?

I usually work with administrator access privileges on my Ubuntu workstations. On a new machine, I've recently been offered only a normal user account; and asked to provide a list of admin-level ...
user643722's user avatar
1 vote
2 answers
463 views

How to grant full access to any new folders/files/subfolders created in a specific folder?

I have granted full access to a folder as follows: sudo chmod 777 -R /media/sharedfolder However when a new subfolder is created by User A, that subfolder is not accessible by other users. How can I ...
Ian M's user avatar
  • 173
0 votes
0 answers
77 views

Weird behaviour smb.conf create mask

I have set up a samba share to connect with windows 11. I tried to change the default permissions to -RW-RW---- with create mask = 0660 But i get -RW-R-----. When i try create mask = 0460 i get -R--RW-...
rankzy's user avatar
  • 1
0 votes
0 answers
23 views

Share directory in Ubuntu22.04 for Windows users: not all users have access

I have made as described there How to share directory in Ubuntu22.04 for Windows users Finally I can access from Windows station to the shared folder (Ubuntu). Great. But the same windows user on ...
ZedZip's user avatar
  • 207
0 votes
1 answer
446 views

Cannot run steam on Ubuntu 22.04

So my problem is that when I restart my computer, steam firstly can be runned. But after some time(about 1 minute or so) it lags and just doesn't do anything at all. Shutting down doesn't help due to ...
Elisei's user avatar
  • 1
0 votes
1 answer
188 views

fstab mount no longer working

I have an ubuntu share that I use infrequently. The last time I used it was about 11 months ago. At the time it worked. I tried searching a solution but I could not find a solution. I have the ...
chribonn's user avatar
  • 291
0 votes
1 answer
35 views

wrong permissions on server after upgrade to new OS on LAMP server

after our LAMP server upgraded the OS I am finding that the permissions are wrong on the server, and it cannot display the file (404 error), until I change the permissions. It was working fine before ...
Adrian's user avatar
  • 1
1 vote
1 answer
206 views

Prevent sudo useres changing root user password

I'm a newbie here. I have deployed a Linux server and I wanted to add other users to it. Then those users must able to install applications on the said server. To do that those users must have root ...
Nipun's user avatar
  • 11
0 votes
0 answers
41 views

sudo doesn't working in Ubuntu 22.04 [duplicate]

I am going to update packages in Ubuntu 22.04 terminal. sudo apt update But I get errors like this. [email protected]:~$ sudo apt update [sudo] password for user: tester is not in the sudoers ...
bigant02's user avatar
  • 101
-1 votes
1 answer
126 views

CIFS Windows 10 mount is read only

I am running Ubuntu 22.04.3 LTS trying to mount (CIFS/Samba) an NTFS drive on Windows 10 Pro Version 22H2 (OS Build 19045.3693). I actually have it working on one of the Windows drives, but have run ...
Steve Gon's user avatar
0 votes
0 answers
121 views

arm used ubuntu:23.10, docker build faild, start container with --privileged ok

build image base ubuntu:23.10 error W: GPG error: http://ports.ubuntu.com/ubuntu-ports mantic InRelease: At least one invalid signature was encountered. E: The repository 'http://ports.ubuntu.com/...
Absurd Drama's user avatar
1 vote
2 answers
1k views

can not share a folder between ubuntu 22.04 and windows 11,

I am trying to share a folder between Ubuntu 22.04 and Windows 11. The folder that I am trying to share is the public folder inside my home directory. I can see that in Ubuntu the shared logo (the ...
mans's user avatar
  • 189
0 votes
0 answers
32 views

Deja-dup asks for administrator authentication

I am using Ubuntu 20.04 LTS, installed and managed by my workplace. I have set up backup on my home folder only, each day. Regardless, an authentication dialogue is opened each time: "...
keeg's user avatar
  • 1
0 votes
0 answers
85 views

Ubuntu File Permsissions

I created three users bob, alice and eve and added them to groups defend, attack and evil respectively. Eve should not be able to read or write any file not created by her but bob and alice should be ...
cambonu's user avatar
0 votes
2 answers
99 views

How do I get cifs mounts to not have all the files owned by root?

I have researched this problem and found advise to use the uid argument, but it is not helping. /etc/fstab: //192.168.0.234/Backups /home/mark/Backups cifs vers=3.0,credentials=/root/.smbCredentials ...
Mark Casazza's user avatar
0 votes
1 answer
54 views

Problem changing owner and permissions on new external drive

I just installed a new 2TB external drive (Ubuntu 20.04), created one partition, and formatted it to ext4. I mounted it to /mnt/ssk2TB. Now the drive shows in my Nautilus file explorer, but when I ...
RTC222's user avatar
  • 237
0 votes
0 answers
81 views

Info.php in the root directory of my website forbidden

I wanted to check the used php version with a info.php file in the root directory of my Mautic installation, but i get an error: https://ma.stefan-franz.de/info.php File content: <?php phpinfo(); ?&...
Stefan Franz's user avatar
0 votes
0 answers
107 views

sshd_config , added AllowGroups sshusers but users can still ssh

I changed /etc/ssh/sshd_config and added line AllowGroups sshusers but all users can still ssh. (I tried also AllowUsers and DenyUsers, but it seems that it is the same. The config is completely ...
Peter Pit's user avatar
0 votes
0 answers
62 views

MySQL SQLSTATE root and normal login not function

Hello guys i have little problem with MySQL and Pterodactyl. When i try add databases i got this problem. There was an error while trying to connect to the host or while executing a query: "...
Pavlik Abraham's user avatar
0 votes
0 answers
211 views

Can't run apt commands: permissions fun with /var/lib/apt/lists/partial

Today I tried running sudo apt-get update on our Ubuntu 22.04 server and got the following: Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease Err:1 http://us.archive.ubuntu.com/ubuntu jammy ...
Bee's user avatar
  • 1
0 votes
1 answer
80 views

22.04 Webcam permissions are reset on boot

I can only access my webcam(s) with sudo rights with cheese. ls -l /dev/video0 outputs: crw-rw----+ 1 root video 81, 0 Nov 13 15:18 /dev/video0 same for video1. When setting sudo chmod 666 /dev/...
Luggie Böörgöör's user avatar
-3 votes
1 answer
68 views

Want to execute a script irrespective of the directory where this script is present or html file is present

Actually my script is present under the path /home/user/bin/script.sh and when I run the above script named as script.sh, the script will show html file in Firefox web page. But the problem here is ...
Ashwini Gajarla's user avatar
0 votes
0 answers
88 views

Restrict user to access other directory and file in NFS server

I have one NFS server which will share to mutiple NFS client. The requirment is isolate each cilent ,make sure they could not access other's file. But the problem is NFS export could not restrict that....
AlexChui0706's user avatar
0 votes
0 answers
41 views

How to allow both a user and root to access directory? [duplicate]

How can I make /media/creeper39x/TB-Drive be owned by creeper39x, but root have access? Could I have a group with creeper39x and root in it?? Please help.
Creeper39x's user avatar
1 vote
1 answer
225 views

Apache2 permission denied on Ubuntu

My apache2.conf: DefaultRuntimeDir ${APACHE_RUN_DIR} PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User ${APACHE_RUN_USER} Group ${...
amirmohammad firouzfar's user avatar
0 votes
0 answers
84 views

chromium download tray

Chromium moved the download tray from the bottom of the screen to the right side of the address bar. How to bring back old tray? Previously I did the following below: To restore the old Chrome ...
masshp's user avatar
  • 1
0 votes
1 answer
178 views

How to let ZFS users create their own datasets?

I am running Ubuntu 22.04 in a VM, and I have followed the instructions here for creating a ZFS pool. However, the commands to create, mount and unmount zfs datasets all appear to require root. I ...
Joseph Garvin's user avatar
0 votes
1 answer
50 views

How to create a common working folder where users can collaborate and edit the same files

We have some EDA software that is used by many people. As a team, we want to be able to edit and work on the same files (binary). Say, I create an electrical schematic, I save it, I simulate it. Apart ...
Dictador's user avatar
0 votes
0 answers
75 views

Permission is denied by Windows in VMware in Ubuntu

I am sharing a Windows folder with an Ubuntu guest OS in VMware. When I edit the file that is located in the shared folder of Windows in Ubuntu, it gives a permission denied error in the below ...
Pooja Singh's user avatar
0 votes
0 answers
88 views

How do I set the permissions of a samba share I mount via GNOME GUI?

When I mount a samba share on my NAS via the Gnome UI, it creates a folder named 'smb-share:server=192.168.1.1,share=data' in the /run/user/1000/gvfs folder. The permission of this folder are ...
jfoucher's user avatar
  • 23.5k
0 votes
1 answer
77 views

How can snap applications view the manual permissions they have been granted?

Is there a method for a Snap app to introspect its own permissions? I've built an app that requires the raw-usb permission to flash firmware on microcontrollers. Without it, the app does not work and ...
Moritz's user avatar
  • 142
1 vote
0 answers
682 views

SSH Permission denied, with password

I have a machine running Ubuntu 23.10 and I'm trying to ssh into a server not under my control. I was given an username and a password to access it. In order to prepare the setting, after generate the ...
davy36's user avatar
  • 11