Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] file ownership: fuse  (Read 1967 times)

Offline jyp

  • User
  • Posts: 118
[EN] file ownership: fuse
« on: 2019/03/23, 17:25:39 »
Hi
As I prepare to drop luckybackup and use backintime (as suggested by @devil), I  was revising my backup structure and noticed that most of the time, the owner was me (jy) but the group was _fuse_.

I tried to find out why but found nothing really relevant googling the subject. Is it better to use _fuse_ as a group or should I replace it by me (jy)?

Also when I create a directory (000-test), the ownership comes out like this
drwxr-xr-x  2 jy   jy    4096 mar 23 11:28 000-test


Here are some snippets from my system
Code: [Select]
/home/jy$ ls -l
total 334052
-rw-r--r-- 1 jy jy  14454275 Feb 17  2014  01_Adagio_hob-XVII-9_F-major.flac
...
drwxr-xr-x 2 jy jy      4096 Mar 26  2018  Desktop
drwxr-xr-x 2 jy jy      4096 Oct 16  2017  Downloads
Code: [Select]
/hdd01$ ls -l
total 12
drwxr-xr-x 23 jy fuse 4096 Mar 23 11:28 data
drwxr-xr-x  6 jy fuse 4096 Feb 24  2017 music-photos
drwxr-xr-x 30 jy fuse 4096 Apr 11  2018 videos
Code: [Select]
/hdd02$ ls -l
total 16
drwxr-xr-x 21 jy fuse 4096 Jan 15 13:51 data_bu
drwx------ 23 jy jy   4096 Mar 22 17:34 home_bu
drwxr-xr-x  5 jy fuse 4096 Feb 24  2017 music-photos_bu
drwxr-xr-x 31 jy fuse 4096 Apr 11  2018 videos_bu

Thanks for any clue.

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.842
Re: file ownership: fuse
« Reply #1 on: 2019/03/24, 08:21:52 »
Where did you see this? It does not happen in backintime for me, everything belongs to my user, as it should be in /home. That is all I back up. The rest gets imaged by CYA on the main box and Btrfs/Snapper on the notebooks.

Offline jyp

  • User
  • Posts: 118
Re: file ownership: fuse
« Reply #2 on: 2019/03/25, 19:04:11 »
@devil
Nothing happened in backintime yet because I did not run it, just exploring.
I am just wondering how the group id became _fuse_ as I, for sure, did not volontarily assign this group to the _directories/ subdirectories/files_ that I created. Now this group id is everywhere.

But when I create a new directory or a new file, it comes out with normal ownership. For instance
Code: [Select]
...:/hdd01/data$ ls -l
total 104
drwxr-xr-x  2 jy   jy    4096 mar 25 13:51 000-test

...:/hdd01/data/000-test$ ls -l
total 0
-rw-r--r-- 1 jy jy 0 mar 25 13:53 test-file.txt
I am the only _user_  (jy) on that machine.

Would it be better practice to get rid of the _fuse_ group and put back _jy_ ? Is there a reason that _fuse_ has been assigned?
Just trying to understand.

Thanks.

This is the state of my system.
Code: [Select]
...:$ inxi -F
System:    Host: omega Kernel: 4.20.16-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.14.5
           Distro: siduction 17.1.0 Patience - kde - (201703051755)
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
           Mobo: ASUSTeK model: SABERTOOTH Z87 v: Rev 1.xx serial: 130612993600174 BIOS: American Megatrends
           v: 1803 date: 02/17/2014
CPU:       Topology: Quad Core model: Intel Core i5-4670K bits: 64 type: MCP L2 cache: 6144 KiB
           Speed: 800 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
...
Drives:    Local Storage: total: 3.75 TiB used: 928.14 GiB (24.2%)
           ID-1: /dev/sda vendor: Intel model: SSDSC2BW120A4 size: 111.79 GiB
           ID-2: /dev/sdb vendor: Western Digital model: WD2002FAEX-00MJRA0 size: 1.82 TiB
           ID-3: /dev/sdc vendor: Western Digital model: WD2002FAEX-00MJRA0 size: 1.82 TiB
