Maybe someone can tell me what I'm doing wrong here. I have both Windows and Linux machines on my network. My linux machines have NFS loaded with exports setup giving rw rights. I also have Samba shares setup, and my username has full rights on the shares. If I map this share on windows: \\192.168.10.220\storageshare I can do anything I want in that share, create/delete/modify/etc. On my opensuse machine I create a directory in my home directory. Then as root I mount the same share using cifs and mount it on this new directory. It mounts, but I can't do anything on it. Same goes if I mount it with NFS. I can't do anything, even though the NFS export is set to rw. If I mount the same thing using Nautilas I have the same issue. In Nautilas I can see everything, but I can't write anything. On my fedora machines I don't have any problems doing this. What am I missing? I don't see any errors in the log for samba for my machine. Thanks, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Pifer wrote:
Maybe someone can tell me what I'm doing wrong here. I have both Windows and Linux machines on my network. My linux machines have NFS loaded with exports setup giving rw rights. I also have Samba shares setup, and my username has full rights on the shares.
If I map this share on windows: \\192.168.10.220\storageshare
I can do anything I want in that share, create/delete/modify/etc.
On my opensuse machine I create a directory in my home directory. Then as root I mount the same share using cifs and mount it on this new directory. It mounts, but I can't do anything on it.
Same goes if I mount it with NFS. I can't do anything, even though the NFS export is set to rw.
If I mount the same thing using Nautilas I have the same issue. In Nautilas I can see everything, but I can't write anything.
This sounds like a GUID, UID mapping issue on the samba side, probably same on NFS side. Different Linux distros may be assigning different UID,GUIDs to usernames. It is the former rights are granted on, not the names. (Suitably edited /etc/fstab and the smb.conf files might be of help here). - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHzZLbasN0sSnLmgIRAkIkAKDTE4iPycMOJFADfGvJ/r2/eeXA3QCeM7Lx VGPn1w0Q2uLdFhddtZFJgao= =Gjhy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
This sounds like a GUID, UID mapping issue on the samba side, probably same on NFS side. Different Linux distros may be assigning different UID,GUIDs to usernames. It is the former rights are granted on, not the names.
(Suitably edited /etc/fstab and the smb.conf files might be of help here).
I think you're right. I can map to a windows machine's shares using cifs and do anything I want. Any suggestions on fixing either of them? I've tried the NFS side? I've looked at man and tried setting anongid and anonuid, but it had no affect. On my opensuse machine my uid is 1000. On the fedora machine my uid is 500. I really don't see anything in samba to change either. Any help is appreciated. Thanks, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Pifer wrote:
This sounds like a GUID, UID mapping issue on the samba side, probably same on NFS side. Different Linux distros may be assigning different UID,GUIDs to usernames. It is the former rights are granted on, not the names.
(Suitably edited /etc/fstab and the smb.conf files might be of help here).
I think you're right. I can map to a windows machine's shares using cifs and do anything I want. Any suggestions on fixing either of them? I've tried the NFS side? I've looked at man and tried setting anongid and anonuid, but it had no affect.
On my opensuse machine my uid is 1000. On the fedora machine my uid is 500.
There's your answer. Make the userids the same - that's standard procedure. Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2008-03-04 at 11:44 -0800, Sloan wrote:
There's your answer. Make the userids the same - that's standard procedure.
Meaning standard Linux procedure. On SVR4, OS/9, Solaris, and I am sure others, a map between UID/GID can be done. Making these the same in a large environment is not nice. But I agree, it is the only solution available on Linux. At least as far as I know. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Roger Oberholtzer wrote:
On Tue, 2008-03-04 at 11:44 -0800, Sloan wrote:
There's your answer. Make the userids the same - that's standard procedure.
Meaning standard Linux procedure. On SVR4, OS/9, Solaris, and I am sure others, a map between UID/GID can be done. Making these the same in a large environment is not nice. But I agree, it is the only solution available on Linux. At least as far as I know.
Oh linux has had ugidd for awhile, I remember seeing it on slackware in 1994. I suppose something like that could be used, but I thought it was sort of a hack, and prefer to just use standardized uids. It's not rocket science, but perhaps a bit tedious to switch a uid, it's just a matter of editing the password/shadow files, and chown -R on the users files. Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2008-03-04 at 12:06 -0800, Sloan wrote:
Roger Oberholtzer wrote:
On Tue, 2008-03-04 at 11:44 -0800, Sloan wrote:
There's your answer. Make the userids the same - that's standard procedure.
Meaning standard Linux procedure. On SVR4, OS/9, Solaris, and I am sure others, a map between UID/GID can be done. Making these the same in a large environment is not nice. But I agree, it is the only solution available on Linux. At least as far as I know.
Oh linux has had ugidd for awhile, I remember seeing it on slackware in 1994. I suppose something like that could be used, but I thought it was sort of a hack, and prefer to just use standardized uids.
It's not rocket science, but perhaps a bit tedious to switch a uid, it's just a matter of editing the password/shadow files, and chown -R on the users files.
Joe
Thanks everyone. I change my uid and it's working now. James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
G T Smith
-
James Pifer
-
Roger Oberholtzer
-
Sloan