Get Info by right-clicking on the filder. You can set the permission for th=
at folder under Sharing and Permissions. But there may be some other issues=
 involved with enhanced security features.=20

Bob S


> On Jun 5, 2025, at 10:36 AM, Paul Dupuis via use-livecode <use-livecode@l=
ists.runrev.com> wrote:
>=20
> I know most macOS users have full admin of their computers, but in some o=
f our users are students on university lab systems where permissions are re=
stricted.
>=20
> I have run into a problem where 'the detailed folders' is failing with an=
 execution error "get: error in expression: (Line 2695, column 9)"
> thePath is the path to a folder, including the folder. For example: /User=
s/Paul/Documents/My Research/Study123/Sources
> 'Sources' is a folder.
> The pathTo function return the path to that folder, example: /Users/Paul/=
Documents/My Research/Study123
>=20
> The problem code snippet is:
>=20
> set the defaultFolder to pathTo(thePath) -- so in this example, defaultFo=
lder is set to /Users/Paul/Documents/My Research/Study123
> if there is a folder thePath then -- As there is a folder /Users/Paul/Doc=
uments/My Research/Study123/Sources, this is true
>   get the detailed folders -- line 2695 error!
> end if
>=20
> The 'get the detailed folders' should have returned to me the detailed in=
formation for the folder 'Sources" (assuming that is the only folder in the=
 Study123 folder)
>=20
> This works where the user has full permissions
> This has worked in the past where the has not had write permission to the=
 target folder
> This blew up under 15.5.0 (latest Sequoia update). Neither I, nor the poo=
r student, know what the permissions were or how to find out. They may not =
even have access to the same computer the next time they use the lab. Of co=
urse, I could assume all lab computers are configured the same. However, th=
e student is udner a deadline (like many student) and probably does not hav=
e time to troubleshoot this further as saving to a different location worke=
d.
>=20
> I can always enclose the 'get detailed folders' in a try...end try and tr=
ap the error, but I am wondering is anyone know what is going on? This is u=
nder LC 9.6.13 standalone.
>=20
> If they don't have permission, I just want to warn them, so I can do it w=
ith a try..end try, but this all has me curious if Apple ever further sand =
boxing just broke another LC feature.
>=20
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscript=
ion preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to