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
43 views

User not able to modify the file which is created by a different user. User is also part of that user's group [duplicate]

I have created two normal users on my Ubuntu system: testuser1 testuser2 I have added testuser2 to the testuser1 group testuser1 created a file in the /tmp folder named file1, testuser2 is able to ...
Navneet Kumar's user avatar
2 votes
0 answers
267 views

new kernel and exfatprogs do not support same mount options as exfat-utils

On multiple machines at work and at home, I multiboot between one or two flavors of Linux and a few flavors of Windows. In order to keep my data centralized regardless of what OS I'm in, I use an ...
PhoenixM's user avatar
0 votes
1 answer
83 views

cannot write a remotely mounted file

Before opening my nextcloud server to the internet i'm trying to harden its security by configuring its sshd_config file. Its a ubuntu core server so i can edit files only through sshfs. The thing is, ...
Lorenzo_Kospecz's user avatar
0 votes
0 answers
35 views

my user pssword has been chnged

I use a stand alone desktop running ubuntu 22.04. The admin password has been changed (hacked). How do I regain control as my password is no longer accepted, and I can not use sudo, or choose a new ...
R Davey's user avatar
1 vote
1 answer
115 views

How to make the current working directory be highlighted in color? [duplicate]

my ns-3 is installed inside the source folder i.e., home/my_username/source/ns-3.39, when I try to ls inside the ns-3.39 directory, it gives: ls: cannot open directory '.': Permission denied So I have ...
K__V's user avatar
  • 13
0 votes
0 answers
45 views

Deny Access to Folder

I am running 20.04 LTS. I am trying to deny a user access to a folder. In the terminal the user doesn't have permission, but in the GUI it prompts for admin credentials. Is there a way to stop it ...
Andrew's user avatar
  • 1
0 votes
0 answers
61 views

Stuck with Emergency mode and fsck not working

The problem started with the following error on my screen while booting: [ 0.106709] x86/cpu: SGX disabled by BIOS. /dev/sda3: clean, 1108900/6111232 files, 9479779/24413952 blocks you are in ...
ABCD's user avatar
  • 5
0 votes
2 answers
4k views

\\wsl.localhost is not accessible. Open folder error

I want to access wsl folder in File Explorer however I got this error \wsl.localhost is not accessible. You might not have permission to use this network resource. Contact the administrator of this ...
aintgelic's user avatar
0 votes
1 answer
268 views

LibreOffice doesn't start without sudo

Trying to convert a .docx file to PDF and I run into problem. sudo libreoffice is working, but libreoffice throws an error: javaldx failed! Warning: failed to read path from javaldx LibreOffice 7.5 - ...
Paweł Suchodolski's user avatar
26 votes
9 answers
6k views

How to fix "chmod" permissions after running "chmod 222 /bin/chmod"?

I ran chmod 222 /bin/chmod to know more about chmod. After that, when I run /bin/chmod, I get permission denied. I tried to change the permissions of chmod back to 755, but it doesn't work. Does ...
Charming_Yard's user avatar
0 votes
0 answers
59 views

Need help with zfs import and getting plex to see datasets

Thanks for taking the time to read and provide any insight. So I didn't export this thing like I should have any did a force import. I have my data there in the new machine as /mnt. I can see the ...
Alschmitt44's user avatar
2 votes
1 answer
207 views

Bash script issue: can create User but password is not being set correctly

in my ubuntu 22.04 server I created a bash script that setups my server to serve laravel apps, one of the steps I do is: Downloading mysql Creating a non-root user, Grant all privileges to non-root ...
gabogabans's user avatar
2 votes
2 answers
2k views

home/user/Desktop and Public Folders Show as Type Link (broken) (inode/symlink)

Ubuntu 22.04 LTS asked me for an update which I did and apparently everything went ok but upon restarting all my home folders appeared in my Desktop. Looking into my home folder I found out that home/...
Ventolinmono's user avatar
0 votes
0 answers
79 views

Lua error for wireshark attempt to index global 'bit' (a function value)

I'm getting this error: Here the packet is not properly decoding on wireshark version 4.0.6 Attached is the packet Frame 3457: 140 bytes on wire (1120 bits), 140 bytes captured (1120 bits) on ...
Swapnil Zaveri's user avatar
0 votes
0 answers
287 views

How to mount exFAT/FAT partitions as user without all files having the executable bit set in permissions?

Ubuntu 23.04 here, but should apply to almost every version. I want to mount external drives via the user mount mechanisms in the system (is udev involved?), often over SSH with udisksctl mount -b /...
emk2203's user avatar
  • 4,156
0 votes
0 answers
78 views

Cannot execute .sh file

I am having an issue making a file executable. The file is gatewaystart.sh. I have unzipped a downloaded folder containing the specified file, into /opt/ibc using the command sudo unzip ~/Downloads/...
dinosaurslayer's user avatar
0 votes
1 answer
104 views

AppImageLauncher stuck at 'Watching directories' when trying to run eDEX-UI AppImage

