Anonymous_User Absent Member.
Absent Member.
1694 views

Tools for removing read-only flag from large numbers of directories



--

Hi

I am having an issue in that I have restored around 120Gb of data from
Netbackup and all restored directories are marked "read only".

We have a feeling this could be affecting further restores which need
to overlay previous restores.

Does any one know of any suitable tools to remove the read only flag
from a large directory structure?

Not sure if the FLAG command could be used for this?

Any help much appreciated.

Thanks
Labels (2)
0 Likes
6 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Tools for removing read-only flag from large numbers of directories

The fastest might be doing it from the server console. If you have an up
to date NW 6.5 server, you can load TBX.NLM and use the attrib command
(use attrib /? to get the syntax)
Otherwise, you can use the flag command from the latest TOOLBOX.NLM:
http://www.novell.com/coolsolutions/tools/13950.html

--
Marcel Cox
http://support.novell.com/forums
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Tools for removing read-only flag from large numbers of directories

Right-click in explorer?

Wolfgang

"Mike McCannish" <mike.mccannish@mccannish.co.uk> wrote in message
news:ju7kg.2298$tN4.591@prv-forum2.provo.novell.com...
>
>
> --
>
> Hi
>
> I am having an issue in that I have restored around 120Gb of data from
> Netbackup and all restored directories are marked "read only".
>
> We have a feeling this could be affecting further restores which need
> to overlay previous restores.
>
> Does any one know of any suitable tools to remove the read only flag
> from a large directory structure?
>
> Not sure if the FLAG command could be used for this?
>
> Any help much appreciated.
>
> Thanks



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Tools for removing read-only flag from large numbers of directories

On Thu, 15 Jun 2006 09:09:45 +0000, Marcel Cox wrote:

> Otherwise, you can use the flag command from the latest TOOLBOX.NLM:
> http://www.novell.com/coolsolutions/tools/13950.html


Which can also be done using the flag.exe command from a DOS prompt from
a workstation-


--
___________________________________________
Niclas Ekstedt, CNA/CNE/CNS/CLS
Network Consultant/NSC Sysop
InfraSystems Solutions AB

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Tools for removing read-only flag from large numbers of directories

Niclas Ekstedt wrote:

>Which can also be done using the flag.exe command from a DOS prompt from
>a workstation-


Yes, except that flag.exe tends to crash if it has to recursively scan
deep directory structures.

--
Marcel Cox (using XanaNews 1.18.1.3)
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Tools for removing read-only flag from large numbers of directories

On Thu, 15 Jun 2006 16:16:27 +0000, Marcel Cox wrote:

> Yes, except that flag.exe tends to crash if it has to recursively scan
> deep directory structures.


Might be, haven't had that issue (yet). Could just be that I've not had
deep structures.


--
___________________________________________
Niclas Ekstedt, CNA/CNE/CNS/CLS
Network Consultant/NSC Sysop
InfraSystems Solutions AB

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Tools for removing read-only flag from large numbers of directories

I do, and it has become more problematic over time to do things with it.

What I use it most for is setting file ownership, like this:

FLAG *.* /owner=olduser /name=newuser /s /c

It definitely doesn't like either deep sub-directories, or is having
name space issues with LONG or MAC.

Niclas Ekstedt wrote:
> On Thu, 15 Jun 2006 16:16:27 +0000, Marcel Cox wrote:
>
>> Yes, except that flag.exe tends to crash if it has to recursively scan
>> deep directory structures.

>
> Might be, haven't had that issue (yet). Could just be that I've not had
> deep structures.
>
>

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.