Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-16-2004, 02:32 AM   #1
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74

Rep: Reputation: 15
dmask=,fmask=,umask= ARGHHHHHHH

Hi all,

Firstly, if you know a good site that covers "mounting windows drives via /etc/fstab" and don't want to read this long post, please post the link ....

My distro is a fully updated redhat 8.0 installation. I want to mount windows shares using /etc/fstab

I have set up icons on the desktop to each drive, but they won't allow me to mount as a user. here is the relevant section of the /etc/fstab file. All the mentioned drives mount and are readable as root using mount -a from console.

//server/dropbox1 /mnt/dropbox1 smbfs uid=root,password=,rw,dmask=0000,fmask=0000,umask=0000
//server/dropbox2 /mnt/dropbox2 smbfs uid=root,password=,rw,dmask=0000,fma
//server/dropbox3 /mnt/dropbox3 smbfs uid=root,password=,rw,dmask=0000,fma

I would like users to be able to mount the drives and have read, write and execute permissions.

I have run chmod a+s smbmnt. I did the same to smbmount, but apparently this is a really bad idea, so I THINK I have fixed that.

Here the Permissions for smbmnt and smbmount incase the problem lay here.

-rwsr-sr-x 1 root root 560774 Apr 6 2003 smbmnt
-rwxr-xr-x 1 root root 571222 Apr 6 2003 smbmount

Because I can log in and access the drives as root, I don't think the following is where the problem is, but a full picture.....

I have an e-smith server which acts as the internet/DHCP server. The windows box 'server' is another machine on the network. it has three drives shared as dropbox1, 2 & 3 respectively. There is no login required on the box and it runs Win98 SE. The drives are shared with user access. the network logon is set to Windows Logon for the win98 box.

I used to be able to mount samba shares from the e-smith server using

//esmith/esmithr_bay /mnt/esmith smbfs username=nobody,password=,dmask=0777,fmask=0777,user,auto,user,rw 0 0

This string does not appear to work when editted to accomodate the win98 'server' settings.

Any help appreciated.

Old 03-16-2004, 05:32 AM   #2
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
Ain't it just to add
"user" in the fstab options?

have you had a good read of the mount man page?

Old 02-21-2019, 04:49 AM   #3
LQ Newbie
Registered: Jan 2010
Location: Memphis, TN
Distribution: openSUSE, Ubuntu, Kubuntu, Arch Linux
Posts: 8

Rep: Reputation: 1
The fact that it's been 20+ years and nobody has thought to reduce the opacity and complexity of the userland tools in GNU says alot about how bad the designs of C-language and file systems are.

The retards that have allowed this convoluted and incompetently-designed system to become the de-facto norm need to be burned at the stake.
Old 02-21-2019, 07:17 AM   #4
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,920
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Moderator Response

This necro thread is over 15 years old and you posted nothing in regards to being constructive thus violating the LQ Rules
When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
You have been a LQ member long enough therefore understanding LQ Rules should be a given. If not then reread the rules.

Last edited by onebuck; 02-21-2019 at 07:18 AM. Reason: typo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is fmask & dmask required to write to a WinXP share mounted on Mdrake SMB client ruscook_oz Linux - Networking 1 02-08-2007 06:50 PM
getting fat32 (Win98SE) part to mount with dmask and fmask options Simon Bridge Linux - General 3 06-22-2005 02:50 AM
smbmnt,fmask=,dmask=,umask= ARRGGHHH mickboda Linux - Networking 3 12-23-2004 06:04 PM
umask,dmask,fmask mmm Linux - General 1 08-14-2003 01:29 AM
umask Spaz17 Linux - Newbie 1 07-04-2003 11:12 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration