[Solved] No permission to access file

Issues with installing under all versions of MS Windows
Post Reply
lmo46
Posts: 6
Joined: Wed Jan 09, 2019 10:32 pm

[Solved] No permission to access file

Post by lmo46 »

New computer, Windows 10, Open Office 4.1.6 I'm trying to retrieve the files from the old computer that died. On the new computer, when I try to open a file, I sometimes get a message "currently don't have permission to access this file". Again it seems random when I get this. Any suggestions? Thanks in advance for the help!
Last edited by lmo46 on Sat Jan 12, 2019 6:48 pm, edited 1 time in total.
open office 4.1.6 running on windows 10
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: no permission to access file

Post by RoryOF »

There is a thread at
viewtopic.php?f=9&t=88991
which might be helpful.

If your files have come forward from an old computer, be sure you have the same User name (including the correct capitalisation, just in case that matters - it certainly does with passwords).
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: no permission to access file

Post by Bill »

RoryOF wrote:If your files have come forward from an old computer, be sure you have the same User name (including the correct capitalisation, just in case that matters - it certainly does with passwords).
It shouldn't matter. Windows uses a unique Security ID (SID) to identify the user. The SID for the user on the new computer will not be the same as the SID for the user on the old computer even if the user names are the same on both computers. If the files have been copied to the user's Documents folder on the new computer, then those copies should have inherited permissions from the Documents folder and should be accessible to the user. The error message should appear only when trying to open files still on the hard drive from the old computer since those files will have permissions defined for the old SID but not for the new SID. To fix those permissions, it may be necessary to take ownership of the files on the old hard drive and add permissions for the new user.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: no permission to access file

Post by RoryOF »

Thanks for the explanation, Bill. I'm ten years at least away from any detailed use of Windows, so am glad of the clarification.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
lmo46
Posts: 6
Joined: Wed Jan 09, 2019 10:32 pm

Re: no permission to access file

Post by lmo46 »

Thank you for the advice. The problem is only random, so I haven't had the opportunity to see if I can resolve it! The old computer is dead, so I cannot go change anything there! I retrieved the old files via Carbonite! Have a good day!
open office 4.1.6 running on windows 10
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: no permission to access file

Post by Bill »

Carbonite may have restored some of the files with explicit permissions instead of inherited permissions.

I found this in the Carbonite Knowledge Base:

All of my restored files are read-only or say access denied

It concerns files restored to a different system and basically says that the solution is to take ownership of the files and adjust the permissions.
AOO 4.1.14 on Ubuntu MATE 22.04
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: no permission to access file

Post by John_Ha »

Right click any problem file > Properties > General > Unlock.

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply