Unable to write to new poartitions

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to write to new poartitions

Bret Busby-2
Hello.

I shrank the boot partitions of teo installed operating systems, and,
for each thence created unallocated space, I created a new sext4
partition, to which, I assigned the respective labels Data05 and
Data06.

I then, from within my UbuntuMATE 16.04 installation, ran sudo chmod
777 on each new partition, so as to enable read+write access to the
two partitions.

But, I can not write to the two partitions.

What do I need to further do, to these partitions, to enable read+write access?

"
ls -l /dev/sda18
brw-rw---- 1 root disk 259, 2 Mar 17 20:50 /dev/sda18
bret@bret-Aspire-V3-772-UbuntuMATE:~$ sudo chmod 777 /dev/sda18
bret@bret-Aspire-V3-772-UbuntuMATE:~$ ls -l /dev/sda18
brwxrwxrwx 1 root disk 259, 2 Mar 17 20:50 /dev/sda18
bret@bret-Aspire-V3-772-UbuntuMATE:~$ df -h /dev/sda18
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda18       77G   52M   73G   1% /media/bret/Data05
bret@bret-Aspire-V3-772-UbuntuMATE:~$ sudo chmod 777 /dev/sda19
bret@bret-Aspire-V3-772-UbuntuMATE:~$ ls -l /dev/sda19
brwxrwxrwx 1 root disk 259, 3 Mar 17 20:50 /dev/sda19
bret@bret-Aspire-V3-772-UbuntuMATE:~$ df -h /dev/sda19
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda19       73G   52M   69G   1% /media/bret/Data06
"

Thank you in anticipation.

--
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
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to write to new poartitions

Bret Busby-2
On 17/03/2018, Bret Busby <[hidden email]> wrote:
> Hello.
>
> I shrank the boot partitions of teo installed operating systems, and,

That should be "two installed operating systems"

> for each thence created unallocated space, I created a new sext4

"sext4" should be "ext4"

> partition, to which, I assigned the respective labels Data05 and
> Data06.
>
> I then, from within my UbuntuMATE 16.04 installation, ran sudo chmod
> 777 on each new partition, so as to enable read+write access to the
> two partitions.
>
> But, I can not write to the two partitions.
>
> What do I need to further do, to these partitions, to enable read+write
> access?
>
> "
> ls -l /dev/sda18
> brw-rw---- 1 root disk 259, 2 Mar 17 20:50 /dev/sda18
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ sudo chmod 777 /dev/sda18
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ ls -l /dev/sda18
> brwxrwxrwx 1 root disk 259, 2 Mar 17 20:50 /dev/sda18
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ df -h /dev/sda18
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda18       77G   52M   73G   1% /media/bret/Data05
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ sudo chmod 777 /dev/sda19
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ ls -l /dev/sda19
> brwxrwxrwx 1 root disk 259, 3 Mar 17 20:50 /dev/sda19
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ df -h /dev/sda19
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda19       73G   52M   69G   1% /media/bret/Data06
> "
>
> Thank you in anticipation.
>
> --
> 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
>
> ....................................................
>


--

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
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to write to new poartitions

Volker Wysk
In reply to this post by Bret Busby-2
Am Samstag, 17. März 2018, 21:34:16 CET schrieb Bret Busby:

> Hello.
>
> I shrank the boot partitions of teo installed operating systems, and,
> for each thence created unallocated space, I created a new sext4
> partition, to which, I assigned the respective labels Data05 and
> Data06.
>
> I then, from within my UbuntuMATE 16.04 installation, ran sudo chmod
> 777 on each new partition, so as to enable read+write access to the
> two partitions.
>
> But, I can not write to the two partitions.

Might they be mounted read-only? What is in your /etc/fstab?

Have you done a reboot after you changed your partitions? (Just guessing)

Bye
Volker


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to write to new poartitions

Colin Watson
In reply to this post by Bret Busby-2
On Sat, Mar 17, 2018 at 09:34:16PM +0800, Bret Busby wrote:

> I shrank the boot partitions of teo installed operating systems, and,
> for each thence created unallocated space, I created a new sext4
> partition, to which, I assigned the respective labels Data05 and
> Data06.
>
> I then, from within my UbuntuMATE 16.04 installation, ran sudo chmod
> 777 on each new partition, so as to enable read+write access to the
> two partitions.
>
> But, I can not write to the two partitions.
>
> What do I need to further do, to these partitions, to enable read+write access?
>
> "
> ls -l /dev/sda18
> brw-rw---- 1 root disk 259, 2 Mar 17 20:50 /dev/sda18
> bret@bret-Aspire-V3-772-UbuntuMATE:~$ sudo chmod 777 /dev/sda18

This is dangerous and you should undo it as soon as possible ("sudo
chmod 660 /dev/sda18 /dev/sda19").  Otherwise-unprivileged processes on
your system don't need the ability to write to the *device nodes*.

I suspect what you wanted to do was to modify the permissions on the
*mount points* instead.  What does "ls -ld /media/bret/Data05
/media/bret/Data06" say?

--
Colin Watson                                       [[hidden email]]

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users