How to put a password on a folder

raxxiz -  
 raxxiz -
Hello,

I have some information that isn't necessarily very secret, but I would like to know how to restrict access to this folder.

I am on a work computer and sometimes other people are using this computer, and I cannot share the contents of this folder with them. To put it simply, I would like to be prompted for a password before opening the folder.

And if possible, without downloading any software since I have update issues that hinder me when I try to install new software. It would be preferable to have a method to adjust the access rights.

Thank you in advance, I hope I'm not being too bothersome with my request.

4 réponses

Thor
 
Hi

sudo chown -R toto /path/folder
To make toto the owner (if he isn't already).

sudo chmod 700 /path/folder
To limit access (Read/Write/Execute) to the only user toto.

You create a "guest" account and that's it.

https://doc.ubuntu-fr.org/permissions
2
raxxiz
 
Thank you for taking the time to reply to me. If I understood correctly, does that limit access to other sessions?
But there is only one session, and there will only be one :/
0
Anonymous user
 
0
raxxiz
 
The idea is to compress the folder, put a password on the compressed folder, and unzip it every time we want to read it?

If so, how do you put a password on the compressed folder?
0
jc80 Posted messages 5063 Registration date   Status Membre Last intervention   1 443
 
Hello

a tutorial
https://www.youtube.com/watch?v=3m5JKVwVUDQ
Best regards
0
zipe31 Posted messages 34620 Registration date   Status Contributeur Last intervention   6 501
 
Hello,

Silly question: are you really on Linux as suggested by the location of your question?

--
_______________________________ ☯ Zen my nuggets ☮ ______________________________
Do something for the environment, close your windows and adopt a penguin… 🐧
0
raxxiz
 
Yes, I am ^^ Linux Ubuntu with Mint.
0