[plug] default home directory permissions with useradd and webmin

Daniel Pittman daniel at rimspace.net
Mon Aug 17 12:22:32 WST 2009


Shanon Loughton <autobot at iinet.net.au> writes:

> Im trying to setup a samba share such that ppl on windows clients can
> read/write to the home directories on the samba ubuntu machine.

Do you mean their own home directories, or other people's home directories?

> You can use adduser or useradd to add users obviously, but where do you
> change the default home directory permissions from 755 to 777 upon
> creation/addition?  (without chmod - ing afterwards)

Your permissions, you are doing them wrong.  Seriously, if you intend to set
all the users home directories to world-writable you may as well just have one
user account and have everyone working with that.


Perhaps you should tell us why you want to do this, and we can help identify a
better way to solve the problem...

Regards,
        Daniel
-- 
✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons
   Looking for work?  Love Perl?  In Melbourne, Australia?  We are hiring.



More information about the plug mailing list