Mapping network drives under FC5
David Kramer
david at thekramers.net
Mon Oct 2 14:20:39 EDT 2006
Last week my work laptop hard drive died. When they put in a new hard drive on it, they
loaded FC5 instead of FC4 (which I had on before). I don't mind, but I'm kinda upset
that nothing that didn't work before has been fixed (I can't suspend/wakeup the laptop.
I have to carry it to meetings running, which is how the hard drive crashed the first
time. And because FC5 is still OSS only, the wireless won't work until I spend half a
day installing and configuring the IPW2200 stuff.)
One thing I'm having trouble with is mounting the network drives. FC5 mounts them as
cifs instead of smbfs. I can mount them as root, but not as a mortal user ("david"),
and if I mount it as root, it's not writable by the user david.
Here's the line from /etc/fstab:
//nas-ma/dkramer /mnt/nasdk cifs
user,credentials=/etc/fstab.credentials,uid=500,gid=100,domain=APTIMANETWORK,rw 0 0
When I mount as root:
root at localhost]# mount /mnt/nasdk
[root at localhost]# l -d /mnt/nasdk
drwxrwxr-x 10 784 6238 0 Oct 2 12:56 /mnt/nasdk
(I don't know where the 784 and 6238 are coming from)
When I mount as david:
[david at localhost]$ mount /mnt/nasdk
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Oh, and /etc/fstab.credentials:
[david at localhost]$ l /etc/fstab.credentials
-rwxrwx--- 1 david root 36 Oct 2 13:25 /etc/fstab.credentials
So what am I doing wrong?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list