Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After using smbfs, I switched to cifs after smb kept timing out.
However it is not using the uid option as samba did
With the uid=matt,gid=matt options, it is still root.
I also tried with the noperm option, but that didn't help.
The server is a maxtor share drive, so I really don't have any control over it. here is fstab
I tried it. Didn't work. I keep reading stuff if the server supports some Unix extension, it uses it even if uid is specified in options. I don't really understand exactly what this is and can't figure out how to override it.
Thanks for the quick response.
but it doesn't work. I believe the problems is Unix Extensions. However, being a Maxtor Network Drive, I can' turn it off on the server.
So I need to figure out how to overide Unix Extensions on the clien, debian Lenny.
I think you ran into a problem with the kernel which will now be fixed with kernel 2.6.22
Quote:
Steve French (10):
[CIFS] Remove unnecessary parm to cifs_reopen_file
[CIFS] Add write perm for usr to file on windows should remove r/o dos attr
[CIFS] New CIFS POSIX mkdir performance improvement
[CIFS] New CIFS POSIX mkdir performance improvement (part 2)
[CIFS] Add IPv6 support
[CIFS] Update cifs version to 1.49
[CIFS] prefixpath mounts to servers supporting posix paths used wrong slash
[CIFS] UID/GID override on CIFS mounts to Samba
[CIFS] Fix oops in reset_cifs_unix_caps on reconnect
[CIFS] Fix typo in cifs readme from previous commit
I have a similar problem in connecting to a Linkstation NAS. I had to change my uid and gid to 100 to match the uid and gid on the NAS. It then would mount with me as the owner of the dir but I am currently unable to chmod the dir or files in the dir.
Ok, Ill wait for it to come into Debian Testing, which will be a while as I don't believe it is even in unstable yet. For the meantime I just use smbfs mounts to write (I don't use samba full time as it times out constantly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.