Author Topic: [SOLVED] Re: Cannot write to other partitions  (Read 410 times)

Offline kyle5434

  • Full Member
  • ***
  • Posts: 92
[SOLVED] Re: Cannot write to other partitions
« on: May 08, 2010, 09:00:32 AM »
I have a perplexing, somewhat related issue.

I have a couple of ntfs partitions, as indicated by:

Code: [Select]
/dev/sda1: UUID="D42C637C2C63588E" TYPE="ntfs"
/dev/sda5: UUID="a6d9af1f-c580-4790-b4ac-d8b61ee92d0f" TYPE="ext2"
/dev/sda6: UUID="b09e1b90-56d2-4b86-8125-cf4fc29170cc" TYPE="swap"
/dev/loop0: TYPE="squashfs"
/dev/sda7: UUID="C4B86CB0B86CA2A2" TYPE="ntfs"

As a super user, I  created a couple of mount points.

/windows/system for sda1, and
/windows/documents for sda7

I added the corresponding lines to the end of my fstab:

Code: [Select]
# Entry for /dev/sda5 :
UUID=a6d9af1f-c580-4790-b4ac-d8b61ee92d0f / ext2 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=b09e1b90-56d2-4b86-8125-cf4fc29170cc swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
# Entry for /dev/sda1 :
UUID=D42C637C2C63588E /windows/system ntfs noatime,user,exec 0 0
# Entry for /dev/sda7 :
UUID=C4B86CB0B86CA2A2 /windows/documents ntfs noatime,user,exec 0 0

As a super user I did a

Code: [Select]
chown -R kyle:kyle /windows
and I can successfully access the files and folders.

But I cannot write to the ntfs partitions, either as a regular user or as root.

I tried (as a super user) executing

Code: [Select]
chmod -R 777 /windows
but I get an "Operation not supported" error for every folder and file.

Anybody have any pointers?

Thanks,
Kyle
« Last Edit: May 08, 2010, 09:47:28 AM by kyle5434 »

Offline jaydot

  • Administrator
  • Super Villain
  • *****
  • Posts: 15567
  • there is no limitation on imagination
Re: Re: Cannot write to other partitions
« Reply #1 on: May 08, 2010, 09:10:02 AM »
i've split you off from the thread you joined, kyle, for two reasons.  first, that member's issue is solved and will not attract much further in the way of attention, meaning your post will get missed.  second, even though you might think your problem is the same, or similar, it is always best to start your own thread to avoid confusing the two issues.
PCLinuxOS  Get it?  Got it?  Good!!   8)

We don't have any millionare angels or corporate backers paying the bills here, PLEASE DONATE.
http://pclinuxos.com/?page_id=7

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6376
  • I'm going South
Re: Cannot write to other partitions
« Reply #2 on: May 08, 2010, 09:21:47 AM »
kyle,

Check in Synaptic that ntfs-3g is installed. Then change ntfs in both the relevant lines in /etc/fstab to ntfs-3g.

This may be enough.

(Although I must add that chown doesn't really work on Windows partitions. If you want user and group to be "kyle" for all the files and directories on your Windows partition, add ",uid=kyle,gid=kyle" to the options field in the lines in /etc/fstab, i.e. after "noatime,user,exec".)

« Last Edit: May 08, 2010, 09:41:53 AM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline kyle5434

  • Full Member
  • ***
  • Posts: 92
Re: Cannot write to other partitions
« Reply #3 on: May 08, 2010, 09:47:02 AM »
Thanks blackbird. Changing from ntfs to ntfs-3g in fstab did the trick.

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6376
  • I'm going South
Re: [SOLVED] Re: Cannot write to other partitions
« Reply #4 on: May 08, 2010, 11:29:49 AM »
 ;D
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D