NFS and strange permission issues...

NFS and strange permission issues...

Postby sjaglin » Feb 6th, '13, 19:44

Hi,

I have a simple home network with a QNAP NAS a Desktop (Mageia2) and a Laptop (Ubuntu). The NAS is set up as a NFS server and shares a chunk of the drive as a shared NFS.

I have configured my PCs to mount the NFS drive at startup by adding the following at my etc/fstab :

Code: Select all
# Entry for Brehat2 NFS folder
192.XXX.X.XX:/share/Archives /home/stephane/Brehat nfs rsize=8192,wsize=8192,timeo=14,intr


I can access my files on the NFS server with no problem on my Laptop (Ubuntu) but on my Desktop (Mageia 2) I can only open them as read only, even though I have chmod them to be read/write/execute by anyone.

If I list a file on the NFS drive from the Desktop I get:

Code: Select all
[stephane@localhost CBT]$ ll Puppy.odt
-rwxrwxrwx 1 stephane stephane 273K Feb  6 16:06 Puppy.odt*


If I list the same file from a ssh session on the Desktop to the NAS I get :

Code: Select all
[/share/Archives/Documents/CBT] # ll Puppy.odt
-rwxrwxrwx    1 1000     1000       272.6k Feb  6 16:06 Puppy.odt*


So what I don't understand is that if I try to open this file with soffice on Mageia it opens it as read only whereas with the same setup on Ubuntu I can open it normally. Furthermore the file is -rwxrwxrwx so I thought that meant it could be read/written/executed by anyone?

I am not very good at permissions and some help would be welcome.

Cheers,

:?
sjaglin
 
Posts: 13
Joined: Feb 2nd, '13, 21:38

Re: NFS and strange permission issues...

Postby oj » Feb 6th, '13, 20:44

It's more likely the office application and not the NFS directly. You can easily check: create a small image file on the remote, then open it with a simple graphics editor like kolourpaint and see if you can save the changes. Same could be done with a small text file and kwrite.

"soffice?" Star Office? That's gotta be 10 year old software by now. Do you mean openoffice, perchance?
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: NFS and strange permission issues...

Postby sjaglin » Feb 6th, '13, 21:11

Ok I have tried the picture and the .txt file and they both worked fine therefore you are right the problem lies with libreoffice (soffice to launch...), any idea where in libreoffice I can change this configuration?
sjaglin
 
Posts: 13
Joined: Feb 2nd, '13, 21:38


Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests

cron