On Wednesday 12 Oct 2011 07:59:10 Roger Oberholtzer wrote:
On Tue, 2011-10-11 at 17:57 +0200, lynn wrote:
I mount this share on a client:
[users]
comment = home folders inherit acls = Yes path = /home read only = No
using this:
mount -t cifs //192.168.1.2/users /home -o rw,setuid
I then login as a user on the client authenticated via ldap. No problem. It takes me to the mounted folder and I can see my files. When I create a file it creates it as owner root:root. Not what I want!
How can I create files on the mount as user:group no matter who logs in? Thanks. L x
I don't like the solution, but I added this to the options when I mount CIFS volumes:
uid=someLinuxUser
This also means that all existing files on the CIFS volume will belong to someLinuxUser.
At least they do not belong to root. I would really like each user's activity to belong to them. I have never gotten that to work. If you ever figure that out, please tell me. This is especially an issue with shares that are common to many users.
Our CIFS volumes are from a MS server, not a SAMBA server.
BTW, what do you mean by "It takes me to the mounted folder"? Who takes you there? Was it just mounted when you logged in?
Hi. Thanks. As you say, 'somelinuxuser' is better than root but my client boxes do not have any users on them. "It takes me to the mounted folder": T the login prompt it asks for the username and then prompts for a password for that user. Giving those two pieces of information and then, e.g. typing ls, gives me a list of files in the users folder. He has been placed in his own folder as if he were a local user. ldap and/or samba must have done that since there are no user accounts on the client. Still trying. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org