Unable to write to new partitions

Bret Busby bret.busby at gmail.com
Sat Mar 17 15:50:32 UTC 2018


On 17/03/2018, Colin Watson <cjwatson at ubuntu.com> wrote:
> 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 at 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*.
>

Done. Did not solve problem. Paste still greyed out when trying to
Cut/Copy -> Paste. Used chmod 666 and Paste now not greyed out, but
now I get the error \
"
Error while copying "LiveLongAndProspurr.png".
There was an error copying the file into /media/bret/Data05.
Error opening file '/media/bret/Data05/LiveLongAndProspurr.png':
Permission denied
"

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

None of the mounted (as previously described) Dataxx partitions are displayed;

"
bret at bret-Aspire-V3-772-UbuntuMATE:~$ ls -ld /media/bret/Data05
/media/bret/Data06
drw-rw-rw- 3 root root 4096 Mar 17 18:26 /media/bret/Data05
drw-rw-rw- 3 root root 4096 Mar 17 19:35 /media/bret/Data06
bret at bret-Aspire-V3-772-UbuntuMATE:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda15 during installation
UUID=a0f4e2ea-1b4a-4e11-8162-b89944da2677 /               ext4
errors=remount-ro 0       1
# swap was on /dev/sda8 during installation
UUID=8e723a5f-40f0-4550-a77e-347613015c7a none            swap    sw
           0       0
bret at bret-Aspire-V3-772-UbuntuMATE:~$ sudo cat /etc/fstab
[sudo] password for bret:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda15 during installation
UUID=a0f4e2ea-1b4a-4e11-8162-b89944da2677 /               ext4
errors=remount-ro 0       1
# swap was on /dev/sda8 during installation
UUID=8e723a5f-40f0-4550-a77e-347613015c7a none            swap    sw
           0       0
"


-- 

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