Hello
I just restore my yunohost on a fresh install in order to move from 32Bit debian to 64Bit debian on my Raspi4. Globally, everything went fine.
I just have one issue: Most of my data (nextcloud, ebooks, multimedia, etc.) are on an external drive (which I link to the /home
with a symbolic link to replace the “standard” folder) so that I don’t have to migrate them but rather just replug the disk.
Now, most of my files on the disk have strange owner/group, like “mdns” or “metronome” instead of “nextcloud”, multimedia", etc.
I suspect this is because the uid and gid have change during the reinstall?
Could some good soul indicate me what are the correct user/group for following folders including acl?
nextcloud data directory
/home/yunohost.transmission
shared multimedia folders in /home/yunohost.multimedia/share
Thanks for you help
peer
January 11, 2023, 9:49am
2
Hi.
Does this help you?
I don’t have transmission but I guess permissions might be similar to this app:
root@xxxx:/home# ls -hal yunohost.app/ | grep simple-torrent
drwxrwx--- 4 simple-torrent www-data 4,0K mar 29 2022 simple-torrent
root@xxxx:/home#
peer
January 11, 2023, 9:55am
3
I think you also asked for this:
admin@xx:/home$ ls -hal yunohost.multimedia/ | grep share
drwxrwxr-x+ 6 root root 4,0K ene 3 21:21 share
admin@xx:/home$ ls -hal yunohost.multimedia/share
total 24K
drwxrwxr-x+ 6 root root 4,0K ene 3 21:21 .
drwxrwxr-x+ 7 root root 4,0K ene 6 09:40 ..
drwxrwxr-x+ 2 root root 4,0K ene 3 21:21 eBook
drwxrwxr-x+ 2 root root 4,0K ene 3 21:21 Music
drwxrwxr-x+ 2 root root 4,0K ene 3 21:21 Picture
drwxrwxr-x+ 2 root root 4,0K ene 3 21:21 Video
admin@xx:/home$
Yep! Thanks a lot!
Can you also give me getfacl /home/yunohost.multimedia/share/
and getfacl /home/yunohost.multimedia/share/*
?
peer
January 14, 2023, 5:42pm
5
There you go:
admin@xx:~$ getfacl /home/yunohost.multimedia/share/
getfacl: Removing leading '/' from absolute path names
# file: home/yunohost.multimedia/share/
# owner: root
# group: root
user::rwx
group::rwx
group:multimedia:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:multimedia:rwx
default:mask::rwx
default:other::r-x
admin@xx:~$ getfacl /home/yunohost.multimedia/share/*?
getfacl: Removing leading '/' from absolute path names
# file: home/yunohost.multimedia/share/eBook
# owner: root
# group: root
user::rwx
group::rwx
group:multimedia:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:multimedia:rwx
default:mask::rwx
default:other::r-x
# file: home/yunohost.multimedia/share/Music
# owner: root
# group: root
user::rwx
group::rwx
group:multimedia:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:multimedia:rwx
default:mask::rwx
default:other::r-x
# file: home/yunohost.multimedia/share/Picture
# owner: root
# group: root
user::rwx
group::rwx
group:multimedia:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:multimedia:rwx
default:mask::rwx
default:other::r-x
# file: home/yunohost.multimedia/share/Video
# owner: root
# group: root
user::rwx
group::rwx
group:multimedia:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:multimedia:rwx
default:mask::rwx
default:other::r-x
1 Like
system
Closed
February 17, 2023, 8:59pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.