I recently installed eDEX-UI on my Ubuntu system using the AppImage format. However, when I attempted to run the AppImage from the terminal using the command sudo appimagelauncherd eDEX-UI-Linux-...
flyingcloak's user avatar
1 vote
1 answer
257 views

encfs decrypting usb folder needs root permissions

I have a usb drive with an encfs encrypted folder. I usually decrypt this with encfs /media/user/DBx/enc /media/user/DBx/dec When I try this with a new Ubuntu install using 22.04.3, I get the error: ...
Mark D's user avatar
  • 463
1 vote
0 answers
778 views

Allow user to run specific commands

How do I enable a user to run specific sudo commands without the need to type a password? I already tried the following: I have a script /usr/local/bin/perform-update with the rights -rwxr-xr-x 1 root ...
Socrates's user avatar
  • 2,473
1 vote
1 answer
4k views

Server refused our key - No supported authentication methods available (server sent: publickey) - Permission denied (publickey): Ubuntu server

I have an AWS EC2 instance running. I was able to connect using my chomed (-r--------) keys using MobaXTerm and SSH (Ubuntu for Windows) (.pem key) and putty (.ppk key). I'm also working on the server ...
gonzalez.ivan90's user avatar
0 votes
0 answers
38 views

Private Shared Folder

Good day, I have a question regarding my private shared folder. I add already a user called 'private' something like this: lhon@lhon-server:~$ sudo adduser private Adding user `private' ... Adding new ...
Lupong Gathana's user avatar
0 votes
0 answers
168 views

Steam cannot "explicitly" access files from ANY partition on Ubuntu

there used to be an issue where I'd have to unmount and remount a drive multiple times in addition to rebooting my Ubuntu system numerous times too, just to have a chance of fixing Steam not being ...
sicobaf127's user avatar
1 vote
1 answer
2k views

/run/user/1000 is not owned by UID 1000, as it should

So I have this error going on, and its the origin of a lot of errors with snap that I'm recieving. So when I execute: $ systemctl status display-manager Recieved some text and: gkr-pam: unable to ...
P2000Gua's user avatar
0 votes
0 answers
37 views

Unable to mount volume: "Permission Denied", on second account

Ubuntu 22.04.2 LTS I have 2 user accounts, named y and z. I use one of them for fun stuff, and the other one for school. I can mount my 1 TB unencrypted external ssd with legally obtained anime ...
User1986's user avatar
  • 321
0 votes
0 answers
91 views

Ubuntu 22 and Apache protected access

I have a website that was set in 2004 with an ISP running Debian. The ISP just jacked up my yearly fees 3x without warning, I am playing around with a Cloud Server running Ubuntu 22. I haven't played ...
capun1950's user avatar
1 vote
0 answers
29 views

chmod changes permissions but only briefly

During creation of a K3S cluster with ubuntu/jammy64 box. When creating the control plane VM, K3S is installed and then permissions are set on the k3s.yaml file for group k3s members, of which vagrant ...
Robert Kerr's user avatar
0 votes
0 answers
29 views

Permissions and secnd hard disk drive

I put in a new ssd and installed 22.04 ubuntu. I have my HDD as a second drive. I have photos and recorded camera videos on the second drive or HDD. I try to access them but it comes up as I am not ...
Ray Wicks's user avatar
1 vote
0 answers
23 views

Permission denied when running script, but correct file permissions and ownership are in place [duplicate]

I am unable to run scripts that I previously had been doing: $ SCRIPT.SH bash: /media/USER/PATH/bin/SCRIPT.SH: Permission denied Checking the file permissions and ownership, that are as expected: $ ...
Broadsworde's user avatar
  • 4,122
0 votes
1 answer
105 views

I have another user than root with UID 0

I'm running a VPS which I have forogtten for quite a while. It was still running Ubuntu 18. I logged in today an saw that apparently the server was hacked, it was running a cryptominer and stuff. So I ...
Brettetete's user avatar
0 votes
0 answers
248 views

Password Works for Logon but Not for Update Authentication (Ubuntu 22.04.2 LTS)

My password in Ubuntu 22.04.2 LTS is being rejected for authentication of updates, app install/uninstall, unlock, ... However, it does work when I log on after a restart. Until a week or so ago it ...
BeFreeIL's user avatar
2 votes
1 answer
2k views

Permission denied trying to start a new process from a Java application as root user (with non-installed JDK)

I try to start a new process using Java's ProcessBuilder, running as root user (during the prototyping phase). It works as expected when I run the application using a JDK installed with apt. My ...
snorbi's user avatar
  • 123
0 votes
1 answer
630 views

Permission denied on /media

I'm using Ubuntu 22.04 on Dell Alienware R13 desktop (multiboot with Windows 10). My problem is that permissions are denied on /media directory. I don't know what caused this problem. As I recall, I ...
John's user avatar
  • 1
1 vote
1 answer
57 views

Apache unable to write to NTFS automounted drive

I've a main ssd drive where os is installed I have also a second drive (NTFS auto-mounted) where all www is hosted All was working fine and Apache could load/write/etc. files into this NTFS partition ...
Enrique's user avatar
  • 339
-2 votes
1 answer
187 views

im unable to run sudo command

sudo: /etc/sudo.conf is owned by uid 1000, should be 0 sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set im unable to use sudo probably when i tried to change the acxess ...
Aryan gupta's user avatar
0 votes
0 answers
26 views

libinput-config-default folder in /downloads/

I was clearing out my downloads folder and I had a copy of the etc folder from the root. I'm not sure why I had a copy of the etc folder there, but I just went ahead and deleted it along with ...
bluemonkey4's user avatar
0 votes
0 answers
23 views

restore sudo privilege without knowing sudo account [duplicate]

I always access to a test server using an account. But I has done some mess and now the user is no more a root user. I can restore privileges without knowing root credential? How can i solve (at last ...
Kappadocina's user avatar
0 votes
0 answers
47 views

Ownership of External Drive on Ubuntu Server

I am having a lot of trouble with a Western Digital 6TB external drive since I've first used in a year or so ago. To begin with, I was getting into the world of servers and was making use of an old ...
Jake's user avatar
  • 1
0 votes
0 answers
59 views

Samba Permissions Issue, moved shared folder to external drive

I am running Ubuntu Server on a rasp pi 400 I installed samba, created samba user and password, created a shared folder with samba(user) as owner and group. This shared folder was located under /home/...
raspbuntu's user avatar
1 vote
1 answer
215 views

What does "enable" mean when adding a samba share user?

In this SO question, the asking person mentions the adding and then the editing of a samba user account. Something like this: $ sudo useradd --system --no-create-home --group=smb-group -s /bin/false ...
WoodrowShigeru's user avatar
0 votes
0 answers
242 views

Openvpn as nobody fails: Options error: --status fails with '/var/log/openvpn/openvpn-status.log': Permission denied (errno=13)

Openvpn on Ubuntu 22.04 I can run successfully openvpn as superuser. Now I want to run it as user nobody before making it a service. sudo -u nobody openvpn /etc/openvpn/server/server.conf However I ...
Vincent Tschanz's user avatar
0 votes
0 answers
807 views

How to access File from local network which I shared through "Media Sharing feature" in setting option

I am trying to access ubuntu folder from my android phone. I know there may some other option available. but I saw there is a option available in setting which is sharing > media sharing. after I ...
H Nazmul Hassan's user avatar
0 votes
0 answers
99 views

ACL permissions set correctly but user still doesn't have access

I am trying to give access to a user named 'test' for a specific directory under /var/log, but not everything else under /var/. I used the following commands: sudo setfacl -R -m user:test:--- /var/ ...
liakoyras's user avatar
  • 129
13 votes
3 answers
3k views

Does anyone with w(write) permission also have the r(read) permission?

There are 3 different levels in Linux file and directory permissions(Read, Write, Execute). In "Linux Basics for Hackers", page 50, write permission is defined as follows: w Permission to ...
Fox's user avatar
  • 141
2 votes
1 answer
568 views

Accessing html files from / (root) location with Firefox on Ubuntu 22.04

I have some .htm files which are stored in the root / directory and I would like to know how to access them in Firefox. Interestingly enough, I found a solution here: Firefox Quantum : HTML files from ...
Hymcode's user avatar
  • 21
0 votes
1 answer
459 views

unable to edit contents of /sys/bus/pci/devices

when attempting to run #!/bin/sh for i in /sys/bus/pci/devices/*/boot_vga; do if [ $(cat "$i") -eq 0 ]; then GPU="${i%/boot_vga}" AUDIO="$(echo "$GPU&...
user20695956's user avatar
0 votes
0 answers
125 views

Permission denied despite having permission [duplicate]

I did what is described in this this post, and after that I am not able to run scripts that are on my external ssd, not even after using the sudo su command. the output of findmnt -T /media/alexandre/...
Alexandre Vieira de Souza's user avatar
0 votes
1 answer
1k views

Samba share folder cant access on windows: ask your administrator for permission

I have created a shared folder in Ubuntu and made 2 users i gave all the permissions in smb.cfg . My windows machine can find the shared folder when i double click it it asks for credentials and on ...
smurfeas's user avatar
0 votes
0 answers
82 views

Access another system's root folder on mounted zfs rpool

my Ubuntu instance isn't booting, however I was able to use a Ubuntu Live USB to import the rpool, decrypt the drive, and use the system.key to mount the drive as read-only. I can only seem to access (...
numerous's user avatar
0 votes
0 answers
43 views

Local Password to open host drive

Setup is: NAS with multiple shared folders Shared folders mapped in Windows Ubuntu VM (VMware), with some of the mapped shares available to the VM All of these mapped drives are perfectly accessible ...
auto98's user avatar
  • 1
0 votes
0 answers
108 views

type " sudo chattr -i Cloud " to remove delete permission on folder "Cloud" error this "chattr: Operation not supported while reading flags on Cloud"

Opened terminal on partition where that folder exists and typed sudo chattr -i Cloud and I got an error saying chattr: Operation not supported while reading flags on Cloud cannot remove delete ...
de silva silva's user avatar