× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Fri, 2002-03-01 at 15:29, Steve Richter wrote:
> Troops,
>
> When I run CPYTOSTMF to copy to a file in the IFS, *Public has no rights to
> use the file and the user gets "access denied" when they open the file from
> their pc.
>
> I then use option 9=Work with authority from the WRKLNK display, grant
> *PUBLIC *RWX rights to the file and the user can then access the file.
>
> CPYTOSTMF does not have a PUBAUT parameter ?
>
> How can my batch pgm grant authority to an IFS file ?
>
> Can a user could be given all rights to all files created in a directory,
> for now and forever ?
>
>
> Thanks,
>
> Steve Richter

Steve

Do a CHGAUT on your object after it is created to set the authorities
needed.

Regards, Martin

--
martin@dbg400.net  jamaro@firstlinux.net  http://www.dbg400.net
/"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open        \
/
Source free test environment tools and others (file/spool/misc)
X
[this space for hire]  ASCII Ribbon Campaign against HTML mail & news  /
\



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.