D&C GLug - Home Page

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

Re: [LUG] Putting a password on a file or folder

 

On Mon, 14 Dec 2015 14:35:56 +0000
Grant Phillips-Sewell <dcglug@xxxxxxxxxxxxxxxxxxxxx> wrote:

> 
> You could create a new user account for these specific files, change
> their ownerships and permissions so you can't open them as you. I
> don't think you're going to be able to make it work on a graphical
> for manager level (so no double clicking for you) but you could still
> open the file in question by using gksudo (or an equivalent) from the
> command line:
> 
> $ gksudo -u otherusername gedit passwordprotectedfile.txt
> 
> This would mean the file isn't encrypted, isn't compressed, keeps the
> same filetype, etc, but can't be opened by simply double clicking on
> it.
> 
> Grant. :)

That's a sneaky one, like it. Will think about it. It seems that what I
thought would be simple is just not available. Not a big deal, there
are other ways.

Neil

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