[CentOS] Mounting cifs shares by non-root users on CentOS 4.6

Pierre Reinbold pierre.reinbold at uclouvain.be
Thu Jun 5 11:38:26 UTC 2008

Karanbir Singh a écrit :
> James Pearson wrote:
>> % mount /mnt/win
>> mount error: permission denied or not superuser and mount.cifs not 
>> installed SUID
> I've not used smb in years now, but i recall needing to suid 
> /usr/bin/smbmount ( the actual code that does the work ) in CentOS-4 to 
> make this work.

 From CentOS 5, I set suid /sbin/mount.cifs and /sbin/umount.cifs and 
link them to /usr/bin/smbmount and /usr/bin/smbumount (for backward 
compatibility :-)).


More information about the CentOS mailing list