Comments on: Mounting Windown 2k3 Share in Ubuntu Dapper http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: jonboy http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-5412 Tue, 24 Jul 2007 22:15:27 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-5412

I also had this problem, and discovered that somehow my mount point had become owned by root, despite it being in my user’s home directory, and created by the user. Not sure how the permissions had been changed, but changed them back to the user again and all was well.

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-5407 Tue, 24 Jul 2007 13:06:19 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-5407

Good point. Actually, isn’t this the expected behavior? Every time I set up a read/write mount point outside of /home I usually chown it so that I’m the owner. It might not be best practice, but it doesn’t hurt.
I don’t think the the rw,user option in fstab overrides the normal file permission on your mount point directory, but I might be wrong…

Reply  |  Quote
]]>
By: Michele Bordi http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-5406 Tue, 24 Jul 2007 09:47:49 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-5406

Unfortunately it didn’t work for me; I got

mount error: permission denied or not superuser and mount.cifs not installed SUID

I too had this problem
You have to set the right owner for the mount point

for example, about the command:

//server/share /mnt cifs rw,user,noauto,username=user,password=pass 0 0

/mnt has to be owned by user:user_group

ps. remember to add suid to umount.cifs too

Reply  |  Quote
]]>
By: Terminally Incoherent » Blog Archive » Parsing Excel Files with Perl http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-4983 Wed, 27 Jun 2007 20:03:31 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-4983

[…] First you will need to mount the network share on your box. Next you will need the Spreadsheet::ParseExcel package from CPAN. […]

]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2877 Thu, 08 Feb 2007 16:04:39 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2877

Korinthe – do you get that message when mounting or when trying to do the chmod?

Do the chmod as root and then mount. That may fix the issue here.

Either that or you don’t have mount.cifs installed. See if it exists in your /sbin directory:

ls /sbin | grep cifs

If it’s not there you probably will need to instal the smbfs package. On redhat that should be possible via yum no?

Reply  |  Quote
]]>
By: korinthe http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2875 Thu, 08 Feb 2007 15:42:03 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2875

Unfortunately it didn’t work for me; I got

mount error: permission denied or not superuser and mount.cifs not installed SUID

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2647 Mon, 29 Jan 2007 15:27:11 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2647

Yup, Mookie’s suggestion worked for me too.

Reply  |  Quote
]]>
By: snark http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2644 Mon, 29 Jan 2007 12:15:55 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2644

THX Mookie!
I had the same problem and this fixed it!

Reply  |  Quote
]]>
By: Mookie Wilson http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2262 Fri, 29 Dec 2006 19:12:13 +0000 http://www.terminally-incoherent.com/blog/2006/11/20/mounting-windown-2k3-share-in-ubuntu-dapper/#comment-2262

As root: chmod +s /sbin/mount.cifs

Reply  |  Quote
]]>