Get your own customer support community
 

Default permissions differences on SFTP mounts (inheritance/umask?)

The default permissions are being set differently via SFTP mounted filesystems than locally. Here's how to reproduce:

1. ssh into server directly
2. touch a new file on ssh -- call it testlocal ( touch testlocal )
3. mount SFTP share thru Expandrive as same user locally
4. touch a new file from mounted SFTP volume in /Volumes/path -- call it testremote ( touch testremote )

(from ssh'ed connection)
[gerk@gemini ~]$ ls -lah test*
-rw-rw-r-- 1 gerk gerk 0 Jan 5 18:19 testlocal
-rw-r--r-- 1 gerk gerk 0 Jan 5 18:19 testremote

(from local machine)
Wolverine:~ mark$ ls -lah /Volumes/gemini-gerk/test*
-rw-rw-r-- 1 mark 500 0B 5 Jan 18:19 /Volumes/gemini-gerk/testlocal
-rw-r--r-- 1 mark 500 0B 5 Jan 18:19 /Volumes/gemini-gerk/testremote

The default permissions differ. I'd tend to think that the local (ssh'ed into server) is behaving correctly ;) I've shown testing from both sides so we know it's happening at file creation and not (necessarily) when the file is read after the fact.

Seems like umask inheritance issue with MacFUSE possible?

HTH to find things. It's getting a bit frustrating as I'm sure that this is related to some of the other issue's I'm having (DreamWeaver "locked" files and not being able to update default opening application)

Mark
 
sad I’m frustrated
Inappropriate?
7 people have this problem

The company has a solution in progress.


User_default_medium