in reply to Re^2: Giving a window user permission to a windows folder from linux
in thread Giving a window user permission to a windows folder from linux

I know I can get file permission info via Win32::OLE and WMI (probably can set them, too), but AFAIK that's Windows only. CPAN doesn't seem to have a module doing windows file permissions from non-windows.

The nearest I find is https://wiki.samba.org/index.php/Samba_%26_Windows_Profiles#Implementing_roaming_profiles_with_Samba, but that's for a specific environment which is probably different from yours…
  • Comment on Re^3: Giving a window user permission to a windows folder from linux

Replies are listed 'Best First'.
Re^4: Giving a window user permission to a windows folder from linux
by 0227lld (Initiate) on Jan 23, 2015 at 17:22 UTC

    yeah but that's running perl on a windows box. I don't want to spiderweb the application. Only other thing I was thinking of is after I create the folder I run a command (cacls it think) on the server to give that new user permission for that folder. Now I need to find a remote way of exec a windows command on the server from the linux box. This is just silly...

      Although our environments are different (we're more or less windows only), that should not make much of a difference: IME the folder gets created on first (windows) login of the user. Does that not work in your configuration, or do you need the folder beforehand? If the latter, you could try to initiate a "windows" login via rdesktop.