#17 wrong permissions shown (no group?)

closed
None
5
2001-11-18
2001-11-15
No

An example, on the host server machine, I have the files:

-rw-rw-r-- 1 user1 users 43 Aug 21 17:14
defaultfooter.php
-rw-rw-r-- 1 user2 users 626 Aug 21 20:06
defaultheader.php

Now on the client machine that I have this directory
mounted via ftpfs:
-rw-rw-r-- 0 user1 user1 43 Aug 21 17:14
defaultfooter.php
-r--r--r-- 0 user1 user1 626 Aug 21
20:06 defaultheader.php

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?

Discussion

  • Florin Malita

    Florin Malita - 2001-11-18
    • assigned_to: nobody --> mali
    • status: open --> closed
     
  • Florin Malita

    Florin Malita - 2001-11-18

    Logged In: YES
    user_id=154306

    You are right, there's no way for ftpfs to find out whether a user belongs to a certain group.

    But you can always use -fmask to circumvent such problems.

    Take care,
    Florin

     

Log in to post a comment.