Can't change permissions on home directory .ssh/id_rsa

Status
Not open for further replies.

chufi

Dabbler
Joined
Jun 18, 2014
Messages
19
Trying to setup passwordless ssh, the permissions on my home directory default to what you see below instead of 600 so was trying to change, but I'm not allowed even though I'm the file owner. The volume my home dir is on is set to unix permissions (it has been windows in the past) Here is what I tried:

eric@freenas:~ % ls -l .ssh/id_rsa
-rwxrwxr-x+ 1 eric eric 1679 Dec 26 14:28 .ssh/id_rsa*
eric@freenas:~ % chmod 600 .ssh/id_rsa
chmod: .ssh/id_rsa: Operation not permitted

any thoughts?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
That + sign means there are acls present. To use chmod you need to remove the acls using setfacl. Then you can use chmod like normal.
 
Status
Not open for further replies.
Top