0

My Windows drives are automatically mounted in Ubuntu. File operations on Windows drives had been going well until today when creating a directory on a nfts Windows drive is denied:

$ mkdir /windows-d/tmp  
mkdir: cannot create directory `/windows-d/tmp': Operation not supported  

Some permission info is:

$ ls -l / | grep "windows-d"  
drwxrwx--- 1 root plugdev 229376 2009-11-28 20:28 windows-d  

Reboot Ubuntu doesn't solve my problem.

I wonder what's wrong with it?

Thanks and regards!

Tim
  • 1,487
  • 6
  • 28
  • 43
  • 1
    What have you changed since the last time it worked? – womble Nov 30 '09 at 01:03
  • 1
    What's the `grep` for? `ls -ld /windows-d` – Dennis Williamson Nov 30 '09 at 01:26
  • Nothing particularly as far as I remembered. But you know I might do things whose meanings I am not aware of. Thankfully, I finally solved this problem, but not sure how exactly. My /windows-d has only about 500M left free. So I delete some files and got 1.2G free. At the same time I updated my system. After reboot, it works again. I am not sure it is because of my low free space. It happened before but no problem arose then. – Tim Nov 30 '09 at 01:30
  • @Dennis, I am so dumb that I didn't know to use ls -ld. Thank you for I have learned it. – Tim Nov 30 '09 at 01:32
  • @Tim: Funny, that question was cross-posted across to superuser.com! Glad it worked! :) – t0mm13b Nov 30 '09 at 02:29

2 Answers2

2

it's possible that the windows side did not shut down correctly (or was not dismounted in windows) that can lead to Ubuntu mounting it read only, or if it's still mounted under windows. some thing simple but about the only thing i can think of.

  • The problem happened in the middle of my operations. All was fine before then. It is not that windows did not shut down correctly, Some text files could still be writeable. But making directories failed. – Tim Nov 30 '09 at 01:35
0

I had a similar problem with a Flash Drive from my Camera, that was plugged into Windows before I switched to Unix.

I got "Operation not permitted" when trying to rm -f the file winamp_cache_0001.xml. chown also did not work. So I went to the Mac Disk Manager and deleted the whole Flash drive. That worked.

Stephan Kristyn
  • 484
  • 1
  • 4
  • 7