Click to See Complete Forum and Search --> : Cannot read CIFS files?


tecknophreak
04-03-2007, 02:16 PM
I've mounted a CIFS directory on my computer and I can't seem to read the files in the directory. Looking at the mount output, it gives me a mand as one of the options for the mount of this directory. The only place I found about locks is in the fcntl man page, but that didn't really help on the cli front.

I don't have the smbmount/mount.smb on this computer I'm working on, so I'm using the CIFS/mount.cifs to mount the network drives.

Is there something I'm missing from the cifs mount which'll let me read the files?
mount -t cifs //server/directory /mnt/bkup -o password=

Or, is there a way to get smbmount/smbmnt/mount.smb on FC5?

ph34r
04-03-2007, 02:31 PM
mounting as root, permissions are probably 700 or similar - no access for anyone but root. Try adding a fmask and umask to your mount command, to allow either RWX or RX to the files for users, etc.....

tecknophreak
04-04-2007, 10:08 AM
The permissions are 644, which is just fine, but even root gets a permission error. The line returned from mount is:
//server/directory on /mnt type cifs (rw,mand)

Don't know if that info helps describe the problem at all.

I'm using smbclient now to get around it, but I'd like to mount it in the future.

tecknophreak
04-12-2007, 10:11 AM
Don't you hate when you are googling an issue and you get back to one of your forum posts about the issue? ;)

Anywho, still looking. I've found that I can write to the mounted fs. I find that kind of interesting. /var/log/messages states CIFS VFS: Send error in read = -13.

Hopefully I can resolve this issue and put this away.