Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6180245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:48:47+00:00 2026-05-24T00:48:47+00:00

This is my problem: I have a partition on my Ubuntu system, let’s call

  • 0

This is my problem: I have a partition on my Ubuntu system, let’s call it myhdrive, which is not automounted upon boot (so I use disk mounter applet, or Nautilus to mount it manually). When it is mounted, listing this partition looks like this in Ubuntu:

$ ls -la /media/myhdrive/
total 5743740
drwxr-xr-x  8 myusername myusername       4096 2011-07-21 08:19 .
drwxr-xr-x  4 root          root                4096 2011-07-21 04:13 ..
-rw-r--r--  1 myusername myusername      98520 2011-07-21 08:19 file1.txt
-rw-r--r--  1 myusername myusername       3463 2011-07-21 08:19 file2.txt

Now, let’s say I shutdown the Ubuntu OS – and boot, let’s say, OpenSUSE from a USB key on the same machine. The myhdrive partition will again not be automounted, and then I have to mount it manually (again from the file manager there). The thing is, when mounted under OpenSUSE, the same drive displays the following listing:

$ ls -la /media/myhdrive/
total 5743740
drwxr-xr-x  8 1000 1000       4096 2011-07-21 08:19 .
drwxr-xr-x  4    0    0       4096 2011-07-21 04:13 ..
-rw-r--r--  1 1000 1000      98520 2011-07-21 08:19 file1.txt
-rw-r--r--  1 1000 1000       3463 2011-07-21 08:19 file2.txt

Obviously, myusername has uid of 1000 in the Ubuntu system, and there it is recognized – while the same username is not present in the OpenSUSE system, and so the uid is not replaced with a filename.

The problem is, of course, that I cannot write to the myhdrive from OpenSUSE by default – I’d first have to chown the entire partition – and then, when I get back to the Ubuntu system, I’d have to chown it back again.

It’s quite clear to me that this will not be possible using the GUI tools – but is there a method or a command line switch, such that I can “fake ownership”: mount this partition in such a way, that the real uid of 1000 is interpreted as ‘the currently logged-in user’ in the USB-booted case (including that, when writes are made to the partition by ‘the currently logged-in user’, they are recorded under the uid of 1000)?

Thanks in advance for any answers,
Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:48:47+00:00Added an answer on May 24, 2026 at 12:48 am

    No. Either keep the authdb files in sync, or use an external auth server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this problem: I have a program which should fetch (let's say) 100 records
NOTE: I have solved the majority of this problem but have run into a
I am wondering how you would approach this problem I have two Taxrates that
I am trying to learn ASP.NET MVC and I hit this problem: I have
Ok I have this problem that I've never had before, it's really bugging me.
Ok I have this problem I'm trying to use Jquery to load a partial
So I have this problem with strings and switch-case, and I'll try to keep
I have this problem I'm hoping someone knows the answer to. I have an
I have this problem where I open Visual Studio and the internal windows are
i have this problem to find a particular xml node l have post this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.