• Post Reply Bookmark Topic Watch Topic
  • New Topic

Visibility files without permission  RSS feed

 
manu chaox
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible hide files to which I doesn't have permission ?

e.g.:
I doesn't have a permission to folder aaa but I can see it. And I would like not to see it.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To hide a file (a folder is a kind of file) you have to modify its name, so that it starts with a dot.
You can do this, if you have write permissions to the parent dir, normally meaning: own the containing directory.

off topic: 'I don't have permission, she/he doesn't have permission' - maybe: 'I have permission, he/she has permission' or 'I'm permitted, he she's permitted'. Does/doesn't is third person singular.
 
manu chaox
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... and if I need prohibit user to use ls with attribute -a ?


offtopic: Sorry for my english.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to use it? With attribute -a?

I know attributes rwx and suid, but not 'to use it' or '-a'.

--
Sorry for my english too
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
manu chaox wrote:... and if I need prohibit user to use ls with attribute -a ?
.


You can't deny the user from using ls -a. may be restrict the parent directory from reading it.


@Stefan : i like Duetsche .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!