SOLVED Issues with sharing (write permission) and time machines (3 pc and 2 users)

Status
Not open for further replies.

davydden

Dabbler
Joined
Jun 2, 2016
Messages
25
EDIT: solution/workaround is the next post below.
----

I am performing initial setup of FreeNAS 11 and have some issues with TimeMachine and sharing (write permissions for users).
I have 3 PC, two of which have to have time machines and all three should have access to the main data set. I have 2 x 4 Tb drives in mirror.

1. I created 3 datasets: NAS_DATA (2.5 TiB), NAS_TM_User1 (500 GiB) and NAS_TM_User2 (500 GiB).
2. I have 3 AFP shares (2 with TM enabled and the same limit of 500 GiB).
3. And I have 3 users and 3 groups (for each PC): tm_user1, tm_user2, nas_data. Each one is set as an owner of the corresponding data sets. The first two users are also in "nas_data" group (in order to get access to the main dataset via same username/password).

All data sets have read/write/execute permission ticked on for "owner" and "group".

(i) First problem is that I have write access to "NAS_DATA" only from "tm_user1" (not even the owner "nas_data", there is no write access from "tm_user2" either). The other two can connect and read, but not write. From GUI and permission, everything should work, as far as I understand. The only difference between the users is that "tm_user1" is on High Sierra, whereas the other two are on Sierra. But I don't see how it's related to write permissions.

(ii) Second problem is that initially I accidentally created time machine data sets with 512Mb size (instead of Gb). Then I fixed the volume size and now it shows correctly when I connect to the time machine from my mac, BUT eventually I still get an error that TimeMachine drive is too small (512 Mb) and back up can't be done. This looks like a bug somewhere in Shares (or datasets?) that still partly remembers the initial old dataset size.
 
Last edited:

davydden

Dabbler
Joined
Jun 2, 2016
Messages
25
found couple of relevant discussions https://forums.freenas.org/index.ph...-write-to-files-created-by-other-users.57961/ and https://forums.freenas.org/index.php?threads/permissions-mystery-mac-clients.52819/ , will see if I can sort out the first problem...

EDIT: https://forums.freenas.org/index.ph...les-created-by-other-users.57961/#post-409662 solved the first problem. I think I initially created the folders from "tm_user1" without right group permissions. This was fixed by "Set permissions recursively".

The second problem is solved by deleting and re-creating dataset and shares for Time Machines. Deleting and re-creating just shares did not help.
 
Last edited:

davydden

Dabbler
Joined
Jun 2, 2016
Messages
25
Please feel free to mark this topic as "Solved", but i still have a feeling that the domain size changing and AFP TimeMachine. If I am right, it should not be necessary to delete the TimeMachine datasets if they are being enlarged.
 
Status
Not open for further replies.
Top