Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I mounted a remote filesystem via sshfs. The permissions of files are ok, when inspecting via ls (-r--r--r--) . However, when I do a "-w file" check on a file that is not writable, I get exit code of 0, which means it is writable.

share|improve this question
What's the question? Have you tried anything else, like touching the the file? What are OSs? –  Chris K Jun 20 '12 at 16:05
And is it writable? –  symcbean Jun 20 '12 at 16:29
The question is, why the "-w file" succeeds even though the file is not writable. The local OS is GNU/Linux, the remote is Solaris 10. –  mehturt Jun 21 '12 at 6:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.