× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2009-12-29T02:03:04Z  · last modified 2009-12-31T00:30:14Z

AQFileSytem chgrp in Ubuntu


Priority Low
Complexity Easy
Component Open API - General
Version 09.0

ADS 8.5 dev7.0

Used AQFileSystem chgrp in Ubuntu machine

Tried to change the ownership of a directory

ADS displayed - CHGRP done

when I used ls -l the group had not changed. Group was not changed.

Sample Program

var test_data_dir = "/home/niels/test";
var AQFS = aqua.filesystem;
test_chgrp();
function test_chgrp() {
    var dest_dir = test_data_dir ;
      var owner = "root";
    exec_chgrp(dest_dir , owner);
}
function exec_chown(pathname, owner) {
    try {
        aqua.println("CHGRP of [" + pathname + "] to [" + owner + "]...");
        AQFS.chgrp(pathname, owner);
        aqua.println("CHGRP done.");
    } catch(ex) {
        aqua.println("CHGRP failed - " + ex.toString());
    }
}

Issue #3393

Closed
Fixed
Resolved 2009-12-31T00:30:14Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017