This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

My Windows 8, 8.1 Restricted Shares Working Create

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
arxaios
Starter
Starter
Posts: 19
Joined: 29 Apr 2015 11:19
Status: Offline

My Windows 8, 8.1 Restricted Shares Working Create

Post by arxaios »

Well after a few days I managed to setup the NAS4FREE to share restricted folders to any windows 8 , 8.1 user ONLY. !

I am sharing this know how with you and I want your opinion on the subject because it didn't worked with other Groups I made ..!! I will explain after this little Tutorial of mine.

-----------------here goes ------------------------------

Disks -> Mount point -> put a name for your mount for example "Public"

Give the following Access :
owner = root [read,write, execute (ALL)]
group = Wheel [read,write,execute (ALL)]
others [read (only)]


Access -> Users and Group

Create any users you like but put them in the primary group Wheel. (Important)

You go to services -> SSH

You enable the service and nothing else.

You fire up a program called WinSCP and sftp to your server with root privileges or use your own ssh client software.

Go to the mnt folder and you will see the Public folder from our example (this is the name
of the mounting point we create earlier)
Inside this folder we make the user folders we want ..!! As many as we want or as many as the users we create earlier.
(TIP: I use the name of folders as the names of the users so to know which is which)
The permissions of these folders must be :
Right click on them and put :
Group = Wheel
Owner = "the user I create earlier in NAS GUI"
Permissions : Owner = read, write, execute (ALL checked)
Permissions : Group = (none checked)
Permissions : others = (none checked)
hit OK button
DO THE SAME FOR THE OTHER FOLDERS

Now go back to the NAS4FRRE GUI and go to services -> CIFS/SMB
Enable this service
Max protocol = SMB3 for windows 8 , SMB2 for windows 7 , and NT1 for XP client Machines
(very important to choose this according to the PC client running OS computer)
If you use WORKGROUP leave everything as is and push the button -> save and restart

You go to Servises -> CIFS/SMB -> shares

make shares with exactly the same name of the ones you create in the SSH connection
Uncheck enable guest access
leave everything as it is.
click save button and DO NOT FORGET TO CLICK the apply changes button.


-----------The end . ------------------------------------------

This is it and every user and folder will have access restricted to the user you specify.
It is working on Windows 8 and 8.1 client computers

TIP : when you create a user there is a option Shell . Here you choose scponly IF YOU WANT to have every
user to have access restrict in the folder you specify through SSH Servise (SFTP)
The user can see every folder except the folders in other users in the mount point.
Of course he cannot do damage on everything else besides his own folder.
One more thing : in the option home directory you put :/mnt/"mount point name"/"folder of the user"
so that when he/she log on using SSH protocol will automatic go to his/her folder.

Thats it and have a nice day.
My site and Blog are : http://www.arxaios.net
arxaios-net.blogspot.gr (Both are in Greek)


P.S. Now I want to question everyone WHY this didn't work with Group other than the Wheel Group????????????? I tried my own Group name for my Users BUT didn't work at all...anyone knows something else??? Please post.

Post Reply

Return to “CIFS/SMB (Samba)”