Re: dictd?
On Wed, Jun 19, 2024 at 22:15:20 +0500, Stanislav Vlasov wrote:
> ср, 19 июн. 2024 г. в 16:18, Greg Wooledge <greg@wooledge.org>:
>
> > > > Place files to /usr/share/dictd and run `dictdconfig -w` and restart
> > > > dictd service
> > >
> > > Thanks! I guess it doesn't work with symbolic links (symlinks) to user
> > > directories/folders though...
> >
> > Doesn't work, how? Do you get permission denied? If that's the case,
> > it might be something like AppArmor.
>
> I create .deb with dictionary and didn't place dict files manually, so
> further my assumption.
>
> I think, dictd user have no access to $HOME even without
> apparmor/selinux/another acl
> ls -ld ~ will show you more.
> In my system mode bits on my home dir are `drwx------` so only my user
> have access to it.
Well, yeah. That's not a default setting, but indeed, if you have
stuff in user home directories that you wanted to share (~/public_html/
directories, or these dictionaries), you'll need to add at least +x
permissions on the home directory(ies) in question.
You still haven't told us what kind of failure you're seeing with your
dictionaries. Is there a specific error message? What does it say?
Reply to:
- Follow-Ups:
- Re: dictd?
- From: Max Nikulin <manikulin@gmail.com>
- References:
- dictd?
- From: David Chmelik <dchmelik@gmail.com>
- Re: dictd?
- From: Stanislav Vlasov <stanislav.v.v@gmail.com>
- Re: dictd?
- From: David Chmelik <dchmelik@gmail.com>
- Re: dictd?
- From: Greg Wooledge <greg@wooledge.org>
- Re: dictd?
- From: Stanislav Vlasov <stanislav.v.v@gmail.com>