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
>
Yeah, lock files was my next port of call.... try a 'ls -la' which will
list (long-format, all-files) to see if there's something hidden which
tells office/etc that its "open" when its not. Have had this when
pulling files off a working/live machine to work elsewhere before!!

MJE

Attachment: signature.asc
Description: OpenPGP digital signature

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