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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File doesn't get same permission as Directory

Status
Not open for further replies.

francoislaroche

Programmer
Feb 13, 2002
35
CA
I have a directory on my server. The permissions on this directory are as follow:

Administrators Group = Total Control
desden (user whose directory this is) = Total Control
Everyone = Write only (W)

The goal is to use this directory so that people (students in particular) can give files to their teacher, without other students being able to open those files (thus the W only permission for everyone).

Now, someone other than desden and administrator logs on a Win98 computer on my server domain. That person creates a .txt file with notepad, and save it in My Documents. Then, it copy the file, and paste it in the directory from my server.

Normally (at least that's what everybody told me), the file should take the permissions from it's directory. But, when I go check those permissions on the .txt file on the server, they are as follow:

Administrators Group = Total Control
desden (user whose directory this is) = Total Control
Everyone = Total Control

How comes Everyone gets Total Control on the file, and how can I make it so that Everyone can place files in this directory, but that nobody except Administrators and the concerned user (in that case, desden) can read or open a file from the directory?
 
Don't give Everyone Write permissions. Give them Add permissions. Write lets them be the Owner of the file and the file assumes the default permissions of the folder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top