Ask Your Question
2

Unable to set ftp_home_dir in Fedora 24

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

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

Comments

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

randomuser gravatar imagerandomuser ( 2016-06-26 12:44:14 -0500 )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 -0500 )edit

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

randomuser gravatar imagerandomuser ( 2016-06-26 18:33:09 -0500 )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 -0500 )edit

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

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

1 Answer

Sort by ยป oldest newest most voted
3

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

baggypants gravatar image

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

looks like it's changed http://linux.die.net/man/8/ftpd_selinux Use setsebool -P allow_ftpd_full_access 1 instead

Mentioned here https://bugzilla.redhat.com/show_bug....

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 3,519 times

Last updated: Jun 26 '16