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

Unable to share a folder with VM. Folder within a partition of type NTFS. Ubuntu 23.10 as base OS, with a Windows virtual machine. Can you help?

I am currently working with an IBM Linux server in which I have installed Ubuntu, version 23.10. In this Linux OS, I recently installed Virtual Box virtual machine, version 7.0. I am a ...
Vijith Kumar V's user avatar
0 votes
0 answers
143 views

Unable to join a windows PC to a Samba active directory domain

Summary; I am attempting to build an Ubuntu 22.04.03 samba domain controller as part of a very small domain. This is not for file-sharing. Problem: I cannot get a Windows 10 PC to join the domain. ...
Phil Mennenoh's user avatar
0 votes
1 answer
163 views

Why a new user was created seemingly to run gvfsd-admin daemon?

A new user was created seemingly to run gvfsd-admin daemon. The new user is called dachsroot. This happened after I installed many astronomy packages into my ubuntu 22.04. it is not clear what ...
Marco Pereira's user avatar
0 votes
0 answers
112 views

Windows 10 fails to authorize to Ubuntu Samba share

I was running a server with Ubuntu 14.04 LTS, and I had a Samba share setup with several "usershares". I did not do the original setup for this and am not completely sure how it worked. ...
Brian Carrigan's user avatar
0 votes
0 answers
51 views

repeated errors saving files and folders onto external hard drive. after errors harddrive becomes read only

I am having problems with my external hard drive. It has been going on for weeks. I just turned off my computer. Then I typed mount. The result was /dev/sda1 on /media/michaeo/MY_EXTERNAL_DRIVE Data ...
Michael Levy's user avatar
2 votes
1 answer
94 views

Firefox from mozillateam-ppa cannot write on non-root partition

I'm migrating from Gentoo to Ubuntu 22.04. Traditionally, I have all my firefox profiles on a seperate partition mounted at /profiles which is mounted via this line in /etc/fstab: PARTUUID="...&...
igel's user avatar
  • 167
1 vote
0 answers
68 views

Moving a drive preserving permissions in Linux (with ACLs)

I need to move my drive containing only data (it does not contains any system file) from one Linux system to another Linux system. The starting system and destination system are both Ubuntu Linux 22....
ganatoci's user avatar
1 vote
1 answer
922 views

I accidentally run command "chmod 555" on system directories [duplicate]

I accidently ran sudo chmod 555 / and now all users have lost access to the server Error: Last login: Thu Oct 18 16:50:55 2023 Could not chdir to home directory /home/User1: Permission denied /bin/...
hergo herna's user avatar
-1 votes
1 answer
58 views

no file in the directory

i just started using unix for my university (i have 0 prior knowledge on programming so bear with me if isay something stupid) and it wont find my file this is what i did so far: nano (filename).sh ...
Ozzy's user avatar
  • 1
0 votes
0 answers
24 views

How to create a ptracable process in Ubuntu

After Ubuntu Maverik, restrictions were placed on ptrace syscall. Now a only the parent process or the sudo user can ptrace a process. We can change this behavior by editing /proc/sys/kernel/yama/...
Sourav Kannantha B's user avatar
0 votes
0 answers
209 views

Visual studio code cannot edit files on samba shared folder

I got some problems with my samba service, when I mount shared folder from command line on Ubuntu using this: sudo mount -t cifs -o user=$USER,uid=ubuntu-user,gid=ubuntu-user //ip-address/samba-folder ...
Tommaso Ascani's user avatar
1 vote
1 answer
1k views

Blank login/SSO window with Cisco AnyConnect VPN on Ubuntu 22.04.03

Cisco AnyConnect Secure Mobility Client 4.10.07061 installed on Ubuntu 22.04.03 was working fine with an internal VPN server that relies on Office365 authentication until recently. Seemingly without ...
dax's user avatar
  • 31
0 votes
0 answers
195 views

Python cannot find module when run as another user

i have run into the problem with running python as another user. I have checked the other posts but seems like my problem is a bit different as solutions don't work. I am logging as 'yuri' and start ...
YubiVan's user avatar
0 votes
0 answers
255 views

Grant Steam Snap access to second Hard Drive

I am using Ubuntu 23.10 and it is fresh install. I have a 128GB SSD in which Steam is installed. However, I want to use my secondary Hard Drive 1TB for downloading all my games. I don't see any option ...
Faisal Aslam's user avatar
0 votes
0 answers
39 views

How to increase dev/fuse size to 5G, curenty having 1.2G

I want to increase the size of /dev/fuse.I have used below command but giving me permission error. sudo mount -o remount,size=5G /dev/fuse sudo mount -o remount,size=5G /mnt/ bin/sh: 1: /dev/fuse: ...
Javed Akhter's user avatar
1 vote
1 answer
699 views

mounting a cifs share for writing

I think I'm missing something obvious I have a NAS (WD MyCloud Home). I can read and write to it from windows with no issues I can mount it in ubuntu server using this command: sudo mount -t cifs -o ...
Sean O'Brien's user avatar
0 votes
2 answers
338 views

Permission denied error while trying to run wget for owncloud

I got a permission denied error running the command below: ubuntu@P1-AppServer:/var/www/html$ wget https://download.owncloud.com/server/stable/owncloud-complete-latest.tar.bz2 --2023-10-07 15:22:05-- ...
Mauyon Akinola's user avatar
-1 votes
1 answer
54 views

How to give root privileges to user

I've tried everything but nothing seem to work. I've also looked through examples already posted. Recently, I wiped my Mac and had to start over. Prior to that I saved some files so I wouldn't have to ...
Larry Thompson's user avatar
0 votes
0 answers
302 views

All SD cards mounting as read only in Ubuntu 20.04

I'm trying to get my internal SD card reader to work on a Lenovo Thinkpad T15p. It's this model, therefor uses the Realtek RTS525A PCI Express Card Reader. It seems like this particular card reader ...
password is password's user avatar
0 votes
1 answer
172 views

Firefox can't read or write to directories symlinked across partitions

Using Ubuntu 22.04, I installed firefox from the mozillateam ppa (current installed version is 118.0.1). I have data stored on /dev/sda1, mounted as /data, and Ubuntu 22.04 installed on /dev/nvme0n1p2....
Robert McDonald's user avatar
0 votes
0 answers
26 views

snap desktop-legacy interface - what privileged access does it leak? When can one disconnect it?

I'm trying to take a more active role in ensuring the couple non-FOSS / untrusted but mandatory for work snaps I have installed are as confined as possible. Looking at the desktop-legacy interface in ...
some bits flipped's user avatar
1 vote
1 answer
790 views

Unable to modify files in root even after booting it up as admin

I'm trying to copy+paste a plugin for OBS under /snap/obs-studio/1284/usr/lib. It's located in root. The paste option is grayed out doing: sudo su nautilus leads to me opening it as admin:///snap/obs-...
Xyozni's user avatar
  • 21
-1 votes
2 answers
108 views

Public key cant be found in file Explorer

I have a school project and we are using ubuntu . ( im new to all this stuff just want to let u know :) ) for this project we had to create a public key ; shh keygen I did all of it , got the key and ...
Nora's user avatar
  • 1
0 votes
1 answer
62 views

finger protocol ignores .plan and .project files of other users unless running with sudo

I'm running a small server Ubuntu 23.04 and have sudo privileges. I have a few other folks on the server and we are trying out finger. We've made .plan and .project files. However, when we finger ...
quilted computer's user avatar
0 votes
0 answers
214 views

Binary files not being generated

When I try to compile a c, c++, or fortran code no binaries are generated and no errors are thrown by the compilers neither. This seems to be independent of the compiler. For example, below I try to ...
PhysicsInquiries's user avatar
0 votes
0 answers
15 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
53 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
  • 21
1 vote
0 answers
216 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
  • 1,073
0 votes
0 answers
53 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
1 vote
0 answers
224 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
1 answer
234 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
251 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
  • 1,334
0 votes
0 answers
258 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
728 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
0 votes
0 answers
84 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
43 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
149 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
  • 143
0 votes
0 answers
286 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
519 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
  • 159
0 votes
0 answers
261 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
28 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
  • 121
17 votes
7 answers
5k 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
128 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
29 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
57 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
42 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
2 votes
2 answers
2k 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
647 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
217 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
207 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