Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.