I've done some web searching but no solutions yet:
Server running 14.04 with NFSv4 export set as:
Client fstab mount as:
The goal is when I or any users save a file on the server, I want the user to be "NOBODY" and group 560 = "SHARE" and have permissions of the files to be -rw-rw-r-- or 0664 in octal. This seems to work perfectly from Dolphin, from Office when using Export to PDF, using cp in the terminal, etc. Everywhere I've tested EXCEPT "Print to PDF" from a browser. I've tried it from Chromium and from Vivialdi and both of them result in the file having permissions set at -rw------- or 0600, which means I can't access it until I log into the server and change the permissions.
This is beginning to bug me...
EDIT: To be more precise, it's printing to PDF from Gmail from the browser.
EDIT 2: Just verified this happens regardless of save location so I struck out the NFS part. I just hadn't noticed when I saved it locally because the permissions didn't matter.
Code:
[FONT=monospace][COLOR=#000000]/exports 192.168.1.0/24(rw,fsid=0,crossmnt,no_subtree_check,async,secure,nohide,all_squash,anonuid=65534,anongid=560)[/COLOR] [/FONT]
Code:
[FONT=monospace][COLOR=#000000]server:/ /shared nfs4 auto,bg,soft,timeo=5,retrans=5,actimeo=10,retry=5,users,rsize=32768,wsize=32768,noatime,x-systemd.automount 0 0[/COLOR] [/FONT]
This is beginning to bug me...
EDIT: To be more precise, it's printing to PDF from Gmail from the browser.
EDIT 2: Just verified this happens regardless of save location so I struck out the NFS part. I just hadn't noticed when I saved it locally because the permissions didn't matter.
Comment