Discussion:
permission denied errors
m***@winksmith.com
2005-06-24 04:21:29 UTC
Permalink
i've been getting permission denied errors (readonly) when accessing sfs
mounted files while using certain programs (openoffice and mutt for two).

i'm guessing it's an application problem as i can read and write files
fine using simple unix applications.

cd /sfs/myhost
cp $MAIL xyz
ls -l xyz
-rw-r--r-- 1 mark 1209 Jun 23 2005 xyz
mutt -f xyz

the mailbox is readonly using mutt, but i can clearly write to the file.
the same thing is true for openoffice. vi works fine.

am i missing some magic foo for nfs or something? perhaps something
to do with locking? when i run the attached program in an sfs mounted
disk i get EIO as the error.
--
Mark Smith
***@winksmith.com
mark at tux dot org
nova-instructor at tux dot org
m***@winksmith.com
2005-07-24 00:33:59 UTC
Permalink
Post by m***@winksmith.com
i've been getting permission denied errors (readonly) when accessing sfs
mounted files while using certain programs (openoffice and mutt for two).
i'm guessing it's an application problem as i can read and write files
fine using simple unix applications.
cd /sfs/myhost
cp $MAIL xyz
ls -l xyz
-rw-r--r-- 1 mark 1209 Jun 23 2005 xyz
mutt -f xyz
the mailbox is readonly using mutt, but i can clearly write to the file.
the same thing is true for openoffice. vi works fine.
am i missing some magic foo for nfs or something? perhaps something
to do with locking? when i run the attached program in an sfs mounted
disk i get EIO as the error.
so, locking is definitely at fault. is there anything i need to do to
sfs to make it work with locking?
--
Mark Smith
***@winksmith.com
mark at tux dot org
nova-instructor at tux dot org
Loading...