Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Permissions issue with Home directory
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Kokopelli" data-source="post: 114977"><p>there are a number of ways to accomplish what you desire. What I am describing is the *nix way via command line. There may be an easier way via the GUI but I never bothered learning it.</p><p></p><p>1) Open a terminal</p><p>2) type "cd ~;ls -l"</p><p></p><p>without going into detail "drwx------" means only you have access to the directory. "drwxr-xr-x" means you have read/write rights and everyone else can read as well as get directory listings. So we want to change the latter to the former.</p><p>3) from our home directory (which you should be in unless you changed it) type :</p><p>"chmod -R og-rwx 'dirty movies'"</p><p> in order this command says we are:</p><p>a) changing permissions (chmod)</p><p>b) want the change to effect all subfolders (-R)</p><p>c) the change is to the permissions of others and the group (og)</p><p>d) we are removing read, write, and execute rights (-rwx)</p><p>e) on the directory 'dirty movies' </p><p></p><p>NOTE: you will need the single quotes if there is a space in the name such as 'dirty movies'. Further while your family will not be able to enter the folder they will be aware there is a folder called 'dirty movies' so I suggest sticking such a folder inside a more innocently named folder that only you have access to.</p><p></p><p>for more reading on this esoteria you can use the command "man chmod"</p><p></p><p>hope that helps.</p></blockquote><p></p>
[QUOTE="Kokopelli, post: 114977"] there are a number of ways to accomplish what you desire. What I am describing is the *nix way via command line. There may be an easier way via the GUI but I never bothered learning it. 1) Open a terminal 2) type "cd ~;ls -l" without going into detail "drwx------" means only you have access to the directory. "drwxr-xr-x" means you have read/write rights and everyone else can read as well as get directory listings. So we want to change the latter to the former. 3) from our home directory (which you should be in unless you changed it) type : "chmod -R og-rwx 'dirty movies'" in order this command says we are: a) changing permissions (chmod) b) want the change to effect all subfolders (-R) c) the change is to the permissions of others and the group (og) d) we are removing read, write, and execute rights (-rwx) e) on the directory 'dirty movies' NOTE: you will need the single quotes if there is a space in the name such as 'dirty movies'. Further while your family will not be able to enter the folder they will be aware there is a folder called 'dirty movies' so I suggest sticking such a folder inside a more innocently named folder that only you have access to. for more reading on this esoteria you can use the command "man chmod" hope that helps. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Permissions issue with Home directory
Top