Questions tagged [permissions]
Short for "file system permissions" - access control based on user, group, or global access.
7,615
questions
11
votes
1
answer
19k
views
Copying SSH Key From Root To Another User On Same Machine
I am trying to create a server setup script. On initialization of the server, I add my ssh key which then gives me access to the root user via ssh. I now have created another user and gave them sudo ...
0
votes
2
answers
5k
views
Error opening documents with WPS from ntfs disk
When trying to open documents (spreadsheets, presentations or text files) with WPS office the following error occurs:
Errors occur when WPS Spreadsheets opening this file. Please try one
of the ...
1
vote
0
answers
93
views
Ubuntu 19.10 internal error. Random logouts
I'm new to using Linux (Ubuntu) as my daily system on my Dell XPS 15.
Since today I keep getting these errors and my user has crashed 3 times today randomly signing me out.
This is the error I have ...
0
votes
2
answers
688
views
Access /opt from Libreoffice
On my Ubuntu 18.04.4 LTS System I changed from the preinstalled Libreoffice to Libreoffice from Snap (libreoffice-6.4.1.2-snap1). Trying to reinstall the Zotero Extension I realised, that accessing /...
1
vote
0
answers
254
views
18.04 Samba errors, Windows Network & Meld
I need help resolving a Samba “Windows Network Failure” problem and a Meld file/folder compare delete problem.
1. What is causing the errors?
2. If permissions, what and where do I change them?
3. If ...
5
votes
4
answers
6k
views
jupyter notebook access issue in Chromium
I'm getting a common error, but the chmod solutions I've found don't seem to be working.
When I create a Jupyter notebook through terminal, by running jupyter notebook, on Ubuntu 19.10, I get this ...
2
votes
1
answer
571
views
Dual boot: Automatically mount NTFS disk at 18.04 startup with all permissions
I have shared an NTFS disk between Ubuntu 18.04 LTS and Windows 10 (I use it to store data which I want to access from both systems (music, documents...)). When I am in Windows 10 I can RWX over all ...
1
vote
0
answers
1k
views
Running Google-Chrome and VS Code as non-root user?
First, When I run google chrome as regular user (non-root user), and reboot my lab the changes will be removed as I've already installed, I knew that I should not run it as root user, so how can I run ...
0
votes
1
answer
89
views
container not stopping
I am trying to stop a container, but it is giving me this error every time, can you help?
2
votes
0
answers
56
views
I want to run a small scale free-of-charge SFTP server among my friends. I want to run it from my Pi Zero on which I have Raspbian installed [closed]
I have searched for line command installation of ftp server. I installed a ftp file system with sudo apt-get install vsftpd. I were able to access it from a remote desktop computer using WinSCP. When ...
0
votes
1
answer
332
views
Will files backed up to a NTFS drive preserve permissions?
When I connect my NTFS external hard drive via USB it auto-mounts. I don't know which mount options it used so I looked at the output of /proc/mounts which says
/dev/sdb1 /media/qwr/Elements fuseblk ...
0
votes
0
answers
230
views
Read only Drive, Dual boot Windows 10. Kubuntu on 2nd internal HDD
I am sort of new on linux environment. So I had dual booted my laptop.
Now I can copy paste files on windows partitioned drives and the drives I had partitioned while installing the kubuntu. I did ...
6
votes
0
answers
1k
views
Preserving file permissions between Ubuntu and WSL
As part of my workflow, I have a dual-boot system with Ubuntu 16.04 for development and Windows 10 for other work. I use WSL 1 for smaller linux tasks when I don't want to reboot into Ubuntu. As part ...
1
vote
1
answer
1k
views
In debian packaging (dpkg) installer, postinst disappears
I need to modify a dpkg installer, since one file does not run correctly after being installed, and it needs to be owned by root but run with caller user id.
I tried to put the commands required in a ...
2
votes
0
answers
699
views
Deja Dup Permission Denied after creating initial directory
I am running deja-dup v40.6 (installed with snap) on Ubuntu 18.04, using Google as the storage backend. When I run a backup, a directory gets successfully created in my Google Drive with the correct ...
2
votes
1
answer
9k
views
Undoing `chown` command?
I was installing a few softwares which prompted that :
Download is performed unsandboxed as root as file couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
So I did:
...
1
vote
1
answer
38
views
Granting more rights to www-data
I've got a .NET Core 3.1 application running on my Ubuntu 18.04.4 LTS box.
Right now, it runs with the account www-data. Although this may be a group too, not sure. I understand this is a "...
2
votes
0
answers
1k
views
How to make rsync --fake-super store owner and group as string in the extended attributes?
I am running a server on Ubuntu server 18.04. I want to write scripts to easily backup and restore my programs and data individually to/from a different system. Say I have an application with its ...
0
votes
1
answer
1k
views
Multiple users access to the same vsftpd chroot environment in server 18.04
I have three different users in a Ubuntu Server 18.04.4:
ls -la /home
total 28
drwxr-xr-x 7 root root 4096 Mar 6 17:17 .
drwxr-xr-x 25 root root 4096 Mar 4 15:...
1
vote
0
answers
191
views
Ubuntu 18.04 -- USB flash drive automatically mounts for one user only, how to get access for other users?
When I insert a USB drive in my PC only one user (called e.g. foo) gets it automatically mounted in its /media/foo. Another user, bar, does not have it in /media/bar, neither can it access /media/l/...
0
votes
1
answer
425
views
Question regarding SUID & GUID
I was interested in learning how to use Linux, but while studying SUID and GUID I have had trouble understanding exactly what it does. Now I know that it grants permissions of the user or group, but ...
2
votes
1
answer
655
views
How can I grant a snap application access to /tmp via command line?
Is it possible to give a snap application access to the /tmp directory? Specifically, I want to be able to send email attachments directly to the application from Thunderbird. Granting access to my ...
0
votes
1
answer
2k
views
Command not found when executed as sudo, but works after "sudo su"
If i try to run this command bash respond with not found error:
$ npm -v
-bash: npm: command not found
with sudo also:
$ sudo npm -v
sudo: npm: command not found
but works when I run first a "sudo ...
1
vote
1
answer
1k
views
I can't change my own folders (newbie alert)
Apologies in advance, complete noob here.
I have qbittorrent-nox installed (commandline/web torrent client). When I download a torrent, qbittorrent creates a folder containing the files from that ...
1
vote
2
answers
158
views
Only root can access to USB even if the user belongs to the right groups
My OWL cm160 power meter came with a Windows native app. I found a C app for Linux but it use sqlite. It's OK for some days' samples but I'm going to have polling every second or two forever, so I'm ...
3
votes
0
answers
38
views
16.04: File with no hardlink
I have a directory with these files on an Ubuntu 16.04 server:
-rwxrwxrwx 1 nobody nogroup 162034 Apr 1 2019 accounts.log
-rwxrwxrwx 1 nobody nogroup 2336191 Apr 17 2019 app.access.log
-...
1
vote
0
answers
1k
views
heroku container:login permission denied error troubleshooting question
TLDR: if you have this error go here How can I use docker without sudo? and once you have completed these steps restart your computer.
I am trying to push a project up to heroku. I've recently ...
0
votes
2
answers
56
views
User B in User A's group, cant traverse dir that belongs to group A
Say I have 2 users: user_a, user_b, with home dirs:
user_a : /home/user_a/
user_b : /home/user_b/
user_b is in the group user_a
as user_a:
ls -ld /home/user_a/
drwxr-xr-x 10 user_a user_b 4096 Feb ...
0
votes
0
answers
32
views
Confused by Apache permissions [duplicate]
I know there's a wealth of Apache documentation, but I can't seem to find the answer.
With the default documentroot - /var/www/html - all is fine. Permissions are - drwxr-xr-x 2 root root 4096 Feb ...
2
votes
2
answers
4k
views
How to connect Ansible to AWS-EC2 via ssh
I want to connect ansible to EC2 via ssh. I created a key pair on my local machine(ubuntu) and copied it to my EC2 instances using ssh-copy-id. The copy was successful, but I get the error below when ...
0
votes
0
answers
325
views
In file permissions, does the 'others' section not include owner and group owner?
I created a file called test and gave it the permissions ----rwxrwx or 077. The owner of test is a user called user and the group owner is root. user is not in the group root. The 7 in 077 means that ...
0
votes
1
answer
70
views
How to create user with some permissions
When I add user user1 and try to run command ip route add, an error appeared:
RTNETLINK answers: Operation not permitted
0
votes
1
answer
2k
views
transmission watch directory permission
Here is my ls -al /NAS/
efirlus@Efirlus-NAS:~$ sudo ls -al /NAS/
drwxrwxr--+ 10 root root 4096 Feb 25 18:28 .
drwxr-xr-x 4 root root ...
-1
votes
1
answer
1k
views
Change account type from terminal in ubuntu 18.04 [duplicate]
How can I do by command line in terminal that an administrator should become standard (normal)?
0
votes
0
answers
2k
views
how to automatically give permission to new folder for my nas
Firstly, I'll show you here my drive status, because I don't want to take just "don't use 777" answer.
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3961312 0 ...
1
vote
1
answer
139
views
Install filmic Color Mangement when installed with snap
I was trying to get the filmic colour management tool for blender however I installed blender with snap so that I could get 2.8 But now I can't change the folders and add the new folder within the ...
0
votes
0
answers
187
views
How to loop through two separate files with one for loop and two variables in bash?
for e in $(find . -type f -name "*.sh")
do
done
cat code.log | while read k
do
chmod $k $e
done
how do I combine the two loops
one loop is ...
0
votes
0
answers
80
views
CP2K executable will not execute in its directory, why and what is the solution?
I have an executable called cp2k.sopt located in ~/cp2k/exe/local. When I change to this directory and type cp2k.sopt --version, I get the message shown in the attached image, which also shows that ...
1
vote
0
answers
273
views
Permission denied even though I am the admin?
I have searched and searched and cannot seem to find this so I apologize if it ends up being a duplicate. I am running Ubuntu 18.04 and I keep running into an issue in my files where I do not have ...
0
votes
4
answers
3k
views
How can I delete a file with permission 444?
My server is running Ubuntu 18.04.
I have a file in vestacp that I cannot delete. This file contains malware and has permission 444 and when I try to delete it using sudo rm -rf file or even change ...
0
votes
0
answers
62
views
Making (server) directory public (http download)
tl;dr - How do I make a folder and its contents publicly readable?
I've installed and set up vsftpd on my Ubuntu VPS. Didn't realise the original intent of FTP was that only other logged in users can ...
0
votes
0
answers
35
views
Question about cronjobs/bash scripts which are not executed
I have two scripts which are called via crontab. The first script backs up my database and sends it over to S3. This works seamlessly.
I have a second script which cleans up old backups. The issue is,...
0
votes
0
answers
471
views
can not change the USB flash access permisions
i need to change the USB flash permission because i can not make new folder on it , also don't want to format it, so i have tried to use this post instruction like this:
It is not necessary to ...
0
votes
1
answer
4k
views
Syncing folders shared by others in Onedrive Business
I've tried to sync a folder shared with me for a while and using different software, but it is just not working.
Onedrived
I don't have the output anymore, but it gave me segmentation faults when ...
0
votes
0
answers
2k
views
How to disable sudo privileges to a user in Linux Ubuntu?
I have created an ssh key-based user in my server. I want to disable all sudo privileges to that particular user.
I have done the following;
sudo deluser user sudo
/usr/sbin/deluser: The user is ...
1
vote
1
answer
788
views
My root directory (/) is owned by my user. Shouldn't it be owned by root?
When I run ls -la /, it shows that . and .. are owned by my user, and are my user group.
I am almost positive that / should be owned by root and that I must have accidentally chowned / but it's been ...
0
votes
1
answer
142
views
Windows rights for write access
I have an infuriating problem with directories in a partition that I use to share documents between Linux and Windows. This partition has several directories (all the usual top level user directories: ...
1
vote
0
answers
205
views
How to force CAJA browser to respect umask setting when creating a new folder/file with right click?
In the latest Ubuntu LTS with MATE Desktop, newly created folders and files from the CAJA browser appear always with read permission for all users, no matter what value I assign with umask in /etc/...
0
votes
1
answer
3k
views
Getting: 500 OOPS: vsftpd: error with vsftpd.conf file that used to work
I recently reinstalled Bionic at 18.04.4 because I was experiencing a lot of glitchy errors that were getting worse over time. I had upgraded (not reinstalled) from Xenial which was probably a ...
0
votes
1
answer
2k
views
Allow web users to write files into folder
I have a web site running on Ubuntu server with Nginx installed and I made profile picture upload in Django. However when I try to upload a new profile picture it says
[Errno 13] Permission denied:
...