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 have a directory mounted over FUSE/SSHFS. It's an Ubuntu 10.04 client connected to an Ubuntu 10.04 server. My user has write permissions for the directory in question, and has been able to create folders before now. Nothing has changed in the configuration. But today, I get:

Error creating directory: Operation not permitted

...when attempting to make new folders via GUI in any directory that the user can normally write to. I can create files in those places, but not directories. Un-mounting and remounting SSHFS makes no difference.

I don't think it's misconfiguration but rather something has managed to mess itself up. I would prefer not to reboot the server. Anything else I can try?

share|improve this question
1  
First thing I would do is log in via SSH and try do create the directory. That should tell you whether sshfs is part of the problem. If you cannot mkdir that way, too, then I would attach strace to the sshd process serving this login. Of course, maybe the reason is really stupid and SSH-unrelated like subdirectory limit reached... –  Hauke Laging Apr 14 '13 at 3:08
    
Got it, it was something stupid. Out of disk space. It would be nice if the error indicated a space problem rather than a permissions problem. –  Nick Apr 14 '13 at 3:14
    
Indeed. There are distinct error codes for both cases (man 2 mkdir): ENOSPC and EACCES –  Hauke Laging Apr 14 '13 at 4:06

1 Answer 1

Problem solved: The Apache log ate all my disk space.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.