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!

Change Permission in ZFS

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
za3tar
NewUser
NewUser
Posts: 5
Joined: 12 Jul 2012 04:51
Status: Offline

Change Permission in ZFS

Post by za3tar »

Hi there,

I'm new in NAS4Free, but I have little bit knowledge about freeNAS 8,
this is my setting in NAS4Free,
1- NAS4Free 64 bit, last update
2- Dell Desktop
3- 3x1TB HDD configure as single parity raid z

I need help to create datasets with permissions: "I would like to creat dataset with permission for user1, dataset with permission for user2"
and user1 can't access dataset for user2???

how can I do this??

thanks
Last edited by raulfg3 on 19 Jul 2012 16:10, edited 1 time in total.
Reason: hight font used , is no need to shout

zjzxj
NewUser
NewUser
Posts: 2
Joined: 19 Jul 2012 11:22
Status: Offline

Re: Change Permission in ZFS

Post by zjzxj »

I have the same problem!Ask for help

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Change Permission in ZFS

Post by raulfg3 »

You need to understand how unix permision works, please google a bit, there are thousand of web pages that explain this.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

za3tar
NewUser
NewUser
Posts: 5
Joined: 12 Jul 2012 04:51
Status: Offline

Re: Change Permission in ZFS

Post by za3tar »

Hi there,

As I told you I have some knowledge in freenas 8,
I made it with freenas 8 and it was very easy, but when I go to NAS4free I can't do it..

in the documentation there is no explanation for this,
So please tel me how, I don't know anything about unix...

thanks

sjordan
Starter
Starter
Posts: 31
Joined: 24 Jun 2012 21:50
Status: Offline

Re: Change Permission in ZFS

Post by sjordan »

za3tar wrote:Hi there,

As I told you I have some knowledge in freenas 8,
I made it with freenas 8 and it was very easy, but when I go to NAS4free I can't do it..

in the documentation there is no explanation for this,
So please tel me how, I don't know anything about unix...

thanks

your answer is the chown and chmod command. If I have a user called sjordan who is in the group users and I want him to have full access to /mnt/tank0/sjordan I would do the following:
chown sjordan:users /mnt/tank0/sjordan

This is assuming the user dir permissions is set to rwx. I highly suggest you do a quick search on chown and chmod to learn how they work. Once you understand it it is really easy.

za3tar
NewUser
NewUser
Posts: 5
Joined: 12 Jul 2012 04:51
Status: Offline

Re: Change Permission in ZFS

Post by za3tar »

Dear sjordan,

thanks for explanation.. what I want to know in freeNAS 8 I do the setting and the permission from FreeNAS GUI,
how to do the same thing in NAS4Free from GUI..

I know that from shell I can do many configuration, Do I have to learn unix shell to do the configuraion in NAS4Free, so why is the GUI????

thanks again..

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Change Permission in ZFS

Post by raulfg3 »

You can change rwx permision on GUI from: Advanced | Filemanager (quickexplorer), but can't change owner.

PD: To change permision login like root. ( you can use qickexplorer to create, folders or copy / move files between pools or folders in the same NAS).
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

za3tar
NewUser
NewUser
Posts: 5
Joined: 12 Jul 2012 04:51
Status: Offline

Re: Change Permission in ZFS

Post by za3tar »

Dear raulfg3,

thanks for your clearance,

I will check and if there is any thing I will return back to you..

thanks again.

odedia
Starter
Starter
Posts: 21
Joined: 15 Jul 2012 21:05
Status: Offline

Re: Change Permission in ZFS

Post by odedia »

Enable ssh + root access from the SSH service.

Login to the server via ssh (use something like putty if your'e on windows)

type a chown command in the following format:

chown -R <user>:<group> <pool>/<dataset>

For example:

chown -R someuser:ftp tank/data

za3tar
NewUser
NewUser
Posts: 5
Joined: 12 Jul 2012 04:51
Status: Offline

Re: Change Permission in ZFS

Post by za3tar »

Dear odedia,
I appreciate your help,

I will try and inform you...thanks..

one more thing,, do you know good book to learn unix commands...

Regards,
Last edited by za3tar on 21 Jul 2012 16:16, edited 1 time in total.

User avatar
Earendil
Moderator
Moderator
Posts: 48
Joined: 23 Jun 2012 15:57
Location: near Boston, MA, USA.
Status: Offline

Re: Change Permission in ZFS

Post by Earendil »

Used to think you could change owners within Filezilla. The ability is there but the FreeNAS (and it follows N4F) system (or is it specifically FreeBSD?) would not let you change owners. I think the CLI is the only way.
Earendil

XigmaNAS server:
-AMD A10-7860K APU
-Gigabyte F2A88XM-D3HP w/16GB RAM
-pool0 - 4x 2 TB WD green HDDs
-pool1 - 6x 8 TB WD white HDDs
-Ziyituod (used to be Ubit) SA3014 PCI-e 1x SATA card
-External Orico USB 3.0 5 bay HDD external enclosure set at RAID 5
--5x 4 TB WD green HDDs
-650W power supply

odedia
Starter
Starter
Posts: 21
Joined: 15 Jul 2012 21:05
Status: Offline

Re: Change Permission in ZFS

Post by odedia »

za3tar wrote:Dear odedia,
I appreciate your help,

I will try and inform you...thanks..

one more thing,, do you know good book to learn unix commands...

Regards,
I've always learned that the best "book" is a simple google search. Just type what you're trying to achieve and you'll get your answer. try googling:

linux change permissions
linux change file owner

You'll get guides like this:

http://www.tuxfiles.org/linuxhelp/fileowner.html

Post Reply

Return to “ZFS (only!)”