Questions tagged [ownership]
File ownership is a way to manage files of different users and share files between users of same groups. Every file in Linux is managed by a specific user and a group. The chmod command helps to define file permissions separately for user, group and others.
171
questions
1
vote
0
answers
21
views
Unable to edit copied images from other sources with GIMP
I am unable to open and edit copied images from other sources (phone, other PC). I am using Gimp and Ubuntu 24.04 LTS. Image viewer opens those normally. Just getting a message 'permission denied'.
By ...
0
votes
1
answer
95
views
Samba Share with multiple owners on client system
I have a large data folder on one of my servers that for reasons too long to go into, I would like to move to a dedicated NAS (Openmediavault) then share back to the existing server.
Within this are ...
-1
votes
2
answers
124
views
Should MediaWiki's LocalSettings.php be owned by www-data or root?
I help maintain an internal server (Ubuntu 20.04.6) for my research group and am still teaching myself the ins and outs of server administration. The server hosts a variety of services, including ...
0
votes
0
answers
60
views
using gnome Disk utility to change ownership of ext hard drive
My old Ubuntu computer has crashed but I luckily made encrypted backup on an external hard drive using gnome
Disk utility. I have now a new computer with a shiny new Ubuntu 24.04 but when I try to ...
-2
votes
2
answers
90
views
Need detailed clear instructions in English how to get ownership of my partitions back
I posted this on another forum, and days later I got two one sentence answers written in gobbledygook. I've no idea what they are talking about OR what it specifically is they want me to do - or, ...
0
votes
1
answer
64
views
Problem changing owner and permissions on new external drive
I just installed a new 2TB external drive (Ubuntu 20.04), created one partition, and formatted it to ext4. I mounted it to /mnt/ssk2TB. Now the drive shows in my Nautilus file explorer, but when I ...
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:
$ ...
0
votes
0
answers
81
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 ...
-1
votes
1
answer
403
views
How to chown of a directory in another disk? [duplicate]
I have a dual boot with ubuntu 22.04.2 on one disk and windows 10 on another. The disk with windows is under the user 'lucas', but this provides no security whatsoever for any files in the windows ...
7
votes
1
answer
2k
views
scp: How to change ownership of folder and files while transferring files
When I transfer folder with files from srv1 with the username srv1 to srv2 with the username srv2 then the transferred folder and its containing files on srv2 are keeping the ownership srv1
scp -r /...
0
votes
1
answer
99
views
Bluemail notification sound - Permissions under snap folder
I'm relatively new to Ubuntu and Linux in general, so I'll try to explain the best I can.
I want to change the sound notification of my Bluemail snap app but there are no options in the settings, so I ...
0
votes
1
answer
2k
views
Correct ownership and permissions of /media folder and folders of external drives
I was trying to run a synchronization program to sync files on a drive and on my computer.
The synchronization program said it could not access the files on the USB drive.
I changed the permissions ...
0
votes
0
answers
35
views
I've created a live Ubuntu USB and resized partitions. What do I need to do to access and use those partitions?
I've created a live Ubuntu USB and resized partitions. What do I need to do to access and use those partitions?
Here's what fdisk -l gives me:
Disk /dev/sda: 57.33 GiB, 61555605504 bytes, 120225792 ...
0
votes
0
answers
88
views
Migrating ownership from macos
I switched from Macos to Ubuntu, now I am trying to own my mac homefolder with Ubuntu. I thought to be smart and use the same username (ruut) and password for the new account and homefolder, but that ...
0
votes
0
answers
191
views
Set group ownership and permission for new created files/folders
I found several questions like that of mine, but none of them worked for me.
I have a site folder /var/www/afos2.local/html.
Apache is running under www-data user.
I have created a group site_afos2. I ...
0
votes
1
answer
665
views
Recommended ownership of ~/public_html for apache?
Variations of this have been asked and answered here before, but I'm more after best practice from the options I list.
I'm running Apache and want to allow use of ~/public_html - but I'm wondering a ...
0
votes
0
answers
28
views
files and folder created by a user get ownership of a differnt user when created at specific location
I have a folder /vagrant which is owned by user vagrant who is in group vagrant.
then if I switch to user root or ansible user and create a directory at /vagrant path.
it gets ownership of vagrant:...
1
vote
1
answer
587
views
How to change ownership of a remote file tree
I have a tree of files on a remote server, and I want to obtain ownership of them. The tree is mounted at /Musique. I tried chown -R paul /Musique but I got an error message "Invalid argument&...
0
votes
1
answer
1k
views
Why I cannot change the owner of files in a mounted directory?
I used the following command to mount a remote directory on an Ubuntu 20.04 machine:
sudo mount -t cifs -o username=tidy //192.168.1.11/tidy-mine /media/tidy/f_folder/
When I use the command ls -l,...
0
votes
2
answers
3k
views
Cannot change the ownership mounting ntfs drive
Why I cannot change the ownership on mounting ntfs drive?
I give uid=1000,gid=1000, etc in my /etc/fstab file, but found it is not working. So I'm testing it out on command line:
root@host:~# mount | ...
1
vote
1
answer
5k
views
How to create an FTP/SFTP user to manage /var/www which is owned by www-data
I am trying to create an FTP user that can manage the /var/www directory which is owned by www-data.
I have seen a post suggesting this:
chown -R newuser:www-data /var/www
How do I create a user and ...
-1
votes
1
answer
601
views
Have to take ownership of USB port after each reboot
I have a laser engraver. I was having issues getting Ubuntu to talk to it via USB. I finally sorted that out, but now when I reboot, I have to run the command below every time, or I can't talk to the ...
1
vote
1
answer
829
views
Apache file ownership and envvars
I use Ubuntu 20.04. I have edited /etc/apache2/envvars to change the run user to userA: export APACHE_RUN_USER=userA
When I run this PHP script from W3 Schools to upload a file, the upload works - but ...
-1
votes
2
answers
1k
views
Change directory owner/group from root to a user
when trying to change the ownership of a directory i get the error:
chown: changing ownership of '/home/tadpoles': Operation not permitted
I even get the above message when i do sudo -s and ...
0
votes
3
answers
1k
views
Lubuntu 20.04 denies my own hard disk partition any access
I have a hard disk partition with no mount point and freshly formatted at ext4 file system. I want to store my own files there. But trying to create anything there tells me that permission is denied. ...
0
votes
0
answers
175
views
change of root ownership cause segmentation error
I know this could be an smarter question but since I spent a whole day to fix this, then I dare to ask help to save time for redhat exam. I changed the ownership of root to user and then everything ...
1
vote
3
answers
730
views
How to write a shell pipeline to print the group owner of all sub files a directory?
I need to know the group owner of the files in a specific directory, including the files in its subdirectories.
0
votes
1
answer
637
views
Setting Brave / Chrome Workspaces Permission Issue
I work on local websites and want to add workspaces in Brave Dev Tools. When I try to add the folders, I get the error
Could not read the contents of var. Error opening directory '/var': Permission ...
3
votes
0
answers
1k
views
Change owner through graphical interface in standard Ubuntu (with Gnome Shell)
Users can be confronted with the need to change ownership of a drive. One obviously can use the terminal, but is there currently a supported way to change ownership using a graphical tool in Ubuntu ...
0
votes
1
answer
467
views
Change default icon for VLC media player Ubuntu 20.04?
How to change the default orange cone icon for the VLC media player Ubuntu 20.04?
0
votes
0
answers
54
views
Default permissions of all files in ubuntu
I executed the below command.
sudo chown -R $USER:$USER $HOME/
Now I'm not able to edit preferences in the terminal. Some weird things are also happening like some app images in the home directory ...
2
votes
2
answers
11k
views
Ubuntu 20.04 systemd-coredump user ownership
My Ubuntu 20.04 kinda crashed. That is, in the middle of work mouse started jittering and and then froze completely. This has happened before (once per 10 days), it would usually come to senses, but ...
0
votes
2
answers
341
views
How to change the owner of the folder named $RECYCLE.BIN in ubuntu 16.04 LTS?
I want to change the owner from root to user of a folder named $RECYCLE.BIN. I'm using ubuntu 16.04 LTS. I'm new to ubuntu.
0
votes
0
answers
79
views
How to change back ownership? [duplicate]
I change owner of some root files and folders like /etc/sudoers to www-data by mistake! And now I can't use "sudo" at all!
How can I change them back to my user?
It a ubuntu 18.04 server and I can ...
1
vote
1
answer
929
views
How to restore my Firebird database and modify owner settings in a single command line?
I am using Ubuntu 18.04.4 LTS and I've recently upgraded from Firebird 2.5 to Firebird 3.0.
Prior to upgrading, I was restoring my local database with the following unzip&replace command:
zcat /...
0
votes
0
answers
35
views
Gaining write permissions on internal hard drives (formally Windows drives)
I have a problem and hope you can help me. I have two hard drives mounted, which were originally created under Windows. Windows has been removed and Linux is the only operating system installed. The ...
-1
votes
1
answer
3k
views
How do i set my Downloads dir in home as default for downloading file?
I accidentally moved my Downloads folder to some dir in usr. I moved it back to home but now all my files get downloaded in Documents and Downloads dir have root as owner have permission to create and ...
2
votes
3
answers
19k
views
What does chown 999 mean?
I know what chmod (change mode) and what chown (change owner) do.
I also understand what the numbers mean after chmod do.
I was going through a docker tutorial and I saw chown 999 being used.
What ...
1
vote
1
answer
2k
views
nautilus/nemo/other file manager - suggestions for more accessible GUI-based owner management?
Short version
TL;DR - When running nemo/nautilus with elevated privileges*, there are a TON of users/groups on the permissions tab... they're all jammed in non-searchable drop-downs that don't have ...
2
votes
1
answer
1k
views
Ubuntu 19: How do I mount an old HDD?
I recently bought an SSD where I installed Ubuntu 19. I decided to use my old HDD as extra storage. However, the mounted HDD is unusable as it requires root access. I can't change it from the ...
0
votes
1
answer
770
views
Need help to fix owner, groups and user permissions in Xubuntu 16.04.6
Some time ago I messed up my system users and groups permissions, now I can't run users-admin command, the output is : the owner of /home/vladimir/.config/ibus/bus is not vladimir!(the owner is root), ...
1
vote
1
answer
1k
views
How to undo: sudo chown -R username:username on home
I accidentally ran the command:
sudo chown -R username:username *
on home directory (username = mili). Now I often have problems with group permissions when working on projects.
Fix that work is ...
0
votes
1
answer
6k
views
Using chown successfully but not actually changing user ownership in Ubuntu bash on Windows 10? [duplicate]
I'm using the Ubuntu bash on Windows 10(v1804) and am experiencing a problem with the chown command. I'm trying to change the ownership of a file I created on my desktop with the following path:
mnt/...
0
votes
0
answers
183
views
Ownership issue (homer software)
I am trying to install homer software and every time its not completing, the folder is inside my home directory and i started with sudo then to i am unable to install, can any 1 help me to resolve ...
1
vote
1
answer
3k
views
sleep not working in service
I put ExecStartPre=/bin/sleep 60 into a unit file (service) in 18.04 Ubuntu
[Unit]
Description=Berkeley Open Infrastructure Network Computing Client
Documentation=man:boinc(1)
After=network-online....
1
vote
0
answers
4k
views
PHP returns "permission denied". Possible ownership issue?
As an update. I just figured that it works okay for one level. For example, mkdir('/var/www/laravel/storage/first', 777, true) but doesn't work when there are multiple levels like mkdir('/var/www/...
1
vote
1
answer
3k
views
.gnupg/ and gpg.conf owner and permissions to satisty both GnuPG and Enigmail
Enigmail wants $USER to have the write permission on ~/.gnupg/ directory but the gpg tool then complains about insecure permissions :
$ ls -ld ~/.gnupg
drwxrwx--- 1 root xyzt 248 févr. 25 16:34 /home/...
1
vote
1
answer
2k
views
How to create a .tar.gz file owned by a specific owner and group?
I want to create a tar.gz file of a directory which will be owned by a certain user and group (and not by root, who is creating the archive).
Basically, I want to combine the following to one single ...
1
vote
0
answers
2k
views
How to check if TPM2.0 is owned and if TPM is enabled in Ubuntu 16.04?
Is there any command to check if TPM2.0 is owned and if TPM is enabled on Ubuntu 16.04?
We are using TPM2.0, Intel TXT, Ubuntu 16.04 and DL380Gen10 server.
0
votes
0
answers
104
views
Do groups own files?
I assumed that if a user was in a group, it would have access to the files associated with it, e.g.
drwxrwxr-x 9 bitnami rootandbooly 4096 Jan 10 16:31 htdocs
boolyXXX@XXXX:/opt/bitnami/apps/...