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

Setting up a Samba server. New files are being created with no Write access to the group? [duplicate]

I've been bonking my head against this for 2 days. Maybe someone linuxier than me can see my error. Ubuntu Server 22.04.3 LTS Samba version 4.15.13-Ubuntu Stand Alone Server My goals: only allow ...
ChipConnJohn's user avatar
0 votes
0 answers
20 views

Unable to copy/paste in certain registries

I'm trying to copy paste a file in /snap/notshowingthisforprivacy/1234/usr/lib and can't paste anything. This registry is under "other locations" and not my desktop or ./home, I have the ...
Xyozni's user avatar
  • 1
0 votes
0 answers
50 views

Issue with Insatll SSH key now entire OS is crashed

I was trying to generate the SSH key to pair with my GitHub. I used the GitHub official document for it here. While going through the process when I used ssh-add ~/.ssh/id_ed25519 it gave me the error ...
drakpasanger's user avatar
-2 votes
0 answers
27 views

Configured two factor authentication, but not able to connect to node,it is asking for password 3 times,entered the codes, showing Permission denied [closed]

Configured two-factor authentication, but not able to connect to node, it is asking for a password 3 times, entered the codes, showing Permission denied
Darling Nikhil's user avatar
1 vote
0 answers
33 views

Ubuntu 18.04 -> 22.04 Role of new _ssh shadow group vs AllowUsers?

I've moved a server that was running 18.04 to one running 22.04 and copied the following sshd_config over: PermitRootLogin no PubkeyAuthentication yes PasswordAuthentication no PermitEmptyPasswords ...
TommyPeanuts's user avatar
0 votes
0 answers
35 views

Facing problem with MP4 file uploads on Ubuntu with filezilla (the file size reduces after upload). Can someone help?

I am attempting to upload an mp4 file (112MB) to a Linux server. After a successful transfer, its size is reduced to 103MB or 80MB. It is not uploading the full size. Its Owner/Group changed ...
Harwinder Singh's user avatar
0 votes
0 answers
17 views

Using logrotate with rsyslog for rotation of logs based on fixed size

Due to specific requirements, there is a need to constrict syslog to a particular size (512 MB) and also to move the syslog and kern.log to a separate custom location. Current Syslog configuration - $...
shaggy's user avatar
  • 35
1 vote
0 answers
22 views

starship cannot access/edit starship.toml

Whenever I try to import a starship.toml file by typing starship preset tokyo-night -o ~/.config/starship.toml I get the following error: Error writing preset to file: Permission denied (os error 13) ...
maze's user avatar
  • 11
0 votes
0 answers
22 views

SSH to Ubuntu virtual machine under Azure, permission denied (publickey)

We do have a virtual Ubuntu machine under Azure. The IP address is known (for this message it will be named "thatIP"). Setup to log in via a certificate does work. We are now trying to set ...
Max Wyss's user avatar
  • 184
0 votes
1 answer
55 views

Why am I getting a `warning: could not open directory` from any command after unsquashing a squashfs filesystem?

I've been playing around with creating custom ISO images, and I've been successful. However, during the process I've come across a situation that I don't understand. My system is Ubuntu 20.04.6 LTS ...
mpboden's user avatar
  • 866
0 votes
0 answers
23 views

Can't access root folder in File Explorer since installing Ubuntu 22.04

I'm using WSL and I recently installed Ubuntu 22.04 and I can no longer access the root folder under that directory. I can access the root folder in my OLD ubuntu directory, but when I click on root ...
LionizeWebworks's user avatar
0 votes
1 answer
86 views

All users getting "error creating /tmp//tmux-1003 (Permission denied)" when using tmux

tmux used to work, but i forgot exactly what I did on the server to cause all users to not being to use tmux. I'm getting the errors for 2 different users: error creating /tmp//tmux-1003 (Permission ...
Patoshi パトシ's user avatar
-2 votes
0 answers
15 views

How do I earn reputation points the fatest? [migrated]

So I've got 15-ish years of exp on everything webdev/js/ts, but no reputation. I see questions asked where I would really be able to contribute with a good answer but I can't because ... no reputation ...
Ioan Alferaru's user avatar
0 votes
0 answers
20 views

In Podman, switch owner from nogroup to another group

I'm currently using podman in my linux terminal for a WordPress project (a container that has a mounted volume). From the terminal, when I run id www-data, I see uid=33(www-data) gid=33(www-data) ...
klewis's user avatar
  • 101
0 votes
0 answers
20 views

Docker container unable to write to removable drive

I currently am running Ubuntu Jammy and have a docker container that needs to write to two external drives that were automatically mounted to /media/MYUSER/MYDRIVE while both are mounted correctly and ...
Ponyboy's user avatar
0 votes
0 answers
30 views

Howto change the permission of a directory to root?

Howto change the permission of a directory to root: /mnt/sda9? I tried it with gksudo, but it says "you're not propriertary." The following commands... gksudo nautilus /mnt sudo chown user:...
Rodrigo Enrique Esteves Antelo's user avatar
0 votes
0 answers
39 views

