LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-25-2004, 04:59 PM   #1
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Rep: Reputation: 30
FC2 FSTAB Entry


Can anyone help me understand whether anything changed between RH 9.0 and FC2 with respect to samba shares?

I usually mount my iBook's drive on my Dell using something like

mount \\Server\Share /mnt/point smb fmask=777,dmask=777, 0 0

and it worked fine in RH 9.0 but for some reason in FC2 I am getting a bunch of directories that lack either read, write, or both permissions when I mount them. Any ideas?
 
Old 06-25-2004, 05:10 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
please refrain from double posting ... you already have the exact post active ...
http://www.linuxquestions.org/questi...hreadid=197707

when you signed up to be a member of LQ.org that was one of the things you agreed
not to do ...
http://www.linuxquestions.org/rules.php

and for your post you can just try using umask=000 instead of the fmask and dmask
since your using the mount command ... fmask and dmask are passed to smbmount ..
 
Old 06-25-2004, 05:17 PM   #3
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Woops - I forgot that double posing was a no - no; I'll delete one of the posts.

Would the correct FSTAB entry still end with

umask=000, 0 0

I never learned what the 0 0 meant.
 
Old 06-25-2004, 05:26 PM   #4
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
No luck ending the line with

umask=0 0 0

It still has not mounted with full read and write on all of the directories. Any other ideas on what might have changed?
 
Old 06-26-2004, 03:07 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
try

//Server/Share /mnt/point cifs credentials=</path_to_your/credentialsfile>,uid=<your uid>,umask=002 0 0

credentials file as

username=< ..>
password=<..>

#man fstab
Quote:
from the man pages


The fifth field, (fs_freq), is used for these filesystems by the
dump(8) command to determine which filesystems need to be dumped. If
the fifth field is not present, a value of zero is returned and dump
will assume that the filesystem does not need to be dumped.

The sixth field, (fs_passno), is used by the fsck(8) program to deter-
mine the order in which filesystem checks are done at reboot time. The
root filesystem should be specified with a fs_passno of 1, and other
filesystems should have a fs_passno of 2. Filesystems within a drive
will be checked sequentially, but filesystems on different drives will
be checked at the same time to utilize parallelism available in the
hardware. If the sixth field is not present or zero, a value of zero
is returned and fsck will assume that the filesystem does not need to
be checked

 
Old 06-27-2004, 06:41 PM   #6
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Permissions denied

I have no luck with that syntax; I get a "mount error 13 Permissions denied" with that syntax. What permissions should the credentials file have? Could that be the issue?
 
Old 06-27-2004, 06:57 PM   #7
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Disregard my last; the Mac's smb log showed it was accepting the username from the credentials file but rejecting the password; if the password is left out of the credentials file and is entered via the terminal it goes in fine, and the permissions are fine now too. Thanks so much! What changed? Are we not longer able to call up 777 permissions in FC2? These permissions look like 501 but for the correct user now (which is fine, my question is in the interest of learning)

one other question; cifs can't find the server name - I have to use the server's IP address. Is that an issue others are facing? I specify port=139 in my fstab entry because otherwise it just times out waiting for the server. Is this the right port for a broadcast name request?
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/fstab entry ryedunn Linux - Newbie 1 01-17-2005 01:45 AM
NTFS FSTAB Entry Campy19 Mandriva 2 11-02-2004 07:37 PM
entry in fstab file Tinku Linux - General 6 10-02-2004 12:06 AM
FC2 FSTAB Entry jeopardyracing Linux - Newbie 2 07-10-2004 09:53 AM
fstab entry albean Linux - Newbie 1 12-04-2002 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:42 PM.

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