Re: How do you set share permissions using 'net share' command?



You can't do that via 'net share'. You define permissions via cacls if you
want to use command line tools.

--
Walter Clayton
Any technology distinguishable from magic is insufficiently advanced.
http://www.dts-l.org


"Arturo" <Arturo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DD6E340D-FED6-404B-AB1E-7177C7BC0FA0@xxxxxxxxxxxxxxxx
> Is there a parameter available to set the share permissions (Full Control,
> etc) from a command prompt using 'net share'?
>
> net share sharename=d:\folder\subfolder ...


.



Relevant Pages

  • Re: Help with cacls in WinXP Home
    ... Take Ownership of a File or Folder in Windows XP ... all the information I have of CACLS: ... Just because you can set permissions with Cacls doesn't mean you should. ... Try the Cacls command on a test folder first and make sure that your ...
    (microsoft.public.windowsxp.security_admin)
  • Re: ubuntu-users Digest, Vol 47, Issue 208
    ... Superuser confusion or maybe critically confused ... "Permissions" appears nowhere in Nautilus, so far as I can tell. ... I am attempting to learn to use command line. ...
    (Ubuntu)
  • Re: Isolate home directory shares
    ... I believe the command for one subfolder would be similar to: ... removes the inheritance flag but leaves existing permissions for the ... home directories are done with ADUC using profile tab: ...
    (microsoft.public.windows.server.general)
  • Re: 2 pc network - cant see host files from pc 2 on pc 1
    ... > Enable it on both computers and use the command ipconfig /all to make sure ... > permissions. ... > user account and/or change the password for a user account. ... It continuously states the windows ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Windows XP boots to background only, no start button, no icons
    ... I tried the cacls command for explorer.exe and it showed that users & power ... about not having the right permissions. ... but I can access my task manager. ... use your system CD to do a repair installation. ...
    (microsoft.public.windowsxp.general)