problem with chmod
Thorny
thorntreehome at gmail.com
Tue Apr 7 13:02:31 UTC 2009
On Tue, 07 Apr 2009 19:18:20 +0800, Bret Busby posted:
> 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?
>
You asked for explicit and I gave you explicit. mkdir /debian_home /data,
will make the two directories in the root of your filesystem, /debian_home
and /data. It was as explicit as I could be, along with mount -a, two
commands to give what you were asking for. I can't help any more than that.
> 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.
>
In my opinion, your choice was not a good one. I think you should
better understand what you are doing before you start to defeat what the
Ubuntu developers have crafted for you. That being said, it's your system,
you make your own choices. However, whenever you ask for help, be sure to
mention that you have made that change, it might influence the advice we
want to give.
By the way, Debian GRUB and fstab can also use UUID and Labels instead of
device node and some systems have to in order to work as the sys admin
wants them to. It's interesting, I explained the Ubuntu security "thing"
to you months ago over on the Debian list, yet you still don't seem to
understand it. Don't run with the sudo user account, setup a limited user
for daily work and security, switch users to do system maintenance. Learn
to walk before you try to run. Sorry if that sounds patronizing, it's
still good advice.
More information about the ubuntu-users
mailing list