Don't have ownership of partition /Backup

Forum rules
Before you post please read this
Post Reply
User avatar
AZgl1500
Level 9
Level 9
Posts: 2742
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Don't have ownership of partition /Backup

Post by AZgl1500 » Wed Jun 06, 2018 7:05 am

On my Dell laptop, /Backup is setup as a partition and Timeshift is using it, but I do not have ownership of it and therefore can't see that partition in Nemo.

Timeshift Location
Image


Time using it
Image


fstab looks like this, why do I not have ownership of the partition?

Image

User avatar
WharfRat
Level 20
Level 20
Posts: 11696
Joined: Thu Apr 07, 2011 8:15 pm

Re: Don't have ownership of partition /Backup

Post by WharfRat » Wed Jun 06, 2018 8:42 am

Can you paste back ls -lhd /backup
ImageImage

User avatar
AZgl1500
Level 9
Level 9
Posts: 2742
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Don't have ownership of partition /Backup

Post by AZgl1500 » Wed Jun 06, 2018 9:00 am

$ ls -lhd /backup
drwxr-xr-x 4 root root 4.0K Jun 5 21:08 /backup

User avatar
WharfRat
Level 20
Level 20
Posts: 11696
Joined: Thu Apr 07, 2011 8:15 pm

Re: Don't have ownership of partition /Backup

Post by WharfRat » Wed Jun 06, 2018 9:13 am

You can fix that with sudo chown $USER:$USER /backup
ImageImage

User avatar
AZgl1500
Level 9
Level 9
Posts: 2742
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Don't have ownership of partition /Backup

Post by AZgl1500 » Wed Jun 06, 2018 9:31 am

$ ls -lhd /backup
drwxr-xr-x 4 john john 4.0K Jun 5 21:08 /backup


Still not showing in Nemo, so I presume that does not take effect until the next reboot?
which I will do now.

User avatar
AZgl1500
Level 9
Level 9
Posts: 2742
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Don't have ownership of partition /Backup

Post by AZgl1500 » Wed Jun 06, 2018 9:46 am

Still no go.

Image

This is Gparted

Image

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: Don't have ownership of partition /Backup

Post by Sir Charles » Wed Jun 06, 2018 10:26 am

The option defaults is equivalent to rw, suid, dev, exec, auto, nouser, async (https://help.ubuntu.com/community/Fstab)
  • sync/async - All I/O to the file system should be done (a)synchronously.
  • auto - The filesystem can be mounted automatically (at bootup, or when mount is passed the -a option). This is really unnecessary as this is the default action of mount -a anyway.
  • noauto - The filesystem will NOT be automatically mounted at startup, or when mount passed -a. You must explicitly mount the filesystem.
  • dev/nodev - Interpret/Do not interpret character or block special devices on the file system.
  • exec / noexec - Permit/Prevent the execution of binaries from the filesystem.
  • suid/nosuid - Permit/Block the operation of suid, and sgid bits.
  • ro - Mount read-only.
  • rw - Mount read-write.
  • user - Permit any user to mount the filesystem. This automatically implies noexec, nosuid,nodev unless overridden.
  • nouser - Only permit root to mount the filesystem. This is also a default setting.
So I wonder if it is notnouserthe culprit here.
:?:

Edit: I think, I misunderstood the difference between a partition being mounted by root and the mount point being owned by root.
Last edited by Sir Charles on Wed Jun 06, 2018 10:37 am, edited 1 time in total.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Flemur
Level 16
Level 16
Posts: 6187
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Don't have ownership of partition /Backup

Post by Flemur » Wed Jun 06, 2018 10:27 am

"My message contains too few characters."
Last edited by Flemur on Wed Jun 06, 2018 10:58 am, edited 1 time in total.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
WharfRat
Level 20
Level 20
Posts: 11696
Joined: Thu Apr 07, 2011 8:15 pm

Re: Don't have ownership of partition /Backup

Post by WharfRat » Wed Jun 06, 2018 10:38 am

AZgl1500,

Are you sure the partition is mounted :?:

mount|grep ^/dev/sda3
ImageImage

User avatar
AZgl1500
Level 9
Level 9
Posts: 2742
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Don't have ownership of partition /Backup

Post by AZgl1500 » Wed Jun 06, 2018 10:17 pm

Disks says that it is, Timeshift is using it for backups, so I have to assume that it is mounted,

Image


and

Code: Select all

$  mount|grep ^/dev/sda3
/dev/sda3 on /backup type ext4 (rw,relatime,data=ordered)
So, I am now 500 miles from home, had a while to think on this, and now believe that it somehow did not get mounted to /mnt


this is a copy of the previous fstab image I made earlier.


Image

altair4
Level 19
Level 19
Posts: 9278
Joined: Tue Feb 03, 2009 10:27 am

Re: Don't have ownership of partition /Backup

Post by altair4 » Thu Jun 07, 2018 6:34 am

By "not showing up in Nemo" you mean it's not showing up on the side panel of nemo.

That is because your mount point is not under /media or your home directory. This is by design.

You can either:

[1] Change your mount point to /media/backup

[2] Add the silly x-gvfs-show option to your fstab line:

Code: Select all

LABEL=Backup /backup ext4 defaults,x-gvfs-show 0 0
[3] Or just bookmark the damn thing.

Open /backup in nemo ( open a terminal and run nemo /backup ) and when it displays select Bookmarks > Add Bookmark
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
AZgl1500
Level 9
Level 9
Posts: 2742
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Don't have ownership of partition /Backup

Post by AZgl1500 » Thu Jun 07, 2018 11:57 pm

Thanks for that help.

I am on vacation in Colorado Springs now, and that Dell laptop's power supply just burned up to a crisp....
so, it is stuffed in a closet until I find a new power pack somewhere up here in the piney woods. :cry:

I am now using a very old 32bit painfully slow ACER with Mate on it, I hate Mate, nothing is where it belongs :roll:

Power Settings totally ignore what I set them to... the display keeps dimming down to nothing in 1 minutes flat, even though I set it to 'never'.

Cinnamon rules the roost. :D

The ASUS was my nice daily driver, 12 gB RAM and all, fast! 10 seconds to the desktop and ready to go.
then it just fried itself.

and now, the Dell's power supply burns up... that happened at a KOA campsite, and I am not sure that the electric power there was not the cause of that problem??? dunno,

and now, on this old ACER Aspire, which I hauled along "just in case", it won't be needed, right?

well, it is, and glad to have it for tonight.

Post Reply

Return to “Mounting Partitions”