LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2017, 02:24 PM   #16
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator Response


I suggest that members should refresh their understanding of the LQ Rules;
Quote:
  • Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, hostile or insulting.
  • Personal attacks on others will not be tolerated.
  • Flame Wars will not be tolerated.
  • Do not post if you do not have anything constructive to say in the post.
  • When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
Please consider the LQ Rules when responding to each other.

@hawksfan92 You have been here a while and should consider reading the following to help you when interacting here at LQ for postings; http://www.linuxquestions.org/questi...#faq_lqwelcome

Last edited by onebuck; 02-09-2017 at 02:28 PM. Reason: add link
 
Old 02-09-2017, 02:33 PM   #17
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by hydrurga View Post
On Ubuntu, the simplest way would be just to create the directory as root. However any ordinary user could use sudo to access the directory unless you disable that capability for the users in question.

If the data is meant for your eyes only, then personally I would create an encrypted container for the data (using e.g. VeraCrypt) and mount it yourself only when you need access to it.
That's correct, changing ownership and moving the directory to a location that's only accessibly as root will hide it from other user accounts, but not necessarily from other users, if those users also have the ability to become root. It will also not protect against somebody booting another OS (like a live USB) and mounting the drive from there.

You could use an encrypted container (I often do this on my own computers, especially laptops that will be taken on the road, to protect sensitive data against thieves), but unfortunately whenever this container is mounted, your data will again be exposed to anybody else on the machine who has root access. Whether or not this is a problem depends entirely on the intended usage of the machine...who else has access, and more importantly, who else has sudo/root access, and when.

Last edited by suicidaleggroll; 02-09-2017 at 02:36 PM.
 
1 members found this post helpful.
Old 02-09-2017, 02:36 PM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by suicidaleggroll View Post
See his latest response. It is very important that this question was asked and answered, or he never would have received an answer that satisfied his underlying goal.

The reason people ask probing questions like this is that the English language (all languages) is ambiguous. "Hidden" means different things to different people. The reasons for asking the question can help to clarify what is really being asked, and the responses can be adjusted to suit, which is EXACTLY what has happened in this thread.
that then falls under this heading


ask the proper question get the proper answer.
 
Old 02-09-2017, 02:44 PM   #19
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by suicidaleggroll View Post
You could use an encrypted container (I often do this on my own computers, especially laptops that will be taken on the road, to protect sensitive data against thieves), but unfortunately whenever this container is mounted, your data will again be exposed to anybody else on the machine who has root access. Whether or not this is a problem depends entirely on the intended usage of the machine...who else has access, and more importantly, who else has sudo/root access, and when.
Yup. For the encryption solution, I was hoping/assuming that this was a machine that could only be used by one physical user at a time, and additionally that no-one could have remote access - hopefully the OP will get back to us on this one.

If that is the case, OP could mount the data when required and then unmount it back to its encrypted state whenever finished, and most certainly before handing access to the machine over to any other users.
 
1 members found this post helpful.
Old 02-09-2017, 02:53 PM   #20
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Terminal:

Code:
mkdir ~/Desktop/.hawksfan92
Now look at your Desktop. Voila.
Open your File Manager and go to Desktop "folder".
Unseen? Press Ctrl+H.

Enjoy the goodness.
Press Ctrl+H again to hide (default) hidden files.

Last edited by Habitual; 02-09-2017 at 02:55 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to remove all hidden directories and folders, and only hidden directories and folders rm_-rf_windows Linux - General 5 04-12-2016 07:28 AM
bash script to create folders including making recursive folders.... linux-bandit Linux - Software 8 11-28-2009 01:50 AM
ls -R - without hidden folders j0hnsmith Linux - Newbie 2 09-27-2009 09:46 PM
Cleaning Hidden Folders Raymond C. Glassford Mandriva 3 07-01-2008 12:10 AM
hidden folders tenmiles Linux - General 5 11-23-2004 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration