-1

I'm using a remote server via ssh. The problem is that all users can read and copy my user folder /export/home/yemino and its sub folders, and also I can read and copy their files (this last is not a problem).

I'm just an user (i.e. I haven't root privileges). And I want to have a work folder, for example /export/home/yemino/work only readable by my (and admin, of course) with my "secret" C codes.

What ways you know to do this?

user106306
  • 315
  • 2
  • 10

1 Answers1

7

You can create a directory with the mkdir command and afterwards you can use chmod to change the rights of other users to that folder.

You can do something like this:

mkdir testing 
chmod -R 700 testing 
Theo
  • 154
  • 1
  • 6