![]() ![]() In case I wasn't clear, I'll try and rephrase the problem: As I'm trying to learn how to use Linux properly, I would like to understand. What is "certainly_not_web development that doesn't work"? I don't get what you're trying to say. However, I must admit I don't understand the rest of it. Thanks for trying to help me out here, the tip you gave in #7 does indeed work and do what I want it to do, so thanks for that. To set the sticky group bit do "chmod g+s /path/to/some/directory" - every file you create inside that directory will inherit the directorys GID. If you go for that, don't forget also to "… -aG users"ħ. Usermod -g "certainly_not_web development that_doesnt_work"Ħ. Do me a favour please and give me the "For Dummies" version. that didn't do what I was hoping it would do, I'm confused. :SĮDIT 2: managed to fix it by running "sudo chmod -R ug=rwx,o=rx,a-s *" ? Probably should have tested it on a dummy directory first. I dunno what's happened but the x has been replaced by an s in rwx and now I now longer have permissions to create new files, despite being the owner & part of the group of the directory. Thanks for your help, I appreciate the reply.ĮDIT: nope, I've obviously completely misunderstood. is there anyway to do the same with the default group? (as in, make any new file belong to a certain group, not set it's group permissions as described in the above link). But it's not explained that well, I can only infer from the examples that you simply prefix a 6 (why 6?) to the numeric permissions code to set the defaults? could they have possibly worded that more confusingly?Īnyway, I get it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |