Which command line to delete all ACL permissions ?

Hi,
I would like to clean all old ACL permissions in folders and sub-folders, to put on the main share folder the right ACL's and distribute them.
It seems it's impossible in Server Admin interface. Which is the command line able to do that ?
I believe it's something like chmod ???
Thanks for your response.
Patrick

chmod -N is the command to remove ACLs. -R runs recursively, therefore to recursively remove all ACLs from a directory tree:
sudo chmod -R -N /path/to/dir

Similar Messages

  • Delete command is not deleting all rows

    Hi All,
    Database version 10.2.0.2
    Delete command is not deleting all rows and deleting some subset of rows which it should delete, ever time I delete and do the roll back, next time it will delete some random rows, count is different everytime with in the range but not complete in anyway. see the following -
    select count(*) from test where evt_id in (select evt_id from test1);
    COUNT(*)
    27105
    delete from test where evt_id in (select evt_id from test1);
    16045 rows deleted.
    select count(*) from test where evt_id in (select evt_id from test1);
    11060
    rollback;
    Againg the same procedure -
    select count(*) from test where evt_id in (select evt_id from test1);
    COUNT(*)
    27105
    delete from test where evt_id in (select evt_id from test1);
    14320 rows deleted.
    select count(*) from test where evt_id in (select evt_id from test1);
    COUNT(*)
    12785
    why its not deleting all the 27k rows in one shot? Is there any bug related to that?
    Thanks
    Abhinav

    Odd that what looked like identical statements produced different results, both the counts and the deletes. The most likely cause of that is your data is changing - as Fahd suggested perhaps a simultaneous load taking place.
    The delete issue is probably not due to a bug. Possible but unlikely.
    If any evt_id values are NULL they won't be deleted with the subquery - a NULL in test.evt_id will never match a NULL in test1.evt_id.
    Have you tried alternative subqueries - a correlated EXISTS subquery for instance?

  • Command Line to change all the users passwords

    Hello there,
    I run Tiger Server. I want to change the password for 300 students from the command line to 1234 as a password for all the students. Is there any easy way to change all the password at once.
    Thanks,

    I changed it from WM. No terminal.

  • Which Adobe program can delete all of the background behind an item? That is: chair has busy backgro

    Which Adobe product can best isolate an object in a photo and elimanate all the background?

    Wogdon,
    Depending on the object, you may try to Image/Live Trace it (with suitable settings), or you may lock the image and draw a path round (and maybe one or more inside)  the object with the Pen Tool.

  • How to upde userid to uid=0 using command line?

    Hi all,
    I made a new user "sysadmin" by typing at root command line:
    # useradd sysadmin (all default profile values)
    What is the command (line) to update its UID to "0"?
    Thanks you very much in advance.
    Ms KK

    In general, having multiple accounts with the same UID is a bad idea. To have
    multiple "root" accounts is very, very bad idea.
    If you need an ordinary mortal user to be able to execute privileged commands,
    set up the sudo(1) facility. This will let you grant permission with a fine
    level of control about exactly which program or command is being used. As a
    bonus, you will get an audit trail of who did what as whom.
    The great thing about sudo(1) is that you can grant root privilege without
    having to give out root's password.
    Now, assume you make duplicate "root" accounts. You get offered a better job
    and leave. The new sysadmin will need careful briefing before doing anything.
    This will create a major maintainability issue long term.
    If you want another root user for disaster recovery or losing the password,
    there are better alternatives such as:
    -- Reboot the system using rescue mode from the installation disks.
    -- Boot into single-user mode by interrupting the GRUB install sequence and appending "s" to the kernel command line.
    -- Boot into an interactive shell by appending the "init=/bin/bash" clause using the same technique.
    These are some of the known, common, best practice methods of handling this
    situation. A custom solution here could be quite dangerous and hard to maintain
    in the long run.
    Please don't.

  • Command line: Mass compile and LLB Conversion

    Using LabView 8
    Using a script (Perl or VBScript) I would like to extract some VI from our source control,
    mass compile them to be to the current LabView version and then create a LLB from that directory.
    The need for this is to have a synchonisation between 2 applications.
    Since this needs to be done from a script, I need a way to perform this from the command line.
    (The other solution we have, is to perform this manually every time a modification is made to the original files,
    But sometimes memory can be defective and then .... )
    Any suggestions, ideas...
    Thanks
    EricG

    Eric,
    That sounds like quite an undertaking, but I think you might be able to implement it (or at least most of it). LabVIEW does not have command line arguments for all that you want to do, so I would recommend building a VI that does what you want and then building that VI into an executable that utilizes command line arguments.
    In this VI, opening VIs and mass compiling them can be accomplished through VI Server in the form of an Invoke Node -- these functions are methods under the Application class. Bear in mind that mass compiling can only bring VIs forward in versioning, not backward. For the LLB functions, you can use the Libraryn VIs that ship with LabVIEW -- they are "hidden" in the LabVIEW root directory under vi.lib/Utility/libraryn and are pretty intuitive. As far as the source code control, you are on your own, as that will be dependent on the specific SCC software you are using and will most likely require using ActiveX.
    Once you have a VI built that does everything you want and you are ready to build it into an executable, you will want to configure it to accept command line arguments. There is a great online Knowledgebase on this subject, which I have linked here. And of course, if you run into any specific problems along the way you can get help from this great online community!
    Best of luck!
    E. Sulzer
    Applications Engineer
    National Instruments

  • Running Perl prog on command line and through Con Program output varies.

    Hi,
    We have perl program which takes a text file and converts it into Excel sheet.
    We run this perl program through Host file.
    In the host file we have
    export PERL5LIB=
    $DGC_TOP/bin/Make_Excel_Detail.pl $5 > $6 2> $7
    When we run this through command line in linux it work properly.
    But the same host program through Concurrent request has total numbers mismatch.
    Any input.
    Thanks,

    Program accepts standard text file and converts it into excel sheet.
    When we run the program in linux command line it gets all the 3000 lines.
    But the same program through concurrent request, gets only 2900 lines.
    What we noticed is the missing lines have some special characters like £bacs, BACS €111.
    Thanks.

  • Scheduling Report  through  Command Line

    Post Author: gunjesh
    CA Forum: Administration
    Hi All,
              I would like to know how to schedule a  Webi (infoview) report of Bussiness Objects XI Release2    through Command line , Not through CMS.
    Command line options
    1. To schedule a report from CMS but using a command line. What all parameters are needed in order to do this ?
    2. To stop/reschedule a report being refreshed/running at this moment. What all parameters are needed in order to do this ?

    Post Author: sgolby
    CA Forum: Administration
    Did you have any luck finding out how to do this ?   We would like to trigger reports from the command line on demand. (or via an API is fine too)
    Thanks,
    Scott

  • Command Line login of SAP B1

    Hi,
    Is there a way that i can login to SAP B1 from command line by giving all required values as parameters???
    basic intention is to login to B1 from another web/windows application.
    thanks, laks.
    Edited by: Lakshman Rao Pilaka on Jul 9, 2009 8:44 AM

    Hi,
    for those issues you need to use the SDK. By using the SDK you can connect other apps to B1.
    For more informations take a look into the SDK manual or visit the SDK forum.
    Regards Steffen

  • Writing command line arguments

    Is there a way in java to specify which command line argument belongs to each option, like in Perl?
    Like -name Sally -age 23 -city New York
    Or would one have to write their own parsing function to do that?

    You see a lot of quick and dirty initialization code that looks likeif (args.equals("-name")) {setName(args[i+1]);}Obviously the getopts people had to write one too many program with command line arguments.

  • Command Line Issue

    Hey All,
    This batch file works:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb BatchTest /sheet 2010 /batch /export HTML d:\batchtest
    but this one does not:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb "00000 Workbook Analysis Begininng 01 Jan 2009" /sheet ALL /batch /export HTML d:\batchall
    The first batch file executes only ONE worksheet and exports the output to a file successfully. The second batch file executes ALL sheets in the workbook but does not produce the output file. Its execution does not produce any error messages but no output is generated. Removing the '/batch /export HTML d:\batchall' commands opens Discoverer Desktop and executes all worksheets successfully.
    I guess I am just being a silly goose but I cannot find the problem. Any help towards solving the problem will be appreciated.
    Thanks,
    Jerre

    Hi Jerre
    Interesting indeed. The export command, taken from my book, is as follows:
    /export <format><export-file-name> This exports the results of executing a worksheet to the file named, in the format specified. If you do not specify a worksheet on the command line, Discoverer exports the results from the active worksheet. If you nominate /sheet ALL on the command line, Discoverer exports all of the worksheets in the workbook and names the output files as <file><sheet-name>.<ext>, identically to the behavior of the Export Data command.
    First of all, because you are using the ALL sheets switch the file name has to be unique and cannot be named the same as a folder. Do you happen to have a folder named batchall? That would cause a problem.
    Next, I am wondering if there is something with the sheet names that could be causing the issue. Can you take a look at the sheet names and see if there are any characters that might cause an issue? As a test, try renaming the sheets to all one word with underscores.
    Best wishes
    Michael

  • Command-line to combine obj files (.o) into a Static Library (lib.a) file.

    I have a library that I need to compile for Solaris 10 x86 using Sun Studio. I compile the source files to make obj files by issuing the command:
    Bash-3.0# cc -c -D"_UNIX_" *.c
    This compiles every source.c and produces an object.o file. (Nice, & simple.)
    Now, what is the command-line to combine all those object.o files (along with a few other staticlibs.a) and make one archive, lib.a?
    I've done this many times with the gnu - gcc compilers. Is it possible with the Sun Studio Tools? And where is it documented?
    I thought I had this 'licked' when installed SS12u1 and built the 'Welcome' project. But I have searched the "Sun Studio 12: C User's Guide" from top to bottom, and I don't have a 'clue' :-( ...
    Mike <><><>

    Run the command
    man arto get the details of using ar.
    If you create an archive library newly each time (instead of trying to update an existing library), this command will do the job:
    ar -r myarchive.a file1.o file2.o file3.o ... I recommend building the archive freshly each time instead of trying to update an existing archive. You can get unpleasant surprises when trying to update.
    To link an archive into a program, just put the archive name on the linking command line (with a -L option to point to the directory if appropriate). The position of the archive on the command line matters. The linker scans the archive as it processes command-line options in order. It pulls a .o from the archive only if it has already seen a reference to a symbol that is defined in the archive. Therefore, the archive must follow all files and other libraries that reference the contents of the archive. Example:
    Suppose f1.o uses something from archive.a, and all files are in the same directrory. This command will work:
    cc -o myprog main.o f1.o archive.a This command will not work:
    cc -o myprog main.o archive.a f1.o The reference in f1.o will not be satisfied.

  • SQLplus TO_UPPER command line argument

    Hi,
    I am reading in a command line argument from SQLplus to use in a PL/SQL block, and need to do a TO_UPPER on the argument, but it doesn't work when I check against it,<br><b>
    IF UPPER('&1.') = 'IPF' THEN ...
    <br><br></b>
    How do I work around this? I tried declaring a variable and assigning the value to it, and then doing a TO_UPPER on it, but that didn't work either. How do I convert the command line argument to all uppercase in SQLplus?
    Thank you, Laura

    Laura:
    How are you calling the PL/SQL block? This works:
    SQL> !cat t.sql
    DECLARE
       l_v VARCHAR2(20);
    BEGIN
       IF UPPER('&1') = 'IPF' THEN
          l_v := 'Got IPF';
       ELSE
          l_v := 'Did not get IPF';
       END IF;
       DBMS_OUTPUT.Put_Line(l_v);
    END;
    SQL> @t abc
    old   4:    IF UPPER('&1') = 'IPF' THEN
    new   4:    IF UPPER('abc') = 'IPF' THEN
    Did not get IPF
    PL/SQL procedure successfully completed.
    SQL> @t ipf
    old   4:    IF UPPER('&1') = 'IPF' THEN
    new   4:    IF UPPER('ipf') = 'IPF' THEN
    Got IPF
    PL/SQL procedure successfully completed.John

  • How to delete all my mail

    Hello I'm trying to delete all my mail but I don't know how I holded command a and deleting all of them but they keep coming back please help
    MacBook Pro Late 2011 edition
    OS X Mavericks
    4GB of RAM

    It would be great if Apple included a select all option in the mail app but I imagine this would result in lots of people deleting all their email when they thought they were in their spam folder and were actually in their inbox so to protect us from our selves, Apple didn't offer this option.  I would love it myself, but as the other poster says, you need to do it on your computer in your web browser.

  • Command-Line question. Delete all but particular folders

    Hello. I need to create a batch file that will delete all folders within the "Users" folder except for the Administrator and Administrator.domainname.
    Can anyone help?
    Thanks

    You could try something along the lines of
    FOR /F "tokens=*" %%G IN ('DIR /B /A:D c:\test') DO if not "%%G" == "test2" if not "%%G" == "test3" rd /s /q "c:\test\%%G"
    but if you do, you may also delete
    c:\Users\Public
    c:\Users\Default         (a hidden folder)
    c:\Users\All Users       (a system folder)
    c:\Users\Default User (a system folder)
    Which may be regrettable. If you want an example of what happens then, try reading
    http://superuser.com/questions/219082/accidentally-deleted-user-profiles-on-windows-7-cant-log-on-with-other-users

Maybe you are looking for

  • Schedule lines for outbound process

    hi can anyone tell me what is schedule lines for outbound process thanks

  • Moving iLife 08 install from one machine to another (with a twist)

    Greetings. I have a complete backup of all the files from an iMac I recently sold. I had purchased a single user version of iLife 08 which is what is on the backup. Before selling the iMac, I reformatted the drive and put iLife 06 and Tiger back on i

  • My Exif is not picking up Metering Mode

    my DPP can read the metering mode file in raw and the jpg thats been processed in APE6. but if you open the jpg in APE6 it cannot read the metering mode. The Exif information on metering mode is missing in my galley images see here http://www.birdfor

  • SharePoint Online Task dependency

    We need to create 50 tasks using a workflow. All the tasks needs to be created when the workflow is started. However, some task cannot start before the previous task is completed. In the Gantt chart we would like to have a visual representation of wh

  • How do I see a "non-categorized" list of all audio podcasts?

    I'd like to see just a straight, complete list of All audio podcasts (on iTunes. Sorry)--organized, preferably, by first name only--i.e., alphabetically. Thank you all! Matt Web Show Creator-and-Artist / Writer www.youtube.com/user/MrMatt674885 www.w