How to change File Permissions on OS X ?
Keith DeLong
delong at redcort.com
Wed Apr 27 13:06:03 CDT 2005
> Hi REALbasic users,
>
> I see that FolderIterm have Locked property.
> Good.
>
> But CVS on OS X use permissions to lock files.
>
> And I do not see how to modify permissions of file with RB.
> Anybody know ?
Hi Ruslan,
Sub SetPermissions Extends f as folderitem, assigns newPermissions as string
dim shellcmd as new Shell
shellcmd.execute "chmod " + newPermissions + f.ShellPath
End Sub
HTH,
Keith DeLong
More information about the Valentina
mailing list