Score:0

change permission for all contents in folder

lb flag

I am following this YouTube tutorial https://www.youtube.com/watch?v=WN4K8o1aILA&t=2223s about using Linux from scratch to make a Linux distribution everything works except around the 37:04 mark I am doing the chown command and when I do it his way of Sudo chown -R user:distbuild OsName I found that only the user can make and remove files but if you do it the other way so distbuild:user then distbuild can make and remove files but the user can’t. Why is this happening and how can I fix it any help is greatly greatly appreciated

Steps I have tried:I went back over and over tried doing it logged in as the distbuild user and not and even doing everything else again

Talaat Etman avatar
gt flag
Sudo chown -R username ./foldername
Choccy_vr avatar
lb flag
the problem is that I need to make it accessible to two users not just one
Talaat Etman avatar
gt flag
see this answer https://askubuntu.com/a/967530/1698042
Choccy_vr avatar
lb flag
@TalaatEtman I tried the answer but the same thing happens
Talaat Etman avatar
gt flag
distbuild related to groupe not user
Talaat Etman avatar
gt flag
see this answer https://askubuntu.com/questions/904903/how-to-allow-two-users-to-access-one-directory-tried-groups-but-failed
Choccy_vr avatar
lb flag
@TalaatEtman I tried that and it just made it worst now I cant even go in to that directory
Choccy_vr avatar
lb flag
wait nvm it works now I just play around with some commands that the answers used thank you @TalaatEtman
Choccy_vr avatar
lb flag
wait no now it only works for a one directory not all the subdirectories
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.