Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Directory and File Permissions 1

Status
Not open for further replies.
Oct 10, 2003
2,323
US
My home directory is set to 744. Inside I have a file set to 777.

Someone trying to copy that file was getting permission errors. Shouldn’t the 744 on the directory allow READ of that file for the purposes of copying? GNU Linux 2.6

==================================
The trouble with doing something right the first time is that nobody appreciates how difficult it was - Steven Wright


 
You need execute permission to be able to access a directory to get to the file. You don't even need read access to the directory. That's only needed to list the contents of the directory.

The perm 711 on the directory would let them open/read/copy the file, but still not be able to do an "[tt]ls[/tt]" on your home directory.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top