Operating System - OpenVMS
1830237 Members
6790 Online
109999 Solutions
New Discussion

Advanced Server File Share

 
SOLVED
Go to solution
LM_2
Frequent Advisor

Advanced Server File Share

How do you change file permissions on a share? When a user creates a file within a share - I would like for it to have rwed across the board - when I look at the file share - Directory Permissions: System: RWED, Owner: RWED, Group: RWED, World: RE
File Permissions: System: RWD, Owner: RWD, Group: RWD, World: R
5 REPLIES 5
Kris Clippeleyr
Honored Contributor
Solution

Re: Advanced Server File Share

Lisa,

Following command should do the trick:

$ ADMIN MODIFY SHARE /HOST_ATTR=(FILE_PROT=(WORLD:RWED))

Hope this works.

Kris

I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Uwe Zessin
Honored Contributor

Re: Advanced Server File Share

Lisa,
I can't test it right now, but I beleive it is something like:

> modify share SHNAME /HOST_ATTRIBUTES= ( DIRECTORY_PROTECTION=(S:RWED,O:RWED,G:RWED,W:RWED), FILE_PROTECTION=(S:RWED,O:RWED,G:RWED,W:RWED))
.
LM_2
Frequent Advisor

Re: Advanced Server File Share

The problem has been resolved with the host attributes command.
Antoniov.
Honored Contributor

Re: Advanced Server File Share

Lisa,
you are using OpenVms + A/S security policy so every use need privilege on A/S either on Vms.

Antonio Vigliotti
Antonio Maria Vigliotti
Anton van Ruitenbeek
Trusted Contributor

Re: Advanced Server File Share

Lisa,

In the previous post Antoniov mentioned that you are using OpenVMS and A/S security. Why ?
If your intention is W:RWED anyway ?
Change you're security model to A/S only, this saves also a lot of performance.

AvR
NL: Meten is weten, maar je moet weten hoe te meten! - UK: Measuremets is knowledge, but you need to know how to measure !