Hai già letto le FAQ nel sito di smb4k?![]()
codice:Q: If I want to mount a share, I get a message like this: smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1 What does that mean? A: It means, that you do not have the right permissions to mount SMB shares. There are two things you can do: 1. Set the SUID root bit for smbmnt. Therefore you have to find out, where the binary is located. Try $ ls -la `which smbmnt` in the shell. If this is a symlink, follow it to find the binary (e. g. under SuSE 8.x you get /usr/bin/smbmnt as result, but the binary is actually lying under /usr/lib/samba/classic/smbmnt). Change into the directory, where smbmnt resides and do $ chmod +s smbmnt Now the mounting should work. NOTE: Do not set the SUID root bit for smbmount! 2. Smb4K 0.4.0 and later provide the ability to execute mount and umount SUID root using the program super or sudo. To enable this feature you have to go to the configuration dialog's tab "Super User". Q: If I want to unmount a share, I get the following message: smbumount must be installed suid root What do I have to do? A: You have similar options as above. Either you set the SUID root bit for smbumount or you enable the feature "Use super user privileges to mount and unmount shares" under Super User -> Actions in the configuration dialog. For details see above. Q: I'm using the CIFS filesystem for mounting and I've set the UID/GID in the mount tab, but Smb4K does not seem to care about that at all! A: This is a Samba issue. If the target server supports the CIFS Unix extentions, the uid and gid option will be ignored. From the manual page of mount.cifs: [uid=arg|gid=arg] sets the [uid|gid] that will own all files on the mounted filesystem. It may be specified as either a username or a numeric uid. This parameter is ignored when the target server supports the CIFS Unix extensions.

Rispondi quotando