[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 10/04/17 17:04, Julian Hall via list wrote: > On 10/04/17 15:37, M. J. Everitt via list wrote: >> 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 > Hi Michael, > > ls -la gives: > > Cerce Swalec # ls -la > total 720 > drwxrwxrwx 11 1026 users 4096 Apr 10 2017 . > drwxrwxrwx 9 1026 users 4096 Aug 1 2016 .. > -rw-r--r-- 1 julian julian 207411 Jan 5 21:20 170105E.pdf > -rw-r--r-- 1 julian julian 123835 Jan 5 21:21 170105G.pdf > -rw-r--r-- 1 julian julian 206875 Mar 22 21:55 170322E.pdf > -rw-r--r-- 1 julian julian 122744 Mar 22 21:56 170322G.pdf > drwxr-xr-x 2 julian julian 4096 Jan 3 2016 2011 > drwxr-xr-x 3 julian julian 4096 Jul 25 2016 2012 > drwxr-xr-x 3 julian julian 4096 Jul 25 2016 2013 > drwxr-xr-x 2 julian julian 4096 Apr 1 2016 2014 > drwxr-xr-x 3 julian julian 4096 Jul 25 2016 2015 > drwxr-xr-x 2 julian julian 4096 Jan 4 16:39 2016 > drwxrwxrwx 2 root users 4096 Jul 25 2016 @eaDir > drwxr-xr-x 2 julian julian 4096 Jan 4 16:40 FIT > -rw-r--r-- 1 julian julian 0 Apr 10 2017 Solar Production 2017.ods > -rw-r--r-- 1 julian julian 22528 Mar 6 01:11 Solar Production 2017.xls > drwxr-xr-x 2 julian julian 4096 Apr 10 16:07 Spreadsheets > > Cheers, > > Julian > Wonder if perhaps its the reverse problem, and it can't *create* a lock file .. can you "touch anyfile.txt" to see if that's OK? The directory permissions look ok... Otherwise, next port of call would be NFS share settings, and whether its doing permissions by numeric IDs or something else.... There's an option for 'ls' which gives you numeric IDs for the permissions, and possible even try 'stat' on the file to see what that says ... The 'julian' ID is the same numeric on desktop/laptop/NAS/etc too ? Gotta be something really silly .. it always is ... ;) 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