ZFS directory permissions in Ubuntu Linux

copz1998

Dabbler
Joined
Sep 5, 2022
Messages
22
Recently, I backed-up my Truenas Scale (v.22) files to an external USB drive. All ok. Then, I wanted to copy files/folders to my Ubuntu Linux server as it is used as my Plex development server. I learned that I needed to download and install a ZFS application (zfsutils-linux) for Linux, which I did and I learned how to import the files/directories from the USB drive (in ZFS format) to my Linux server. Now i have the files/folders on my ubuntu Linux drive partition and mounted, but i can access the files. ugh.

Question - how can i change the folder/file permissions so that i can access them in Linux? I have tried several ZFS commands include "allow" with negative results. Is there a different method to use?

Any suggestions much appreciated!

----------
Now I have the files but am unable to access them. I can see the drive the files cam from (/dev/sdd) in fdksk -l:
Disk /dev/sdd: 4.55 TiB, 5000981077504 bytes, 9767541167 sectors
Disk model: One Touch HDD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F1FEB8A7-862E-4489-9662-CA7CB95885AB
-------------
When I look at the permissions and try to CD into the folders to recover the files, I get an error ( do use sudo)(I do not hacve the correct syntax to make use of the -s or -D switches):
sudo: cd: command not found
sudo: "cd" is a shell built-in command, it cannot be run directly.
sudo: the -s option may be used to run a privileged shell.
sudo: the -D option may be used to run a command in a specific directory.
------------
The folder permissions look like:
drwxrwx--- 7 972 1003 10 Oct 4 07:22 Backups
drwxr-xr-x 7 root root 8 Oct 2 17:34 ix-applications
drwxr-xr-x 2 root root 2 Dec 11 21:25 nextcloud-data
drwxr-xr-x 2 root root 2 Dec 19 01:16 plex
d---rwx--- 15 root root 174 Feb 24 01:47 Plex_Movies
d---rwx--- 74 root root 75 Oct 2 17:17 Plex_Music
drwx------ 10 root root 11 Oct 2 21:03 Plex_Photos
---------
Zpool Status shows:
/temp_pool$ sudo zpool status
pool: temp_pool
state: ONLINE
scan: scrub repaired 0B in 02:05:31 with 0 errors on Sun Jan 1 10:05:33 2023
Config:

NAME STATE READ WRITE CKSUM
temp_pool ONLINE 0 0 0
f5351046-b6c3-421d-a541-82be44bffa92 ONLINE 0 0 0
----------
Zpool List shows:

NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
temp_pool 4.53T 851G 3.70T - - 0% 18% 1.00x ONLINE -
 
Top