Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 11:58:53 -0800
From:      "Adam Lofstedt" <adaml@visimation.com>
To:        "'freebsd-questions'" <freebsd-questions@FreeBSD.ORG>
Subject:   adduser ownership of mounted home directory
Message-ID:  <000001c2a862$3a422530$6501a8c0@5adam5>

next in thread | raw e-mail | index | archive | help
I am trying to put user's home directories onto a mounted windows share
(mounting via smbfs).  When I run the adduser script (and specify
/mountedshare/username as the home directory) it doesn't set the
ownership of the home directory to the user.  Root still owns the
folder.  If I add a user to the usual /home directory it works fine.

Here is what the regular home directory shows for permissions:
# cd /home
# ls -l
drwxr-xr-x  2 test  test  512 Dec 20 13:45 test

Here is what the mounted share shows for permissions:
# cd /mountedshare
# ls -l
drwxr-xr-x  1 root  wheel  16384 Dec 19 10:18 test2

Do I need to chmod the mountedshare to a particular value to get the
ownership to work?  Is there something else about the mountedshare that
I need to change, maybe in fstab?

Many thanks,
Adam Lofstedt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c2a862$3a422530$6501a8c0>