Bob Wya Posted August 12, 2007 Posted August 12, 2007 Hi This question concerns the Auto3Lib extension for network share management and also some problems I have with file permission control under Windows which is tres wierd compared to Linux or Unix systems...!! I have a Visual Basic script that I had previously been using to set up the network shares for my server... However this would not change the state of the READ or READ/WRITE access flag that all file shares have and so I had to do this manually... When I run the NetworkShare Enum examples in the Auto3Lib library all the share permissions on my server come back as 0 (I login as admin)... NB it does not matter whether the are hidden admin shares or visible ones I have added... I am somewhat confused??!! So how do I control the basic read/write permisions and can I set the other permission types...?? Everything else in the sub-library for netshare management is great and should be really useful for writing a GUI Share manager (which I have always wanted really - control freak!!) I am running the scripts under Windows XP 64bit edition if that is significant... Thanks Bob
PsaltyDS Posted August 12, 2007 Posted August 12, 2007 I don't know if there are 64-bit issues with it, but I have used SetACL.exe for setting all kinds of permissions from my scripts, including CIFS Shares. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Bob Wya Posted August 12, 2007 Author Posted August 12, 2007 I don't know if there are 64-bit issues with it, but I have used SetACL.exe for setting all kinds of permissions from my scripts, including CIFS Shares. I've had a look at this and it looks really useful especially as it is CLI based!!I am still trying to get my head around the various issues I have with windows file permission!! I'll have a look through the MS Resource Kit book to see if I can get my head around this topic again!!I am wondering though why does the AutoLib3 permissions for a (local machine) network share always return 0? That would imply that nobody could access it?? Surely the administrator user can access his own network shares - right?Thanks for your help!!Bob
ptrex Posted August 12, 2007 Posted August 12, 2007 @bobwayMaybe this can help : Set ACL properties in Windowsregards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now