Okay, I'm at the end of my rope.
All I want to do is access a SMB (windows) share as a regular user. No root access, no messing with SUID bits. This is on Lucid. Groups for the test user(me) are:
joeusersgroup adm dialout cdrom floppy audio video plugdev lpadmin admin sambashare
In normal use, they'd not have admin rights.
mount - no go, can only be run by root.
smbmount (which maps to mount.cifs) - "mount error(1): Operation not permitted, Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)". Funny, the man page doesn't mention anything about that beyond saying the dreaded "this command can only be used by root". </sarcasm>
smb4k (as a workaround) - same error as smbmount, besides being about as intuitive as relativity theory.
Please, someone tell me a regular user can mount a simple godforsaken samba share without root access or messing with SUID bits. I'd also be grateful to learn HOW. Google was absolutely no help btw, most posts were from years past and basically said "use FSTAB!" Right. Normal users don't have access to that. "SUID mount!" er... are you out of your everloving mind? Besides, mount IS already SUID by default. Yadda yadda.
If I sound a bit cranky... it's because I just wasted a full day trying to do something that should be piss easy and glaringly obvious.
All I want to do is access a SMB (windows) share as a regular user. No root access, no messing with SUID bits. This is on Lucid. Groups for the test user(me) are:
joeusersgroup adm dialout cdrom floppy audio video plugdev lpadmin admin sambashare
In normal use, they'd not have admin rights.
mount - no go, can only be run by root.
smbmount (which maps to mount.cifs) - "mount error(1): Operation not permitted, Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)". Funny, the man page doesn't mention anything about that beyond saying the dreaded "this command can only be used by root". </sarcasm>
smb4k (as a workaround) - same error as smbmount, besides being about as intuitive as relativity theory.
Please, someone tell me a regular user can mount a simple godforsaken samba share without root access or messing with SUID bits. I'd also be grateful to learn HOW. Google was absolutely no help btw, most posts were from years past and basically said "use FSTAB!" Right. Normal users don't have access to that. "SUID mount!" er... are you out of your everloving mind? Besides, mount IS already SUID by default. Yadda yadda.
If I sound a bit cranky... it's because I just wasted a full day trying to do something that should be piss easy and glaringly obvious.
Comment