hi, in this video i will show you how to share and set permissions on Synology NAS
Here I create a shared folder for the sales department
There are two groups in the sales department, two people each
First of all I create an account for each person, each person has a separate account
You allow accounts that use the SMB service to access the shared folder on the Synology NAS
So I have created 4 new accounts for James, Mary, Robert and Jennifer
Next I create groups, group 1 and group 2
Group 1 has James and Mary
Group 2 has Robert and Jennifer
After creating the users and groups, next you create a shared folder named Sales as mentioned at the beginning of this video.
When creating the Sales folder I will not set the permissions because the permissions will be set in the next step
Next you set read-only permissions for both groups to the folder named Sales
Thus, members of the two groups can discover the Sales folder over the network but only have read permission
In the Sales folder I create two more folders for two groups, that is the Group 1 folder and the Group 2 folder
I will set different permissions with these two folders
For the folder named Group 1, you set read and write permissions for the members of group 1
Users of group 2 cannot read or write to the directory named group 1
Similar to the folder named Group 2, users of group 2 can read and write
But the group 1 users don't have read or write permission to the folder named group 2
Thus, two groups in the Sales department cannot read or write to the other group's data
But users in the same group have read and write permissions in their group
To check if the permission settings are working properly I go to the Sales folder with the username of James
Thus James can only access the folder named Group1 and cannot read or write to the folder Group 2
James can read and write data in the Group 1 directory
James can create, edit, and delete files in a folder named group 1
As for Jennifer in group 2, she can only read and write with a folder named Group 2
And Jennifer cannot read or write data with the folder named Group 1
Next I set different permissions for the users in the same group
Suppose Jennifer and Robert do not want other members of the group to delete or edit their data, what to do?
We will set permissions for members of the same group
You edit group 2 permissions for the folder named group 2
Instead of read and write permissions you set read-only permissions
I will create separate folders for Jennifer and Robert of group 2
For Jennifer's folder, Robert has only read permission and no write permission
But Jennifer has read and write permissions to her folder
Similarly Robert has read and write permissions to his directory
As for Jennifer, she only has read access to Jober's folder
So Jennifer and Robert can read each other's data, copy each other's data, but can't delete or edit each other's data.
After the setup was complete, I went to the shared folder with Jennifer's account to check
So Jennifer only has read permission for the folder named Robert
and Jennifer has read and write permissions to the folder named Jennifer
I then use Robert's username to access the shared folder
Robert has read and write permissions to his directory and read permissions to Jennifer's directory
Thus, members of the same group can share data with each other without fear of their data being damaged by others.
But John is a special member of group 2, he has read and write permissions to the data of group 2
So how to set permissions for John
You create a new account for John and allow him to use the smb service
Unlike Robert and Jennifer, John has read and write permissions with the folder named Group 2
So John can read and write to Robert and Jennifer's data
So John has more rights than Robert and Jennifer
Next I will show you how to optimize shared resources by setting limits on shared folders.
Here I set it up so that members of the Sales department can only upload up to 150GB of data
To do that you set quota for the folder named Sales
This will make it safer for other departments to use shared space on Synology
Thanks for watching, don't forget to like and subscribe