Cannot read partitions
Thomas Kaiser
ubuntu at kaiser-linux.li
Wed Oct 3 06:41:06 UTC 2007
Dotan Cohen wrote:
> On 02/10/2007, Oliver Grawert <ogra at ubuntu.com> wrote:
>> hi
>> Am Dienstag, den 02.10.2007, 22:49 +0200 schrieb Dotan Cohen:
>>> UUID=d27e5561-2273-436f-8fbf-e49d5650a1c7 /media/hda1 jfs
>>> auto,user,defaults,nls=utf8,umask=007,gid=46 0 1
>> i guess you should use jfs options instead of teh ntfs ones ;)
>> its unlikely that jfs accepts nls and the like ...
>> check man mount for valid jfs options.
>
> Thanks, it seems that nls, umask, and gid were not valid for jfs. Now,
> I can use that partition. I still cannot use the other NTFS
> partitions, however. I am getting permissions-related errors, and I
> cannot change the owners of those partitions:
>
> lirondah at ubuntu:~$ cd /media/
> lirondah at ubuntu:/media$ ls -l
> total 24
> lrwxrwxrwx 1 root root 6 2007-09-03 22:40 cdrom -> cdrom0
> drwxr-xr-x 2 root root 1 2007-09-03 22:40 cdrom0
> drwxr-xr-x 2 root root 1 2007-09-03 22:40 cdrom1
> lrwxrwxrwx 1 root root 7 2007-09-03 22:40 floppy -> floppy0
> drwxr-xr-x 2 root root 1 2007-09-03 22:40 floppy0
> drwxr-xr-x 2 lirondah lirondah 256 2007-10-02 19:32 hda1
> dr-x------ 1 root root 16384 2007-09-03 20:45 hdb1
> dr-x------ 1 root root 8192 2007-09-03 20:32 hdb5
> drwxr-xr-x 2 root root 1 2007-10-02 19:37 liron
> lirondah at ubuntu:/media$ sudo chown lirondah hdb1
> chown: changing ownership of `hdb1': Read-only file system
> lirondah at ubuntu:/media$ sudo chgrp lirondah hdb1
> chgrp: changing group of `hdb1': Read-only file system
> lirondah at ubuntu:/media$ ls -l
> total 24
> lrwxrwxrwx 1 root root 6 2007-09-03 22:40 cdrom -> cdrom0
> drwxr-xr-x 2 root root 1 2007-09-03 22:40 cdrom0
> drwxr-xr-x 2 root root 1 2007-09-03 22:40 cdrom1
> lrwxrwxrwx 1 root root 7 2007-09-03 22:40 floppy -> floppy0
> drwxr-xr-x 2 root root 1 2007-09-03 22:40 floppy0
> drwxr-xr-x 2 lirondah lirondah 256 2007-10-02 19:32 hda1
> dr-x------ 1 root root 16384 2007-09-03 20:45 hdb1
> dr-x------ 1 root root 8192 2007-09-03 20:32 hdb5
> drwxr-xr-x 2 root root 1 2007-10-02 19:37 liron
> lirondah at ubuntu:/media$
>
>
> Any ideas? Thanks!
>
> Dotan
>
Hello Dotan
Ubuntu can not write to NTFS with the standard NTFS driver. That's way you can
not change the owner. The partition got mounted during boot by root.
Try option umask=000 instead of 007, or do
sudo umount /dev/hdb1
mount /dev/hdb1
Then you have mounted the partition as the running user and now the files should
be owned by this user.
There is also a different for the mount option, "user" and "users" are not the
same thing, but I can not remember the difference.
Thomas
--
http://www.kaiser-linux.li
More information about the ubuntu-users
mailing list