Don't have ownership of partition /Backup

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
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 AZgl1800 »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
WharfRat

Re: Don't have ownership of partition /Backup

Post by WharfRat »

Can you paste back ls -lhd /backup
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
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 AZgl1800 »

$ ls -lhd /backup
drwxr-xr-x 4 root root 4.0K Jun 5 21:08 /backup
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
WharfRat

Re: Don't have ownership of partition /Backup

Post by WharfRat »

You can fix that with sudo chown $USER:$USER /backup
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
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 AZgl1800 »

$ 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.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
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 AZgl1800 »

Still no go.

Image

This is Gparted

Image
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
Sir Charles

Re: Don't have ownership of partition /Backup

Post by Sir Charles »

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.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Don't have ownership of partition /Backup

Post by Flemur »

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

Re: Don't have ownership of partition /Backup

Post by WharfRat »

AZgl1500,

Are you sure the partition is mounted :?:

mount|grep ^/dev/sda3
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
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 AZgl1800 »

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
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
altair4
Level 20
Level 20
Posts: 11425
Joined: Tue Feb 03, 2009 10:27 am

Re: Don't have ownership of partition /Backup

Post by altair4 »

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
AZgl1800
Level 20
Level 20
Posts: 11145
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 AZgl1800 »

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.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
Locked

Return to “Storage”