proc/fd permission errors in some (not all) lxc containers after upgrading host to ubuntu 22.04

Yesterday I updated an Ubuntu 20.04 machine to 22.04. lxc is from snap and I believe is unchanged. It has unprivileged lxc containers running various systems including Ubuntu 18.04, 20.04 and 22.04; ...
jhnc's user avatar
  • 133
0 votes
0 answers
29 views

How to open ANYDESK from ROOT USER in UBUNTU?

I tried opening anydesk from root user but it shows following error message (screenshot mentioned below) ? I wonder what is the solutions to solve this problem so that ANYDESK can be open from ROOT ...
BSAI Techno Sales's user avatar
5 votes
1 answer
366 views

Moving program to /opt to make it accessible to all users?

I use a program that is saved in my /home/vincent/Downloads directory (program is actually a game, I downloaded it...AppImage file), I normally start the program by double-clicking on it... Now I ...
Vinz M's user avatar
  • 73
0 votes
0 answers
30 views

ssh: connect to host (ip address) port 22: Permission denied

I just reinstalled the Ubuntu server OS on some devices and accidentally deleted the SSH keys in the %WINDOWS% folder and on the registry folder > Simon Tatham> then deleted it. Now, I can't ...
Fluffy3763's user avatar
0 votes
0 answers
25 views

Ubuntu directory permissions to share

Assume we have a path /path/to/usera/data, its owner is user_a and Now we want to share this dir to user_b with following steps: add a group datashare and add user_a user_b to it sudo groupadd ...
zhang's user avatar
  • 111
16 votes
7 answers
4k views

Can we prevent a command from being executed for root in Linux?

There is this script that is difficult to read and debug. Somewhere in it, it has commands like this: sudo chmod -R 777 /$some_var/$another_var In other words, it creates a path dynamically, and then ...
Saeed Neamati's user avatar
0 votes
0 answers
77 views

sudoers.d file not working for a non-sudo user using three commands without password

I want username steamy, a non-sudo user, to execute three commands (i.e., systemctl start|stop|restart factorio) without entering a password. I am using sudoers.d file called factorio: $ sudo ls -l /...
ptay's user avatar
  • 101
0 votes
0 answers
24 views

How do I give other users permission to access ntfs partition?

Only adm users have access to the ntfs partition, how do I change this? Edited: My ubuntu is 22.04 Thank you
denisPlay's user avatar
0 votes
0 answers
28 views

Why can I only change write permissions for all users?

I've been trying to manage the permissions on a certain file, but the only changes the chmod command seems to allow me are changes to all users and regarding the write command. I can't change any ...
sium's user avatar
  • 1
0 votes
0 answers
28 views

Transfering nextcloud data of docker volume to another server while usergroup does not exists

I'm currently preparing a migration from my Raspberry Pi with Ubuntu 22.04.03 LTS 64x to an x86 based server. In that process, I want to copy all of my Nextcloud data. While investigating the file ...
NewUserSince21may's user avatar
1 vote
2 answers
62 views

How to allow a user to start/stop a specific system service?

I am building a server on which my students will be able to upload their projects, which are Python+Flask web-applications. When I add a new user, I add a new service in /etc/systemd/system/[username]....
Erel Segal-Halevi's user avatar
0 votes
1 answer
80 views

Chromium and Chromedriver do not work correctly, permission denied

I'm trying to automate some features with php-chrome library. I need to use chromium.chromedriver installed on my server. So I installed these apps. root@afs2:~#: google-chrome --version Google Chrome ...
Kiyarash's user avatar
  • 111
0 votes
0 answers
28 views

Supervisord ignores user setting

I want to use supervisord to make maintenance for Laravel application which used nginx run by www-data:www-data user:group. Both Laravel app and supervisord task need to share one log file. Sometimes ...
user239970's user avatar
0 votes
0 answers
21 views

How to give a permenant permission for a disk?

I have hdd that has been mounted to a new folder Backup that I created in /media /dev/sda1 15T 28K 14T 1% /media/Backup But I am not able to create any folder and the permission is as ...
S.EB's user avatar
  • 189
0 votes
0 answers
42 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
53 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
46 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
28 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
0 votes
1 answer
33 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
  • 3
0 votes
0 answers
37 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
43 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
  • 3
0 votes
1 answer
404 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
0 answers
31 views

Ubuntu - LibreOffice - doesn't start without sudo

Trying to convert docx to pdf and i run into problem. sudo libreoffice is working libre office is throwing error javaldx failed! Warning: failed to read path from javaldx LibreOffice 7.5 - Fatal Error:...
Paweł Suchodolski's user avatar
24 votes
8 answers
4k 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
28 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
1 vote
1 answer
97 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
1 vote
1 answer
322 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
17 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
69 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,116
0 votes
0 answers
49 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
25 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
80 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
118 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,371
1 vote
1 answer
349 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

1
2 3 4 5
149