-1

Lets say I have directory /a with permissions wx and file /a/b with permission x. What can I do with file b? Can I read it, write or i cannot?

Cœur
  • 37,241
  • 25
  • 195
  • 267
  • 1
    Possible duplicate of [How do I set chmod for a folder and all of its subfolders and files in Linux Ubuntu Terminal?](https://stackoverflow.com/questions/3740152/how-do-i-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubu) – Sreetam Das Jun 02 '17 at 11:13
  • 1
    Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See [What topics can I ask about here](http://stackoverflow.com/help/on-topic) in the Help Center. Perhaps [Super User](http://superuser.com/) or [Unix & Linux Stack Exchange](http://unix.stackexchange.com/) would be a better place to ask. Also see [Where do I post questions about Dev Ops?](http://meta.stackexchange.com/q/134306) – jww Jun 05 '17 at 03:15

2 Answers2

0

You can read it but can't write to it and off course you can execute it.

Bagira
  • 2,149
  • 4
  • 26
  • 55
0

You can write inside the dir /a but can't see what are inside the dir. You can create file or new dir inside /a. If you know the name of the file inside the dir, you can execute it only if it has also read permission, so you cannot execute the file /a/b.

moni
  • 16
  • 4