Questions tagged [permissions]
Short for "file system permissions" - access control based on user, group, or global access.
2,664
questions with no upvoted or accepted answers
3
votes
0
answers
425
views
Samba and Groups
Ok I've been reading about Samba shares etc. for the past few days, I still cannot get it to work.
I've gotten a public share and a private user share to work, but not a group share.
[global]
...
3
votes
0
answers
2k
views
Ubuntu asks for permission to add a printer, but nothing works
I am trying to install my HP LaserJet Pro 400 color m451nw, got it all worked out using the hplip open-source program (hplip-3.14.6) until I get to the very end where I verify and setup the device and ...
3
votes
1
answer
452
views
Ubuntu 12.04 Server - Default directory permissions
I am new to linux and I installed linux for web server purpose with apache2.
I have created a new directory /var/www/mysite.
My main problem is that each new file I create has read only permissions ...
3
votes
2
answers
4k
views
How to give USB access to VirtualBox when non-root
I'm a member of vboxusers group. I installed the extension pack. When running VirtualBox as non-root, USB devices are visible but grayed-out. When running VirtualBox as root then it works fine.
How ...
3
votes
1
answer
411
views
sharing between ubuntu 12.04 and windows8 with online user
I've searched for solutions and tried numerous things but nothing so far has worked. I'm trying to access shares on an ubuntu 12.04 pc from my windows 8 pc. In my win8 machine I can see the shares, ...
3
votes
1
answer
1k
views
Setting Up Users and Permissions for a Multi-purpose Home Server
I have decided to repurpose an old grey box computer to be a combination NAS/home media server, headless torrent server, and minecraft server. I am using this both as a practical piece of equipment ...
3
votes
1
answer
2k
views
Assign Group rights to folder
Hello I am new with ubuntu and I have a question.
I created a user ABC. I created a group XYZ. I added user ABC to group XYZ .
I have a folder mounted mydrive. I mounted it under as I have attached ...
3
votes
0
answers
3k
views
Sublime Text 2 Permission Denied
I use a Papyrus package with Sublime Text 2, but when I try to compile a file by pressing ctrl+B or F7 I get a permission error;
[Errno 13] Permission denied
[cmd: [u'/home/sde/.wine/drive_c/Program ...
3
votes
0
answers
623
views
How do I share USB VFAT Drive with other users?
I want to share pictures between my wife and me, on an external USB drive. The OS is ubuntu 12.04. The drive is a Western Digital 500 GB and sudo blkid /dev/sdc1 return LABEL="My Book" UUID="9389-61cd"...
3
votes
1
answer
5k
views
apparmor="DENIED" concerning Firefox
Let me preface this question with I am a Unix newbie and know just enough to get myself in trouble so treat me like an 8 year old :)
OS
Ubuntu 20.04.2 LTS
Browser
Firefox v85.0
Issue: Firefox does ...
3
votes
1
answer
10k
views
Samba shares only work with "force user"
I seem to have trouble understanding the configurations of samba on Ubuntu. Let’s say I have 4 folders in /srv, these are media, share, bob-personal, and joe-personal. I also have 3 users: bob, joe, ...
3
votes
1
answer
220
views
Is file permission secured when it transferred from Ubuntu to Windows?
I am having 9GB text file which is encrypted .
This file contains some confidential data . Which is on my system(Ubuntu) and my external HDD (ntfs) . This file get daily updated and then encrypted . ...
2
votes
1
answer
61
views
New to Linux development: any good resources describing the administration of the environment to run my program?
New to Ubuntu Desktop 22.04, and am wanting to run a .NET 6 program that I've created on Windows on the system. Some basic tests have shown the program works - in a way. I can run it via the dotnet ...
2
votes
1
answer
141
views
22.04.4 LTS snap firefox chromium permission problems
I'm running 22.04.4 LTS and Ubuntu Pro support enabled.
"Suddenly" my firefox and chromium stops to start.
If I try to launch them from terminal I get back this errors:
(base) pippo@Ganimede:...
2
votes
0
answers
156
views
How to retain 777 permission on a Subfolder and it's Subfolder and files?
I have created a folder xyz & gave 777 permission on that folder, along with its Subfolder and files with full permission.
I want that if any user creates a Subfolder or files inside xyz folder ...
2
votes
0
answers
283
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 ...
2
votes
0
answers
204
views
pure-ftpd doesn't apply umask to file permission
I'm trying to set up pure-ftpd on Ubuntu 22.04.1 LTS with a default file permission for uploaded files, but it doesn't seem to apply my umask config for some reason.
I want the permission to be 660 ...
2
votes
0
answers
431
views
Docker volume permissions broke after copying
I am using Docker and Docker Compose to manage my containers. For backup reasons, I previously had all my Docker files (volumes etc.) running on /home/docker which was symlinked via /var/lib/docker -&...
2
votes
1
answer
11k
views
Firefox Permission Denied Errors in Ubuntu 22.04
The OS is Ubuntu 22.04. This OS installation is highly customized. It has a ZFS encrypted file system, and RAID. The details, if you wish to see them, can be downloaded here:
https://www.mediafire....
2
votes
0
answers
872
views
How to modify Firefox's AppArmor profile to allow evince to open links
When I try to open a link from a PDF using Evince I get an error message in the terminal.
env: ‘/snap/bin/firefox’: Permission denied
It used to work when Firefox wasn't a snap package.
I think the ...
2
votes
0
answers
2k
views
Common answers to "how do I use docker CLI without sudo?" aren't working for me; what do I do?
I am trying to use Docker CLI without sudoing every command.
For context, I am new to Linux. I've used Linux on a DigitalOcean server for about 30 hours total. This is my first Linux laptop. It is on ...
2
votes
1
answer
1k
views
Ubuntu auto mount exfat drive allow_other non root users access
Issue
I have an exfat formatted drive.
I'm able to unmount and mount it on an ubuntu 20.04 desktop.
I can read files from it, however, I can only write files as root/sudo user. I've tried a lot of ...
2
votes
0
answers
5k
views
SSH Server refused our key: Invalid user
I wanna log in via public/private Key to SSH.
I use the Port given in the sshd_config I added two users. Both have
the folder .ssh(chmod 700) and the file authorized_keys(chmod 600).
User A can ...
2
votes
1
answer
885
views
Ubuntu 20.04 LTS Server : Error Opening File : Permission Denied
I am attempting to upload a file to IPFS from a mounted hard drive and keep getting this error that says permission denied. You can see the permissions below and I should have access.
ubuntu@ubuntu:/...
2
votes
0
answers
794
views
Umask not working when using SFTP/SCP directories to achieve 755 for directories, 644 for files
I'm using EC2 Ubuntu 20.04 and got the umask set to 022. But however, any file/directory creations are landing up with permissions 775 for directories and 664 for files, just like default 002 umask is ...
2
votes
0
answers
470
views
AppArmor - restrict a directory by default (whitelist)
I'm looking into AppArmor and from what I have seen, it seems like it allows access to everything by default and only puts access restrictions to application for which a profile has been created.
Is ...
2
votes
0
answers
87
views
I am only able to access backup hardrive using sudo nautilus
I have a backup harddrive on my computer, and after install Ubuntu 18.04, if I click my backup harddrive in nautilus, I get the error message
Could not display "Backup 1.6TB". The file is ...
2
votes
0
answers
198
views
After installing Ubuntu 21.04, programs can't write to NAS
I've had a couple of programs copying or moving files from my Ubuntu PC to my NAS - FreeFileSync for backups and a custom Python script for maintaining my media library. Since upgrading to 21.04 both ...
2
votes
0
answers
195
views
Can't Apply Changes to Permissions Within a Folder's Enclosed Files in Ubuntu
Issue with the GUI
I'm using Ubuntu 16.04 LTS. I am trying to allow all enclosed Files and Folders to have full Read and write access as well as Create and delete files. Currently, it is set to Read ...
2
votes
0
answers
3k
views
chsh: PAM: Permission denied
I've seen the other threads on this, but nothing as specific and explicit as mine.
I'm trying change my Shell from standard Bash to ZSH.
Using chsh -s /usr/bin/zsh gets me the following error: chsh: ...
2
votes
1
answer
267
views
systemd --user unit, mapp .img as loop device
I want to use a systemd --user .service to map an image file to a loop device at user login. The the service resides in /etc/systemd/user. The image in question resides in /home/$USER/my.img
[Unit]
...
2
votes
0
answers
1k
views
docker container stop denied by apparmor
I use docker 19.03.13 installed from snap on my 20.04 machine. Long time all works well but now I can't stop containers that I have started as unprivileged user. Stopping as root as also not possible.
...
2
votes
0
answers
2k
views
Samba share setting permissions on Windows fails
I have set up a samba4 ADC by the TecMint tutorial, Create a Shared Directory on Samba AD DC and Map to Windows/Linux Clients – Part 7, on Ubuntu 16.04.
It works well but when coming to configure the ...
2
votes
2
answers
6k
views
How to give root permission for permanent to an existing user?
There are two user like "root" and a "normal" user In my Ubuntu . Now I want to give permanent root permission to the "normal" user without losing any data . I actually ...
2
votes
1
answer
2k
views
Launching root user installed application as a standard user
I am a newbie in Linux. Please help me out of this mess.
I've downloaded and installed an application as root and created its desktop shortcut launcher and worked.
On switching to the standard user's ...
2
votes
1
answer
1k
views
execv error: Exec format error Running RPCS3
Fairly new Linux user here.
I'm currently attempting to install the RPCS3 PlayStation emulator on my Ubuntu 20.04 system for an AI related project I'm working on. Following the guides provided, I ...
2
votes
1
answer
346
views
There were no valid user or no valid group when I try to mount NTFS partition with ntfs-3g usermap
I want to mount a NTFS external drive that must have read and write access for my user profile. So following the NTFS-3G guide, to generate the mapping file, I have tried this:
sudo ntfsusermap /dev/...
2
votes
2
answers
6k
views
Permissions group dialout don't apply
I'm using an application that needs to communicate through a usb-serial cable, using /dev/ttyUSB0.
Both /dev/ttyUSB0 and the user who owns the process are in group dialout, and the rights on the port ...
2
votes
0
answers
328
views
The snap version of gedit won't let me save files. How can I fix this?
EDIT
This question can be closed, because it's being looked at by the snap team.
gedit version 3.36.2 has a bug that causes me formatting problems (it affects many files of mine, so there's no easy ...
2
votes
1
answer
96
views
run a script if error prevents running any other script
Because of sync issues, my bash scripts sometimes lose run permissions.
I have scripts hooked up to keyboard shortcuts, and sometimes I'm not sure if there's a lack of response from the shortcut ...
2
votes
0
answers
459
views
Screen sharing snap applications
Recently, I have been using Ubuntu as a platform to tutor a Data Structures & Algorithms course remotely. I decided the best way to go about teaching remotely would be to use my drawing tablet and ...
2
votes
0
answers
1k
views
Launch process with realtime scheduling without root in WSL2
Running Ubuntu 20.04 from within WSL2 I would like to be able to use realtime scheduling as a normal audio group member. Ultimately this is for JACK. Everything works as root but this is not ideal.
I ...
2
votes
0
answers
77
views
Re-launch Chrome from a guest account
Chrome crashed while I had a few tabs open, on a guest account with Ubuntu 16.04.
I want to re-launch Chrome before signing out of this guest account, so that I can get my tabs back, before signing ...
2
votes
1
answer
2k
views
SFTP - How to Set Permission to Multiple Users
Hi I am New to Ubuntu and Don't know how to give permissions.
I have setup SFTP on WSL Ubuntu and i want to give permissions based on their role.
for example : I want to access One folder /data/...
2
votes
0
answers
165
views
Apps can't reach partition but i can
i am dualbooting ubuntu 20 with windows 10.
I can reach it using nautilus or terminal and edit without sudo but when apps try to reach it (npm, onlyoffice, deluge, firefox) they get permission error. ...
2
votes
0
answers
653
views
Not able to stop mysql --skip-grant-tables --skip-networking?
I used "--skip-grant-tables --skip-networking" command for reset root password. But after that my database running on the same mode. I completely uninstall mysql from my Ubuntu 18.0 by below ...
2
votes
0
answers
460
views
Giving user subdirectory access without giving superdirectory access
I do not have the permissions to change my user folder's permissions, yet I need to give a collaborator (read and write) access to the user/foo directory without giving them access (no read and no ...
2
votes
1
answer
6k
views
python3 is broken on Ubuntu 20.04 and I am unable to fix it
I somehow messed up the python3 environment in my Ubuntu 20.04 (upgraded from 19.10). I do not know how this exactly happened, but after rebooting I am not able to start the gnome-terminal anymore. ...
2
votes
2
answers
7k
views
Shared Folder permission Denied on Ubuntu 18.04
I have a strange problem with Ubuntu file permissions. I have a fresh ubuntu installed server and I've mounted a shared drive. sudo mount //Hostname:ifs/path/to/directory/file /mnt/my directory. The ...
2
votes
1
answer
263
views
snap home read plug kdenlive on 20.04
How do I get kdenlive to open files on a shared user other than my own home directory?
Do I have to change the value of the snap home interface read-plug to "all"? If so, how to achieve this?