An example, on the host server machine, I have the files:
-rw-rw-r-- 1 user1 users 43 Aug 21 17:14
-rw-rw-r-- 1 user2 users 626 Aug 21 20:06
Now on the client machine that I have this directory
mounted via ftpfs:
-rw-rw-r-- 0 user1 user1 43 Aug 21 17:14
-r--r--r-- 0 user1 user1 626 Aug 21
The result is that I cannot write to defaultheader.php
even though I really have permission to it, since my
user on the ftp server is a part of the "users" group.
The ftp server is giving back the correct permissions,
but I guess there's really no way for ftpfs to tell
that I am in fact part of the "users" group.
Maybe the permissions should be left as normal, and
then try to write to the file anyway even if ftpfs
"isn't sure it has permission"? If the write ftp
upload fails, then send back a "permission denied" to
the client machine somehow?
Log in to post a comment.