Partition: ID-1: / size: 90.82 GiB used: 12.00 GiB (13.2%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 4.88 GiB used: 119.0 MiB (2.4%) fs: swap dev: /dev/sda3
...
Info:      Processes: 231 Uptime: 6d 22h 57m Memory: 15.54 GiB used: 7.68 GiB (49.4%) Shell: bash inxi: 3.0.32

 When I installed _siduction 17.1.0 Patience -kde_ on my homemade box, I structured it like this
Code: [Select]
...$ df -hT | sortFilesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda2      ext4       91G   13G   75G  14% /
/dev/sdb1      ext4      394G  126G  249G  34% /hdd01/data
/dev/sdb2      ext4      739G  177G  524G  26% /hdd01/music-photos
/dev/sdb3      ext4      689G  156G  499G  24% /hdd01/videos
/dev/sdc1      ext4      394G  125G  250G  34% /hdd02/data_bu
/dev/sdc2      ext4       99G  1.4G   92G   2% /hdd02/home_bu
/dev/sdc3      ext4      689G  177G  477G  28% /hdd02/music-photos_bu
/dev/sdc4      ext4      640G  156G  452G  26% /hdd02/videos_bu...
Code: [Select]
...:/$ ls -l
total 112
drwxr-xr-x   2 root root 12288 Mar 18 13:54 bin
drwxr-xr-x   3 root root  4096 Mar 18 14:08 boot
drwxr-xr-x  20 root root  3900 Mar 25 07:33 dev
drwxr-xr-x   2 root root  4096 Mar 23  2017 disks
drwxr-xr-x 146 root root 12288 Mar 23 11:39 etc
drwxr-xr-x   2 root root  4096 Mar 23  2017 fll
drwxr-xr-x   5 root root  4096 Mar 23 11:27 hdd01
drwxr-xr-x   6 root root  4096 Mar 23 11:18 hdd02
drwxr-xr-x   3 root root  4096 Mar 23  2017 home
lrwxrwxrwx   1 root root    46 Mar 18 13:58 initrd.img -> boot/initrd.img-4.20.16-towo.1-siduction-amd64
lrwxrwxrwx   1 root root    46 Mar 18 13:58 initrd.img.old -> boot/initrd.img-4.20.13-towo.1-siduction-amd64
drwxr-xr-x  19 root root  4096 Mar  4 14:13 lib
drwxr-xr-x   2 root root  4096 Mar  4 14:05 lib64
drwx------   2 root root 16384 Mar 23  2017 lost+found
drwxr-xr-x   3 root root  4096 Mar 24  2017 media
drwxr-xr-x   2 root root  4096 Mar 23  2017 mnt
drwxr-xr-x   3 root root  4096 Nov 23  2017 opt
dr-xr-xr-x 241 root root     0 Mar 18 14:09 proc
drwx------  15 root root  4096 Mar 23 11:27 root
drwxr-xr-x  36 root root   960 Mar 18 14:09 run
drwxr-xr-x   2 root root 12288 Mar 18 13:58 sbin
drwxr-xr-x   2 root root  4096 Mar  5  2017 srv
dr-xr-xr-x  13 root root     0 Mar 18 14:09 sys
drwxrwxrwt  19 root root   760 Mar 25 09:38 tmp
drwxr-xr-x  11 root root  4096 Feb  4 17:09 usr
drwxr-xr-x  11 root root  4096 Mar  5  2017 var
lrwxrwxrwx   1 root root    43 Mar 18 13:58 vmlinuz -> boot/vmlinuz-4.20.16-towo.1-siduction-amd64
lrwxrwxrwx   1 root root    43 Mar 18 13:58 vmlinuz.old -> boot/vmlinuz-4.20.13-towo.1-siduction-amd64
Code: [Select]
...:/$ ls -l hdd01
total 12
drwxr-xr-x 24 jy fuse 4096 Mar 23 12:20 data
drwxr-xr-x  6 jy fuse 4096 Feb 24  2017 music-photos
drwxr-xr-x 30 jy fuse 4096 Apr 11  2018 videos
Code: [Select]
...:/# ls -l hdd02
total 16
drwxr-xr-x 21 jy fuse 4096 Jan 15 13:51 data_bu
drwx------ 23 jy jy   4096 Mar 22 17:34 home_bu
drwxr-xr-x  5 jy fuse 4096 Feb 24  2017 music-photos_bu
drwxr-xr-x 31 jy fuse 4096 Apr 11  2018 videos_bu