I am encountering some weird problems when mounting a shared NAS drive (and using Latex (and subversion)).
First it was quite a hassle to mount the drive and have read write permissions as a user. I figured out that the probably correct way of doing it in /etc/fstab is:
Code:
//server/share /home/me/folder cifs user,noauto,username=#,password=#,domain=# 0 0
user so that I can mount the drive as user and don't have to use sudo. (If I used sudo, all files would be owned by root and would not have read write access as a user.)
noauto because auto won't work since the network connection is not established when the mounting is done while booting.
So then I can do mount folder and voila everything works. I am listed as the owner of all files, although I am not, but I guess that is because the share is on a windows machine. I have access to the folders that I am supposed to have access to and everything works fine, except:
Code:
$ latex foo.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
! I can't find file `foo.tex'.
<*> Please type another input file name:
The file is definitely there though, e.g.
Code:
$ cat foo.tex | latex
will work fine.
(Also, svnadmin create will not work. But this might be a problem with Berkeley DB, which is not supposed to be used on a shared drive.)
Any ideas what I might be doing wrong here?
Bookmarks