problem with chmod

Bret Busby bret at busby.net
Mon Apr 6 05:59:14 UTC 2009


On Sun, 5 Apr 2009, Thorny wrote:

> 
> On Sun, 05 Apr 2009 03:55:14 +0800, Bret Busby posted: [...]
>> :~$ cat /etc/fstab
>> # /etc/fstab: static file system information. # # <file system> <mount
>> point>   <type>  <options>       <dump>  <pass> proc            /proc
>>        proc    defaults        0       0 # /dev/sda8
>> UUID=3bb93d1c-1875-4036-90c7-846e954ceb45 /data         ext3    defaults
>>      0       0 # /dev/sda5
>> UUID=cb771616-3630-4139-9b1d-c3fb499d9949 /debian_home  ext3    defaults
>>      0       0 # /dev/sda7
>> UUID=1b72f837-17e1-4af9-9f22-31dc9a191657 /               ext3
>> relatime,errors=remount-ro 0       1 # /dev/sda6
>> UUID=b421ce00-c5cc-4df1-9102-65b0b256376d none            swap    sw
>>        0       0 /dev/scd0       /media/cdrom0   udf,iso9660
>> user,noauto,exec,utf8 0       0 /dev/scd1       /media/cdrom1
>> udf,iso9660 user,noauto,exec,utf8 0       0 /dev/fd0
>> /media/floppy0
>>  auto    rw,user,noauto,exec,utf8 0       0
>>
>
> Well Bret, assuming you have the correct UUIDs, those partitions should be
> mounted in the filesystem, however, you don't mention where you expect
> them to be mounted, what are you trying to achieve?
>

I want to be able to access what is in those two partitions - read and 
write access, from the Debian partition.

> [...]
>>> [Thorny] So, list the two partitions you want to mount at boot so we can
>>> compare them to your fstab.
>>>
>>>
>> [Bret] The two partitions that I want to be able to mount  at system bootup in
>> the Ubuntu system, are sda8 and sda5, as shown in the fstab file above.
>> sda5 is the /home partition of my Debian system.
>>
>>
>
> sda5 is not the /home of your filesystem, the way you have the fstab
> written it is the /debian_home in your filesystem, your filesystem will
> not see that as home.
>

I do not ant that partition to be used as the /home partition for 
Ubuntu.

>From what I understand, it is dangerous to share /home directories or 
partitions, between different OS installations, whether they be 
different distributions, or, different versions of the same 
distribution, as, amongst other things, incompatibilities can occur.

I want to b able to access with read/write permissions, what is in the 
Debian /home partition, fromn within the Ubuntu partition.

> sda8 is to be mounted at /data in your filesystem, nothing wrong with
> that, however, remember because it's mounted in the root of your
> filesystem, as a regular user, you will have limited permissions on that
> folder. It's only in your home that you have permissions necessary to
> write, that's part of the security model of the nix filesystem
>

But I have previously been able to access /mnt/data partitions and 
underlying directory hierarchies, as a user, with Debian 3.1, with 
read/write access, and so I assumed that I would be able to similarly 
access these partitions from Ubuntu.


--
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
  you'll know what the answer means."
- Deep Thought,
   Chapter 28 of Book 1 of
   "The Hitchhiker's Guide to the Galaxy:
   A Trilogy In Four Parts",
   written by Douglas Adams,
   published by Pan Books, 1992

....................................................




More information about the ubuntu-users mailing list