demon_devil
Cadet
- Joined
- Jul 17, 2014
- Messages
- 9
Running FreeNAS-9.2.1.6-RELEASE-x64
My ssh key casually stopped working and is now being rejected. Went on with a verbose passworded ssh, upon password connection I received a log detailing a permission error with my key file.
Indeed, yes indeed.
.ssh wasn't 700 but 771
and authorized_key wasn't 600 but 771
This is very strange considering that my dataset and User home directory were assigned permissions 770 and 700 from the GUI respectively...
Anyways, I went on to chmod that and, well well, much to my surprise the Operation is not permitted.
I tried as root, as the user, as the user with sudo, nothing!
The key used to work until I switch the dataset to Microsoft ACL. Didn't know why it would do that, but now I read that maybe the MC permissions were not compatible. When this happened, I deleted the User and his dataset. Then recreated them (with the same name) but with the UNIX share type and this is about the same time I noticed that dataset and home directory permissions are not being set properly. In fact, even the log said that it couldn't chmod the directory and files present in the dataset that are automatically created. As I mentioned earlier, I can't chmod manually either.
Edit: Forgot to mention that the dataset ownership is set to the User account and nogroup.
My ssh key casually stopped working and is now being rejected. Went on with a verbose passworded ssh, upon password connection I received a log detailing a permission error with my key file.
Indeed, yes indeed.
.ssh wasn't 700 but 771
and authorized_key wasn't 600 but 771
This is very strange considering that my dataset and User home directory were assigned permissions 770 and 700 from the GUI respectively...
Anyways, I went on to chmod that and, well well, much to my surprise the Operation is not permitted.
I tried as root, as the user, as the user with sudo, nothing!
The key used to work until I switch the dataset to Microsoft ACL. Didn't know why it would do that, but now I read that maybe the MC permissions were not compatible. When this happened, I deleted the User and his dataset. Then recreated them (with the same name) but with the UNIX share type and this is about the same time I noticed that dataset and home directory permissions are not being set properly. In fact, even the log said that it couldn't chmod the directory and files present in the dataset that are automatically created. As I mentioned earlier, I can't chmod manually either.
Edit: Forgot to mention that the dataset ownership is set to the User account and nogroup.
Last edited: