mukulyadav49 / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

Incorrect permissions upon overwrite. #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy file of same name and location from OSX/HFS to SSHFS
2. Finder prompts "Do you want to replace file?" - hit yes
3. File is overwritten on remote SSHFS but has permissions 700

What is the expected output? What do you see instead?
When creating new file SSHFS seems to set 644 - which is fine.

What version of the product are you using? On what operating system?
Latest MACFuse / SSHFS / OSX 10.4.9 Remote system: 4.8-STABLE FreeBSD
4.8-STABLE #0: Sun Apr 23 07:50:52 EDT 2006

Please provide any additional information below.

Original issue reported on code.google.com by tehs...@gmail.com on 2 Apr 2007 at 10:39

GoogleCodeExporter commented 9 years ago
You didn't say anything about what permissions the existing file on HFS+ had, 
what permissions the existing file 
on sshfs had before you overwrote it, what your umask is, and so on. Why is 644 
fine--are you implying that's 
because it comes from your umask? Also, what do you mean by "same *location*"?

Original comment by si...@gmail.com on 2 Apr 2007 at 11:10

GoogleCodeExporter commented 9 years ago
Another question: are you seeing this in the Finder alone, or does it happen 
when you do it from the command 
line too?

Original comment by si...@gmail.com on 3 Apr 2007 at 1:44

GoogleCodeExporter commented 9 years ago
Sorry about the lack of detail. You're right: my fault. I was actually copying 
not
from  HFS but from a Samba share of a linux machine and it appears MacFUSE / 
sshfs
was functioning correctly as for some reason all files under the samba share are
showing at 700, which is something I will have to figure out. Sorry!

Original comment by tehs...@gmail.com on 3 Apr 2007 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by si...@gmail.com on 4 Apr 2007 at 1:40