Re: problem with chmod



On Tue, 7 Apr 2009, Thorny wrote:


sudo mkdir /debian_home /data #will create the directories (folders) in
your filesystem, this is required for mounting, the mount points have to
be there.

sudo mount -a #will then mount all the mount points in your fstab that
are correctly configured and that do not have the noauto option. You will
have the permissions you specify.


If I use
mkdir /debian_home /data
, will that not create sub-directories within my home directory, rather
than the partitions being mounted as partitions?

From what I understand, the partitions, being partitions, would need to,
if I need to use mkdir to create mountpoints for them, be set up as
mkdir /mnt/debian_home /mnt/data .

Is that wrong?

Oh, and, with the actions that I have gone through, in trying to deal
with this, I have activated the root account, so that, whilst Ubuntu
has some deviations from what I understand to be Linux standards (eg,
using UUID's rather than device paths, in fstab), I can now use the root
account for system maintenance, rather than sudo (which I really do not
like, and regard as a security risk), which makes the system a bit more
consistent with what I understand to be standard Linux.

--
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

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

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Mount folder from one Ubuntu box on another.
    ... > another Ubuntu PC. ... Tried setting up a SMB mount, ... Save the file, exit the editor. ...
    (Ubuntu)
  • Re: Mount USB HDD to a certain /media/folder after boot
    ... With "mount LD142ntfs" I am told, ... with "sudo mount LD142ntfs" I am asked for the PWD and it ... removable drives i've labeled so they are mounted by name and show up ... since i've experienced my usb drives moving around (for example if i ...
    (Ubuntu)
  • Re: fstab related boot problem
    ... I have been able to mount and view the /home ... partition although when I then attempt to start X it crashes. ... or sudo mount -o rw,remount /dev/sda9 ... System> Administration> Disk Utility ...
    (Ubuntu)
  • Re: How to mount ext3 so the files belong to a specific user?
    ... and want that user to be able to read/write to that partition. ... However, I've been unable to find any way to accomplish this; the few hints I have found indicate it works fine with a VFAT partition, or that you can manually chown the perms after the mount, but it seems crazy to me that you'd not be able to set ownership at mount time. ... The directory originally belonged to westk; so why should I need to change it to belong to westk? ... westk@westek:~$ sudo mount VMs/ ...
    (Debian-User)
  • Re: problem with chmod
    ... mount points in your filesystem before trying to mount them, didn't you, ... entries in the fstab file. ... I am an Adams fan. ... published by Pan Books, 1992 ...
    (Ubuntu)