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

Thanks, but but I don't think that's correct. homeDrive is whatever letter you want the homeDirectory to be (h: or k: etc.), the homeDirectory is a server/folder mapping (\\server\folder) and when I mount a cifs and create a folder, it exist on that server. The question is how to give that new window user permission to use that folder from the perl script that's running on linux. If i was running perl on windows it would be a non issue.

  • Comment on Re^2: Giving a window user permission to a windows folder from linux

Replies are listed 'Best First'.
Re^3: Giving a window user permission to a windows folder from linux
by soonix (Chancellor) on Jan 23, 2015 at 14:17 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.