Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:

mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000

$ cat .credentials
username=user
password=password

I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Is there a way to:

  1. Mount the remote samba with multiple groups on the local system?
  2. Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.

Other solutions would be:

  • nautilus sftp:// which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal.
  • And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.
share|improve this question

It should do it by default. Have you checked the ACL with getfacl?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .