Jul 10
Fletcher Sandbeck CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 08:33
Fletcher Sandbeck
CentOS 6 NFS File Permissions Conundrum
I=92ve been setting up a CentOS 6 cluster with Lasso 8.6 using NFS for a shared web root. One problem which has been vexing me is that files created by an NFS client end up with read-only permission so they can=92t be written to. They remain 0 bytes and I get a file permission error. I can create files on the local filesystem fine.
I came up with this goofy idea last night and found that it actually works. I simply placed a file_chmod before the file_write. Since the directory is owned by Lasso it can modify the permissions and the write succeeds.
file_create(#path);
file_chmod(#path, -a='rw');
file_write(#path, #data);
Directories would need to be created with =91rwx=92 permission.
[fletcher]
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 10
Steffan A. Cline Re: CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 08:53
Steffan A. Cline
Re: CentOS 6 NFS File Permissions Conundrum
Jul 10
Steffan A. Cline Re: CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 09:03
Steffan A. Cline
Re: CentOS 6 NFS File Permissions Conundrum
Jul 10
Fletcher Sandbeck Re: CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 09:32
Fletcher Sandbeck
Re: CentOS 6 NFS File Permissions Conundrum
Jul 10
Steve Piercy - Website Builder Re: CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 09:35
Steve Piercy - Website Builder
Re: CentOS 6 NFS File Permissions Conundrum
Jul 10
Steve Piercy - Website Builder Re: CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 09:38
Steve Piercy - Website Builder
Re: CentOS 6 NFS File Permissions Conundrum
Jul 11
Ke Carlton Re: CentOS 6 NFS File Permissions Conundrum
Jul 11, 2014; 12:38
Ke Carlton
Re: CentOS 6 NFS File Permissions Conundrum
Jul 10
Fletcher Sandbeck Re: CentOS 6 NFS File Permissions Conundrum
Jul 10, 2014; 19:12
Fletcher Sandbeck
Re: CentOS 6 NFS File Permissions Conundrum