Storage permissions, www ftp

Status
Not open for further replies.

DrewS

Dabbler
Joined
Dec 8, 2014
Messages
14
I want to have the group ftp and www access to a particular dataset so I can use FTP to automatically backup my files and access them through owncloud outside of the house.

I do not care if ftp is not the solution, I want to automatically backup daily to freenas and be able to use owncloud to access the files. whats the best way to go about doing this.
 

DrewS

Dabbler
Joined
Dec 8, 2014
Messages
14
I may be able to do it using ACL to apply FTP group access to the files as well as WWW group, I tried on the folder, that I want both to have access to

"getfacl Massive": returns
# file: Massive
# owner: www
# group: www
owner@:rwxpDdaARWcCos:fd----:allow
group@:rwxpDdaARWcCos:fd----:allow
everyone@:r-x---a-R-c---:fd----:allow


I tried using "setfacl -Rm g:ftp:rw Massive" brings error "setfacl: illegal option -- R"

I tried using "setfacl -m g:ftp:rw Massive" and got "setfacl: Massive: branding mismatch; exsisting ACL is NFSv4, entry to be merged is POSIX.1e"

and after using getfacl Massive again, I got the same as above. I think using ACL is the way to get this to work the way I want but I do not know how to do it properly.
 
Status
Not open for further replies.
Top