locking files, and directory permissions.
Gerald Carter
gcarter at valinux.com
Thu May 3 15:55:15 GMT 2001
On Thu, 3 May 2001, MCCALL,DON (HP-USA,ex1) wrote:
> Hi Marc,
> Don't know about your locking issue, but afraid you're stuck on the root
> thing; basically if samba sees that you are on the admin users list, your
> UID is gonna be set to 0, like it or not. force user won't do you any good
> (unless you are forcing a user who is NOT on the admin list), as the user
> you are forcing to is STILL on the admin list, and your uid is STILL gonna
> be 0. This hearkens back to the old unix adage - ya don't log on as root
> unless ya need to do root stuff. IE,
> have a normal logon where you do your work, and an admin users logon that
> you use for admin stuff.
Well you could always do the dirty hack of using 'chown -R <user> <path>'
as a root postexec. (i should get flamed for that one) :-)
Cheers, jerry
----------------------------------------------------------------------
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba
mailing list