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? Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org