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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-16-2004, 01:32 AM
|
#1
|
Member
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74
Rep:
|
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
sk=0000,umask=0000
//server/dropbox3 /mnt/dropbox3 smbfs uid=root,password=,rw,dmask=0000,fma
sk=0000,umask=0000
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.
Mick
|
|
|
03-16-2004, 04:32 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
Ain't it just to add
"user" in the fstab options?
have you had a good read of the mount man page?
billy
|
|
|
02-21-2019, 03:49 AM
|
#3
|
LQ Newbie
Registered: Jan 2010
Location: Memphis, TN
Distribution: openSUSE, Ubuntu, Kubuntu, Arch Linux
Posts: 8
Rep:
|
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.
|
|
|
02-21-2019, 06:17 AM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,990
|
Moderator Response
This necro thread is over 15 years old and you posted nothing in regards to being constructive thus violating the LQ Rules
Quote:
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 06:18 AM.
Reason: typo
|
|
|
All times are GMT -5. The time now is 05:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|