Varun Chandak
Dabbler
- Joined
- Jul 20, 2014
- Messages
- 29
I have installed FreeNAS 9.2.1.6 64 Bit on m system and configured 2 hard drives of 500GB in mirror format. I have created a volume and a dataset mailstore under that volume. I'll explain what is happening in detail.
I use email program which has a user and writes files to /mailstore partition with permissions mailjol:mailjol which means mailjol is a user and mailjol is a group.
So i had created a user and group with that name and assigned the uid/gid so that permission issues wouldn't occur for user mailjol.
Now while configuring, I stumbled upon the term "maproot user" and "maproot group". By default it was set to N/A. However, while testing this I found that this N/A being set, permission issues crept. However, setting it to mailjol:mailjol got rid of those problems. But 1 thing i noticed that as a root, if I created any file (touch /mailstore/abc) the default permissions were mailjol:mailjol whereas it should be root:root. I think setting maproot user and maproot group led to these permissions.
So I want to know what maproot user and maproot group functionality is as I can't find any proper tutorial on this.
Coming to second issue, under /mailstore, i have a folder processedmails with permissions as root:root and 0777. Inside that some html files are present with permissions qmailq:root and 0600. Now I am logged on as root and trying to cat those files, I get Permission Denied. I logged on as mailjol user and did cat, still I got the error.
How to resolve the above issues ? I can provide more details if required.
Thanks in advance.
I use email program which has a user and writes files to /mailstore partition with permissions mailjol:mailjol which means mailjol is a user and mailjol is a group.
So i had created a user and group with that name and assigned the uid/gid so that permission issues wouldn't occur for user mailjol.
Now while configuring, I stumbled upon the term "maproot user" and "maproot group". By default it was set to N/A. However, while testing this I found that this N/A being set, permission issues crept. However, setting it to mailjol:mailjol got rid of those problems. But 1 thing i noticed that as a root, if I created any file (touch /mailstore/abc) the default permissions were mailjol:mailjol whereas it should be root:root. I think setting maproot user and maproot group led to these permissions.
So I want to know what maproot user and maproot group functionality is as I can't find any proper tutorial on this.
Coming to second issue, under /mailstore, i have a folder processedmails with permissions as root:root and 0777. Inside that some html files are present with permissions qmailq:root and 0600. Now I am logged on as root and trying to cat those files, I get Permission Denied. I logged on as mailjol user and did cat, still I got the error.
How to resolve the above issues ? I can provide more details if required.
Thanks in advance.