Hi everyone,
New user to nas4free. I hope this is the right forum, not sure if i had to post under "Local Users & Groups" or here.
I'm having a "strange issue" and i have been searching for quite some time for the right way to set this up but unfortunatly i haven't been able to find the answer i need.
So i hope you guys can help me out and pardon my ignorance...
NAS4Free 9.1.0.1 (revision 847) x64-full
INTEL 440BX Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 9216MiB RAM
Intel PIIX4 UDMA33 controller PLIP network interface
My ZFSPool;
/mnt/MainData01
I have set up a Dataset to the following location
/mnt/Maindata01/tank01
12 drwxrwx--- 10 root wheel 10 Sep 24 14:03 tank01
This is how i set up my directory structure for users to be shared with CIFS;
/mnt/MainData01/tank01/Media
The permissions;
36 drwxrwx--- 5 root media 13 Sep 22 13:50 Media
I have create a user "test".
It's primary group is media and no secondary group.
I have created a CIFS share "Media" with standard options except;
i unchecked Enable Guest Access
i checked Enable ZFS ACL
I also created an admin user belonging to the admin and wheel group to test if i can at least connect to the share.
Im trying to connect from a Windows 7 and Windows 2008 R2 install.
The admin account can connect just fine to \\<my-nas>\Media
Obviously since wheel basicly says its a root account.
But my " test" account i get an access denied when trying to connect to \\<my-nas>\Media
With my basic understanding the permissions;
36 drwxrwx--- 5 root media 13 Sep 22 13:50 Media
state that the root account is owner and has full rights (rwx)
De group is media and also has rwx.
The everyone group has no rights.
I am just not understanding why my test account can't connect to the share...or at least, just gives an access denied.
Any help is greatly appriciated!
Kind regards,
Michiel
PS i've also added some screenshots to help clarify.
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!
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!
Userrights / Sharing problem
-
drdoo
- Starter

- Posts: 17
- Joined: 24 Sep 2013 14:26
- Status: Offline
Userrights / Sharing problem
You do not have the required permissions to view the files attached to this post.
-
drdoo
- Starter

- Posts: 17
- Joined: 24 Sep 2013 14:26
- Status: Offline
Re: Userrights / Sharing problem
I think i have found a solution. Somehow i have to smbshare the root folder (dataset) with the appropriate group.
Now i can access the the underlying folder directly. Pretty annoying...
Anyone know how can instantly access a folder lower in the hierarchy without giving rights at an upper level?
Now i can access the the underlying folder directly. Pretty annoying...
Anyone know how can instantly access a folder lower in the hierarchy without giving rights at an upper level?
-
00Roush
- Starter

- Posts: 64
- Joined: 15 Sep 2013 09:27
- Status: Offline
Re: Userrights / Sharing problem
At a bare minimum you might want to change the owner on your share so that it is not root. For me I actually decided to mimic my windows users on my NAS4Free server. So I setup a group called Users. Then I added my user name, my wife's user name, and Administrator as users. Passwords were set the same as what is used to log in on my windows machines. All these users were added to the "Users" group. Then I changed the permissions on my shared directory to drwxrwx---+ and set the group to Users. Last step I changed the owner of the shared folder to Administrator.
For your case I think it could be your setup...
/mnt/Maindata01/tank01
12 drwxrwx--- 10 root wheel 10 Sep 24 14:03 tank01
My understanding of this is that no one but root or someone in the wheel group has access to tank01 folder or below. However I am not 100% yet on permissions. Try changing the group for your tank01 folder to media instead of wheel.
Let us know how it goes.
00Roush
For your case I think it could be your setup...
/mnt/Maindata01/tank01
12 drwxrwx--- 10 root wheel 10 Sep 24 14:03 tank01
My understanding of this is that no one but root or someone in the wheel group has access to tank01 folder or below. However I am not 100% yet on permissions. Try changing the group for your tank01 folder to media instead of wheel.
Let us know how it goes.
00Roush