making a dir undeleteable, or unrenameable?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am trying to make one dir undeletable for a specific user, and an other
dir unrenameable for a specific user. I can't do it. I have been playing
with the addvanced permissions for a while, but nothing have worked. If you
know how to do it please tell me.
 
Something to try,

Go to the Windows CMD prompt,
Type CD\ to put you in the root directory,
Change to the partition the directory is in and type:
ATTRIB +R (name of directory)
This makes the directory read only and cannot be changed or deleted.
 
Hi Squire,

I tried it. It didn't work.

Squire said:
Something to try,

Go to the Windows CMD prompt,
Type CD\ to put you in the root directory,
Change to the partition the directory is in and type:
ATTRIB +R (name of directory)
This makes the directory read only and cannot be changed or deleted.

--
Jerry

Never believe in miracles,
Rely on them
 
OK, does your directory name have a gap in it ?
If it does, enclose the directory name in double quotes.
Example: ATTRIB +R "PROGRAM FILES"
 
It will not work because you can delete the file even that is a read only
file. It will not even work on System + Read-only files.

--
Ayush [ Be ''?'' Happy ]

For any query, search - www.Google.com
Want to know about a term - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/

Replied To :
-------------------------------------------------------------

| OK, does your directory name have a gap in it ?
| If it does, enclose the directory name in double quotes.
| Example: ATTRIB +R "PROGRAM FILES"
|
| --
| Jerry
|
| Never believe in miracles,
| Rely on them
|
|
| | > Hi Squire,
| >
| > I tried it. It didn't work.
| >
| > "Squire" wrote:
| >
| >> Something to try,
| >>
| >> Go to the Windows CMD prompt,
| >> Type CD\ to put you in the root directory,
| >> Change to the partition the directory is in and type:
| >> ATTRIB +R (name of directory)
| >> This makes the directory read only and cannot be changed or deleted.
| >>
| >> --
| >> Jerry
| >>
| >> Never believe in miracles,
| >> Rely on them
| >>
| >>
| >> | >> >
| >> >
| >> > Hi,
| >> >
| >> > I am trying to make one dir undeletable for a specific user, and an
| >> > other
| >> > dir unrenameable for a specific user. I can't do it. I have been
| >> > playing
| >> > with the addvanced permissions for a while, but nothing have
worked. If
| >> > you
| >> > know how to do it please tell me.
| >>
| >>
| >>
|
|
 
Squire said:
Something to try,

Go to the Windows CMD prompt,
Type CD\ to put you in the root directory,
Change to the partition the directory is in and type:
ATTRIB +R (name of directory)
This makes the directory read only and cannot be changed or deleted.

Umm, that won't work for XP windows: ALL directories in XP are marked
read-only, but they ARE NOT in the sense of accessing and renaming/deleting
etc.. It's an aberration of XP if you will. Attributes can only be changed
on files.

Pop`
 
Is it any different in 2003 server?

Pop` said:
Umm, that won't work for XP windows: ALL directories in XP are marked
read-only, but they ARE NOT in the sense of accessing and renaming/deleting
etc.. It's an aberration of XP if you will. Attributes can only be changed
on files.

Pop`
 
Reliable sources are claiming that "ש×לתי×ל said:
Hi,

I am trying to make one dir undeletable for a specific user, and an other
dir unrenameable for a specific user. I can't do it. I have been playing
with the addvanced permissions for a while, but nothing have worked. If
you
know how to do it please tell me.

You were probably on the right lines with the permissions route initially

Right-click the folder or parent folder (in safe mode for XP Home) >
Properties > Security
 
ש×לתי×ל said:
Is it any different in 2003 server?

:

Windows Server 2003 default share permission simply works this way:

If a user is NOT the owner of a file, he/she can only read it, that's
it. No renaming, deleting allowed. Only the owner of the file/folder can
rename, delete, modify etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top