D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Changing User ID.

 

On 10/04/17 14:37, Peter Walker via list wrote:
Hi Julian,

On 10/04/17 14:20, Julian Hall via list wrote:
Thanks Michael, unfortunately it didn't work as the laptop already has the same UID.

Cerce ~ # id julian
uid=1000(julian) gid=1000(julian) 
groups=1000(julian),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),130(sambashare)

The output is the same on both machines. I'm at a loss now to understand why it 
thinks they are different users.

Julian

I'm guessing that the files you where using were on some sort of network storage. 
Were they open on the main PC when it died?
A lot of editing apps will maintain a lockfile of some kind and don't like you 
editing the same file twice.
If that is not the case then we need some more information.
1. ls -l on one of the problem files.
2. create a new file in the same directory and ls -l that.
3. How are you mounting the network files?

Cheers,

Pete

Hi Pete,

Thanks for the reply;

Yes they are on my NAS, and no they weren't open when the system shut down - they're actually only used about once a month. Although it did actually crash when my PSU died. I've checked for lock files, with Hidden Files shown, and there are none.

1. # ls -l Solar\ Production\ 2017.xls
-rw-r--r-- 1 julian julian 22528 Mar 6 01:11 Solar Production 2017.xls I just changed ownership of this one on the desktop and it's still saying open by Unknown User.
    # ls -l Gas-Electric\ 2016.xls
    -rw-r--r-- 1 julian julian 82432 Dec  1 13:23 Gas-Electric 2016.xls
2. # ls -l Untitled1.ods
-rw-r--r-- 1 julian julian 0 Apr 10 2017 Untitled1.ods - to my untrained eye they look identical apart from the five figure numbers. My guess is that's the number of seconds since creation?
3. NFS mounted NAS on first access - Mint 18 on both boxes,

Cheers,

Julian

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq