LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FC2 FSTAB Entry (https://www.linuxquestions.org/questions/linux-networking-3/fc2-fstab-entry-197753/)

jeopardyracing 06-25-2004 04:59 PM

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?

DrOzz 06-25-2004 05:10 PM

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 ..

jeopardyracing 06-25-2004 05:17 PM

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.

jeopardyracing 06-25-2004 05:26 PM

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?

ppuru 06-26-2004 03:07 AM

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



jeopardyracing 06-27-2004 06:41 PM

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?

jeopardyracing 06-27-2004 06:57 PM

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?


All times are GMT -5. The time now is 10:53 AM.