Permission
Karl F. Larsen
klarsen1 at gmail.com
Wed May 13 18:44:51 UTC 2009
allen meyers wrote:
> On Wed, 2009-05-13 at 15:54 +0200, Nils Kassube wrote:
>
>> Allen Meyers wrote:
>>
>>> On Wed, May 13, 2009 at 12:37 AM, Nils Kassube <kassube at gmx.net>
>>>
>> wrote:
>>
>>>> What file system did you use (ext2/3, FAT, NTFS)?
>>>>
>>> Anyway the concern that persists is permission related. Both
>>> partitions are mounted, original partition I have permission, new one
>>> I do not. So it comes down to ownership I guess 2nd partition.
>>> Do I want to do as you advised
>>> sudo mkdir /media/New_Partition_On_USB_Disk/$USER
>>>
>>>
>>>> sudo chown $USER: /media/New_Partition_On_USB_Disk/$USER
>>>>
>>> in light of what I discovered?
>>>
>> Well, you didn't answer the question about the file system. Just in case
>> you don't know, you can find it out with the command
>>
>> mount
>>
>> in a terminal. That will tell you the type of the file sytem for each
>> partition. The commands of my previous mail are for an ext2/ext3
>> partition and they would still apply. But it wouldn't work that way with
>> FAT/NTFS.
>>
>>
>> Nils
>>
>>
>>
> allen at allen-desktop:~$ mount
> /dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
> tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
> varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
> udev on /dev type tmpfs (rw,mode=0755)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
> fusectl on /sys/fs/fuse/connections type fusectl (rw)
> lrm on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=755)
> securityfs on /sys/kernel/security type securityfs (rw)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
> (rw,noexec,nosuid,nodev)
> gvfs-fuse-daemon on /home/allen/.gvfs type fuse.gvfs-fuse-daemon
> (rw,nosuid,nodev,user=allen)
> /dev/sdb1 on /media/disk type ext4 (rw,nosuid,nodev,uhelper=hal)
> /dev/sdb2 on /media/data_ type ext4 (rw,nosuid,nodev,uhelper=hal)
> none on /tmp/guest-home.lYOvxa type tmpfs (rw,mode=700)
> /dev/sdb2 on /media type ext4 (rw)
> allen at allen-desktop:~$
> and here is fdisk
> allen at allen-desktop:~$ sudo fdisk -l
> [sudo] password for allen:
>
> Disk /dev/sda: 40.0 GB, 40020664320 bytes
> 255 heads, 63 sectors/track, 4865 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x000c21c5
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 4708 37816978+ 83 Linux
> /dev/sda2 4709 4865 1261102+ 5 Extended
> /dev/sda5 4709 4865 1261071 82 Linux swap /
> Solaris
>
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x5b6ac646
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 1 9339 75015486 83 Linux
> /dev/sdb2 9340 19457 81272835 83 Linux
> allen at allen-desktop:~$
> plus now I cannot open original partition
> cannot unlock media/hal-mtab
>
>
>
Hi Allen if you can boot up in a LiveCD then start
System-Administration-Partiton-editor it will tell you the size of Every
partition and how they are formated.
I am not at all sure you have a file system on every partition :-)
Karl
More information about the ubuntu-users
mailing list