Server permissions
Phil Davis
davis.phil at comcast.net
Tue May 16 01:05:21 EDT 2006
Bill,
This is an area that I don't know much about. Given that, here are my
thoughts:
1) Are FTP permissions completely independent of the permissions you
want to capture? If not, and assuming your target servers have FTP,
maybe you could use the libURLftpCommand function to get permissions info.
2) Some kind of permissions are returned in item 10 of each line of 'the
detailed folders'. Would that give you anything you can use?
Best -
Phil Davis
Bill Vlahos wrote:
> Two more pieces of information I would need is whether or not the
> permissions were inherited from the parent folder and AFP vs. SMB
> permissions. I can get by without either of these items for my
> particular servers because we generally inherit the permissions and AFP
> is the same as SMB but being able to get the information would be more
> helpful. I'm not even sure I can get these from the OS.
>
> Bill
>
> On May 15, 2006, at 8:27 PM, Bill Vlahos wrote:
>
>> How can I determine the permissions on a server share/volume? I would
>> like to document the server permissions on our file servers (both Mac
>> OS X Server and Windows 2000 and 2003 servers).
>>
>> I have an immediate need to do this on OS X (10.3.x) servers as I'll
>> be upgrading them to 10.4. I am thinking of bringing up a whole new
>> server and transferring the folders/files to it and then setting the
>> permissions to match the old server.
>>
>> Is there a Rev command that will give me permissions on the folder or
>> file or do I need to script the shell? I assume I will need to run
>> the application on the server itself so that it has access to all of
>> the settings.
>>
>> Info for each Share or Folder:
>> Path: /User Files
>> Owner: Admin : Read & Write
>> Group: General Users : Read Only
>> Everyone: No access
>>
>> If I can get the command then I could build a permissions browser
>> database for an entire server.
>>
>> Bill Vlahos
More information about the use-livecode
mailing list