freeid2010 / macfuse

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

Can't Save to Hidden Directories #320

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Open file in finder using sshfs  (/.DIRECTORY/file.txt)
2. Edit file.txt
3. Save file.txt

What is the expected output? What do you see instead?
Expected output: file saves
Actual result: file won't save.  All files taken from /.DIRECTORY show as
read only.

What version of the product are you using? On what operating system?
sshfs 1.0, MAC 10.4.11

Please provide any additional information below.
Permissions for both /.DIRECTORY and file.txt are set to 775.  

Original issue reported on code.google.com by jill.yet...@gmail.com on 24 Jan 2008 at 7:06

GoogleCodeExporter commented 8 years ago
MacFUSE doesn't know or care what it means to be a hidden directory. Can you 
write to other files in that mount?

Try passing the "-odefer_permissions" mount-time option to sshfs.

Original comment by si...@gmail.com on 24 Jan 2008 at 7:53

GoogleCodeExporter commented 8 years ago
I can write to all other files in that mount.  Sorry - how do I pass mount-time
options?  

Original comment by jill.yet...@gmail.com on 24 Jan 2008 at 8:23

GoogleCodeExporter commented 8 years ago
To pass mount-time options, use the actual sshfs binary that's embedded in 
sshfs.app. You'd be looking for sshfs.app/Contents/Resources/sshfs-static, 
which is a command-line program. Run it from the Terminal, 
something like:

$ ./sshfs-static user@host:/remote/dir /local/mount/point/ -odefer_permissions

I just tested with a .DIRECTORY/ myself--works for me.

Original comment by si...@gmail.com on 24 Jan 2008 at 8:32

GoogleCodeExporter commented 8 years ago

Original comment by si...@gmail.com on 12 Feb 2008 at 1:08