Ask Your Question

Unable to set ftp_home_dir in Fedora 24

asked 2016-06-26 10:26:31 -0600

Madhu gravatar image

Installed fresh copy of Fedora 24. Then installed vsftpd server, but when I tried to set 'ftp_home_dir', the following is the error.

# setsebool -P ftp_home_dir on
Boolean ftp_home_dir is not defined

I searched for 'ftp_home_dir' boolean, but couldn't find.

# semanage boolean -l | grep '^ftp_home_dir'

...No results

Appreciate any help. Thanks

edit retag flag offensive close merge delete


There is not an ftp_home_dir boolean. What are you trying to accomplish?

randomuser gravatar imagerandomuser ( 2016-06-26 12:44:14 -0600 )edit

"There is not an ftp_home_dir boolean. What are you trying to accomplish?"

To allow users to access their home directory through ftp by setting boolean ftp_home_dir to on. There is no ftp_home_dir boolean...yes I noticed...that's why I posted this question... why there is no ftp_home_dir boolean? Its always been there in SELinux with fedora/centos/redhat from ages.

Madhu gravatar imageMadhu ( 2016-06-26 14:16:12 -0600 )edit

I'm not sure where it went... but use sftp instead.

randomuser gravatar imagerandomuser ( 2016-06-26 18:33:09 -0600 )edit

lol randomuser. lol.

I'd do it for you if I weren't at work without a Fedora 24 box, but run getsebool -a | grep ftp and see what it turns up.

bitwiseoperator gravatar imagebitwiseoperator ( 2016-06-27 16:58:30 -0600 )edit

Nice; I totally forgot about this question. That'd be the answer.

bitwiseoperator gravatar imagebitwiseoperator ( 2016-07-25 16:36:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-22 13:25:34 -0600

baggypants gravatar image

updated 2016-07-22 13:29:33 -0600

looks like it's changed Use setsebool -P allow_ftpd_full_access 1 instead

Mentioned here

edit flag offensive delete link more

Question Tools


Asked: 2016-06-26 10:26:31 -0600

Seen: 3,516 times

Last updated: Jun 26 '16