Score:0

Could not chdir to home directory

tg flag

I have configured my machine with autofs to mount an LDAP users directory when they log in to a machine. I have created a directory in home called /guests. However when the LDAP user logs in, it isn't mounted to this drive, would anyone know where I go to make the new home dir for the LDAP users logging in? I also have a local user that I want to remain untouched.

terdon avatar
cn flag
Please show us the actual paths involved. Is this `/guests` or is it `/home/guests`? And please give us some more context. What Ubuntu is this? How did you set up LDAP? Why isn't the drive mounted when the user logs in, how do you mount it? Please [edit] your question and add some detail.
Score:0
lb flag

Try this..

sudo chown -R $USER /home/guests

chmod u+x -R /home/guests

you may find full information here

https://wiki.archlinux.org/title/autofs#Configuration

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.