File permissions in attached storage across jails

Status
Not open for further replies.

Luke Merry

Cadet
Joined
Dec 22, 2016
Messages
1
Hello, I just recently set up my first FreeNAS box. I'm blown away by the awesomeness so far, but there is one issue that I can't seem to figure out. I'm sure that it's a noobish mistake. Here's the scenario:

Two jails, each with the same dataset mounted as storage. Both jails have an identical user, created with 'adduser' within each, with the id of a matching top-level freenas user entered as the userid. Both of the users have also been included in the 'wheel' group.

SSHed into one of the jails as said user, I created several folders within the dataset as follows (they didn't start out as 777 permissions but in the course of trying to figure out this problem i changed it to that):

Code:
[user@jail_a /mnt/share_a]$ ls -al
total 83
drwxrwxrwx  6 root	  wheel   6 Dec 21 18:40 .
drwxr-xr-x  3 root	  wheel   3 Dec 21 18:37 ..
drwxrwxrwx  2 user	  wheel   2 Dec 21 18:40 folder_a
drwxrwxrwx  9 user	  wheel  13 Dec 22 18:01 folder_b
drwxrwxrwx  5 user	  wheel   5 Dec 22 18:01 folder_c

Now, in the same dataset mount on the other jail, I get:

Code:
[user@jail_b /mnt/share_a]$ ls -al
total 1
drwxr-xr-x  2 root  wheel  2 Dec 21 18:37 .
drwxr-xr-x  4 root  wheel  4 Dec 21 18:37 ..


I have a similar issue if i create, say, a windows SMB share on the same dataset. I can create files there but I can't see any of the files that should already be there. Any ideas?

Thank you, kind folks.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I would double check Jails > Storage to make sure the datasets are mounted. something is obviously not working as intended
 
Status
Not open for further replies.
Top