fstab mounts to smb shares resond with "File Does Not Exist."
So I put the following in /etc/fstab:
//ServerName/
run mount -a and the mount is established correctly. Use Nautilus to browse to /mnt/servername and I can access everything. I can create files, I can delete files and the permissions are set accordingly: charmo.charmo
However, when I try to open a file (any file) it comes back with: "/mnt/servernam
So I umount the share and write a bash script to mount it manually:
#!/bin/bash
#Server Mount Points
mount -t cifs //Server/ShareName /mnt/servername -o credentials=
chmod this to 770 and run. It mounts the share but same response to opening the file.
Ironically, I run this command manually:
mount -t cifs //Server/ShareName /mnt/servername -o credentials=
and it works fine.
So fstab and the bash script mount the share correctly but I can't open files. I run the same exact command manually and all works well. Ironically, I only have this problem with Samba mounts, never with MS mounts. Fstab mounts any MS share and I can open anything from it.
Samba Version: 3.028a-1 (ditto for smbfs).
This is killing me!
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: