D&C GLug - Home Page

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

Re: [LUG] Changing User ID.

 

On 03/05/17 19:29, mr meowski wrote:
On 03/05/17 20:16, Eion MacDonald wrote:

It is good when panic is over. Return to life.
My life *is* fixing computer panics... and for some reason I'm such a
sucker for punishment that in between fixing stuff professionally I hop
on to the DCGLUG and do it some more for "fun"!

Many people have called me an idiot before, and I suspect that at least
some of them may be right :|

Hmm.
Here we go again.. having had to replace the NAS HDs the permissions are playing up again for some Office files. Not the slightest clue why but it's the same problem as last time. Again it's only Office files. So far I have tried following the instructions from last time:

Cerce is the desktop PC. The Shared folder on the NAS is CASSIOPEIA and the problems are on that. The problem folder is primarily Finances, however I have also just found that my Word folder has some files with the old 1026 user permissions on them which is weird.

This is the fstab segment in case that is relevant:

# automount CASSIOPEIA on NAS [General files]
192.168.1.3:/volume1/CASSIOPEIA /media/julian/CASSIOPEIA nfs rsize=8192,wsize=8192,timeo=70,intr
# automount DIANA on NAS [Graphics files]
192.168.1.3:/volume1/DIANA /media/julian/DIANA nfs rsize=8192,wsize=8192,timeo=70,intr
# automount PERSEPHONE on NAS [Video files]
192.168.1.3:/volume1/PERSEPHONE /media/julian/PERSEPHONE nfs rsize=8192,wsize=8192,timeo=70,intr

All three mount automatically which is my preferred behaviour. If for any reason the NAS is not on, boot obviosuly takes longer as system.d decides to time out.

So far with the current problem I have:

julian@Cerce sudo chmod 777 Finances
julian@Cerce sudo chown -R julian:julian Finances
julian@Cerce sudo cp -avr Finances ~/Desktop/
julian@Cerce cd ~/Desktop/Finances
julian@Cerce ls -alh
julian@Cerce ~/Desktop/Finances $ ls -alh
total 2.1M
drwxrwxrwx  9 julian julian 4.0K Aug  1  2017 .
drwxr-xr-x  3 julian julian 4.0K Aug  1 11:26 ..
-rwxrwxrwx 1 julian julian 164K Jul 16 22:46 COMPLETE_SAS_WAR_DIARY_ORDER_FORM.pdf
drwxrwxrwx  6 julian julian 4.0K Jul 16 22:46 Credit Card
drwxrwxrwx  2 julian julian 4.0K Jul 21 20:53 @eaDir
-rwxrwxrwx  1 julian julian  68K Jul 16 22:46 FoneFunShop .pdf
-rwxrwxrwx  1 julian julian 190K Jul 16 22:46 IKEA _ IKEA Checkout.pdf
-rwxrwxrwx 1 julian julian 22K Jul 16 22:46 Julian Hall Savings-Pensions.doc
-rwxrwxrwx  1 julian julian 239K Jul 16 22:46 LV closing statement.jpg
-rwxrwxrwx  1 julian julian   41 Jul 16 22:46 Natwest.txt
-rwxrwxrwx  1 julian julian   58 Jul 16 22:46 NWDPIN.txt
drwxrwxrwx  9 julian julian 4.0K Aug  1  2017 O2 Bills
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 Pensions
-rwxrwxrwx  1 julian julian   23 Jul 16 22:46 Principality.txt
-rwxrwxrwx  1 julian julian 177K Jul 16 22:46 SAS_WAR_DIARY_ORDER_FORM.pdf
-rwxrwxrwx  1 julian julian  27K Jul 16 22:46 Savings-Pensions.doc
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 Shares
-rwxrwxrwx  1 julian julian  164 Jul 16 22:46 student loan.txt
drwxrwxrwx 11 julian julian 4.0K Aug  1  2017 Swalec
-rwxrwxrwx  1 julian julian 574K Jul 16 22:46 towrylaw_julian2.jpg
-rwxrwxrwx  1 julian julian 536K Jul 16 22:46 towrylaw_julian.jpg
drwxrwxrwx 12 julian julian 4.0K Aug  1  2017 Virgin Bills

Then the subfolder Swalec

julian@Cerce ~/Desktop/Finances $ cd Swalec/
julian@Cerce ~/Desktop/Finances/Swalec $ ls -alh
total 792K
drwxrwxrwx 11 julian julian 4.0K Aug  1 12:03 .
drwxrwxrwx  9 julian julian 4.0K Aug  1  2017 ..
-rwxrwxrwx  1 julian julian 203K Jul 16 22:46 170105E.pdf
-rwxrwxrwx  1 julian julian 121K Jul 16 22:46 170105G.pdf
-rwxrwxrwx  1 julian julian 203K Jul 16 22:46 170322E.pdf
-rwxrwxrwx  1 julian julian 120K Jul 16 22:46 170322G.pdf
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 2011
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 2012
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 2013
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 2014
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 2015
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 2016
drwxrwxrwx  2 julian julian 4.0K Jul 21 20:53 @eaDir
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 FIT
-rwxrwxrwx  1 julian julian  75K Aug  1 11:43 Gas-Electric 2017.ods
-rwxrwxrwx  1 julian julian  20K Jul 16 22:46 Solar Production 2017.xls
drwxrwxrwx  3 julian julian 4.0K Aug  1  2017 Spreadsheets

All permissions look fine, files open properly. However, copied back to CASSIOPEIA and Gas-Electric 2017.ods for example says it is already open and will only open Read Only. The permissions still look correct - julian:julian - and no lock files are in evidence. I haven't tried fixing the Word folder yet to get one done at a time.

Any suggestions please?

Kind regards,

Julian

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