Setting folder permission through webdynpro
Hi All,
I know we will set the permissions to KM folder through portal.Is it possible to set permissions to KM folders through webdynpro code ?
Regards,
V Karthi
Hi George,
Yeah i have pasted that sample code in my code.My actual requirement is to give permission to a user to a particular KM folder .And then that user should able to view all the documents which is in the folder.
My code is :
" IWDMessageManager msgMngr = wdThis.wdGetAPI().getComponent().getMessageManager();
IWDClientUser currentWDUser = null;
try {
currentWDUser = WDClientUser.getCurrentUser();
} catch (WDUMException e) {
msgMngr.reportException("WDUMException: " + e.toString(), true);
IUser sapUser = currentWDUser.getSAPUser();
IUserFactory portalUserFactory = WPUMFactory.getUserFactory();
com.sapportals.portal.security.usermanagement.IUser ep5User = null;
try{
ep5User = portalUserFactory.getEP5User(sapUser);
msgMngr.reportSuccess("ep5User " + ep5User.getDisplayName());
IResourceContext context = new ResourceContext(ep5User);
//Specify the path were your document is placed
RID rid = RID.getRID("/documents/Karthi");
IResource resource = ResourceFactory.getInstance().getResource(rid, context);
if(resource.isCollection()) {
ICollection collection = (ICollection)resource;
IPrivateKMdocumentView.IKMContentElement contentElem = null;
ArrayList arr = new ArrayList();
for(IResourceListIterator itr = collection.getChildren().listIterator(); itr.hasNext();) {
IResource res = (IResource)itr.next();
contentElem = wdContext.nodeKMContent().createKMContentElement();
contentElem.setIsLocked(res.isLocked());
contentElem.setName(res.getDisplayName(true));
contentElem.setModifiedBy(res.getLastModifiedBy());
contentElem.setModifiedDate(res.getLastModified()!= null?res.getLastModified().toLocaleString():"");
contentElem.setUrl(generateUrlForIResource(res));
try{
contentElem.setSize(res.getContent().getContentLength());
contentElem.setType(res.getContent().getContentType());
}catch(Exception e){
msgMngr.reportSuccess(contentElem.getName() + " >> " + e.toString());
arr.add(contentElem);
wdContext.nodeKMContent().bind(arr);
catch(Exception e) {
msgMngr.reportSuccess("general exception " + e.getMessage());
Regards,
V Karthi
Similar Messages
-
Setting folder permission in windows 8.1
setting folder permission in windows 8.1
Hi,
You can set the share and NTFS permissions on a file\folder, I'd like to share the following links with you:
(Permissions in Windows 8.1 are similiar to Windows 7)
http://windows.microsoft.com/en-in/windows/what-are-permissions#1TC=windows-7
https://technet.microsoft.com/en-in/library/cc772196.aspx?f=255&MSPPError=-2147217396
https://technet.microsoft.com/en-us/library/cc770962.aspx
Yolanda Zhu
TechNet Community Support -
Set Folder Permission with CSV File
I currently have a batch file that I use to set the folder permission on a users folder. The batch file of course requires me to manually set two variables. I'd like to have a master csv file containing this info and a powershell script to allow
me to set these permission much more quickly. Here's my current batch file:
Set User=123A
Set Folder=123
icacls C:\Data\%folder% /grant %user%:(OI)(CI)F
My csv file would appear as 123A,123
I did do a search and found a few posts on this subject, but couldn't wrap my head around how to modify them to fit my needs.
KevinFOR /F "eol=; tokens=1,2* delims=, " %%i in (myfile.txt) do icacls C:\Data\%%j /grant %%i:(OI)(CI)F
¯\_(ツ)_/¯ -
Setting folder permission using java
Hi,
I want to set permissions for a folder based on the user id. Can i do it using java ? if yes, please let me know how can we do that.
Thanks in advance.Depends on what you mean. If you want to programatically include/exclude a folder in a, say, File Open dialog that your program displays, then yes, absolutely. If you're asking whether can set an operating system security flag on a folder, then the answer is probably not (at least not without resorting to native code), and it will almost certainly not be portable across different operating systems.
-
New users not showing up while trying to set folder permission settings
Server 2012
This is a new virtual domain server and file server in a starwind cluster, I just started migrating users last week.
This last weekend (two days ago) the cluster crashed while doing windows updates on this server. I have been unable to get it to download any updates since without crashing, not sure if that is related to this issue somehow.
I added some new users today and got them all logged in and their data transferred over. good. But then I went to this shared folder that everyone has a mapped drive too and tried to add them in the security tab of a sub folder but their accounts will not show
up when I search for them. Any account I added previously to last weekend show up, students, mine, etc.
even if I select the exact OU the accounts are located in, even if I type their whole name and domain. In AD the accounts are there.
If I log into the backup domain controller Their accounts show up there while in a folder security settings tab. They are listed in active directory on both domain controllers.
I have exhausted myself on Google search.
What the heck did I break?
Maybe I should run
DISM.exe /Online /Cleanup-image /Restorehealth
Not sure if I will lose any data doing that or what the repercussions would be..Hi Dustin,
If the DC is having USN rollback issue, we can resolve it by demote then re-promote or restore the DC using a supported method such as using System State backup to restore.
More information for you:
USN Rollback, Virtualized DCs and improvements on Windows Server 2012
http://blogs.technet.com/b/reference_point/archive/2012/12/10/usn-rollback-virtualized-dcs-and-improvements-on-windows-server-2012.aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Folder permission for /db2/ sid /db2 sid /NODE0000 unknowingly resets.
Hi everyone,
I'm having a problem where the one of my db's folder, /db2/<sid>/db2<sid>/NODE0000 is suddenly reset to permission 700. This leads to alot of errors where background processes will hang and can't even start SAP. When setting the permission to 775 it works, but more often than not, it will go back to 700.
Is there a way to check who/what is changing this folder? Any idea what's causing this? We are using AIX 5.3 TL6 with DB2 9.1 FixPak 3.
Thanks in advance!
Regards,
ChrisHi Christopher,
The DB2 active log folder should be owned by db2<sid> with group db<sid>adm. For example:
lucka:db2hia 13> ls -lrt
total 4
drwxr-x--- 2 db2hia dbhiaadm 4096 2008-08-11 21:00 NODE0000
lucka:db2hia 14> pwd
/db2/HIA/log_dir
If it is owned by someone else, this folder then have to have write permission for other (including db2<sid>) to write. In which case, I am guessing that every time DB2 start, it may try to "fix" the permission.
The best would still be to set the ownership of it to db2<sid> with group db<sid>adm.
The safest time to do it is when the database is deactivated (or instance shutdown).
Regards, -
SharePoint 2013 REST Create "document set" folder
Hi,
Is there a way in rest api model to create a "document set" folder into a Library?
I have already created a folder through this code :
body: { '__metadata': { 'type': 'SP.Folder' }, 'Name': 'New name' }
Do i need to use another namespace ? Or do i add new properties into the body section ?
Regards.Hi,
you could see below a part of my code which works : a CRM's plugin create a document set on a SharePoint online document Library.
I have to use the "/_vti_bin/listdata.svc" instead "_api". Don't forget to add the "Slug" header.
try
Uri spSite = new Uri(https://contoso.sharepoint.com/sites/MySite);
SpoAuthUtility _spo= SpoAuthUtility.Create(spSite, "[email protected]", WebUtility.HtmlEncode("pwd"), false);
var formDigest = _spo.GetRequestDigest();
headers = new Dictionary<string, string>();
headers.Add("X-RequestDigest", formDigest);
headers.Add("Slug","https://contoso.sharepoint.com/sites/MySite/Projects/MyDocSetName|0x0120D520007A233E5B7896684DA77F0B084D0FE117">https://contoso.sharepoint.com/sites/MySite/Projects/MyDocSetName|0x0120D520007A233E5B7896684DA77F0B084D0FE117");
restQuery = "/_vti_bin/listdata.svc/Projects";
url = new Uri(String.Format("{0}/{1}", _spo.SiteUrl, restQuery));
byte[] data = System.Text.Encoding.UTF8.GetBytes("");
// Send a json odata request to SPO rest services byte[] result = HttpHelper.SendODataJsonRequest(
url,
"POST", // reading data from SP through the rest api
data,
(HttpWebRequest)HttpWebRequest.Create(url),
_spo, // pass in the helper object
headers
catch (FaultException<OrganizationServiceFault> ex)
throw new InvalidPluginExecutionException(ex.Message.ToString());
Regards.
Gilles Martinez
Twitter
Blog
Please mark as helpful/answer if this resolved your post -
Hi,
I have a little C# Form Application which should be create a Public Folder and assign permission for a Distribution Group in Exchange 2010.
I have found following in the EWS Documentation:
FolderPermission fp = new FolderPermission();
fp.UserId.PrimarySmtpAddress = "[email protected]";
If i try this with a User Email it works as well. But if I try to set a Email address from a Distribution Group it will throw this Error:
"Invailid UserID"
Does anybody know, how to set Folder Permissions to a Distribution Group?
Thanks,
JulianYou can't set permission on an Item in a Public folder the only level you can set the permissions at are on the folder. Your probably better of using a Distribution Group which you can create via the Exchange Management Shell
http://technet.microsoft.com/en-AU/library/aa998856(v=exchg.150).aspx l. You can then set rights on who can use this distribution group and it will also be visible in the GAL
etc.
cheers
Glen -
Exchange 2010 Public folder permission issue
When i select the public folder and click the permission tab to set the permission, below error message will be pop up. This error message only happen in few sub public folder, another folder without this problem. There are two replica
in different mail store server.
Microsoft Corporation
Microsoft® Windows® Operating System
6.1.7600.16385
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.ConstraintException: Column 'Identity' is constrained to be unique. Value 'gcr.geg.local/Managed OU/Galaxy Corporate/HR&A/Esther
Chan (Corp HR&A)' is already present.
at System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)
at System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
at System.Data.DataRowCollection.Add(DataRow row)
at Microsoft.Exchange.Management.SystemManager.WinForms.PublicFolderClientPermissionHelper.AddEntry(DataTable table, ADObjectId identity, String name, MultiValuedProperty`1 accessRights)
at Microsoft.Exchange.Management.SystemManager.WinForms.PublicFolderClientPermissionHelper.GenerateClientPermissionDataSource(Object clientPermission)
at lambda_method(ExecutionScope , String )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Microsoft.Exchange.Management.SystemManager.ExpressionCalculator.CalculateLambdaExpression(ColumnExpression expression, Type dataType, DataRow dataRow, DataRow inputRow)
at Microsoft.Exchange.Management.SystemManager.ExpressionCalculator.CalculateCore(DataRow dataRow, DataRow inputRow, IList`1 query)
at Microsoft.Exchange.Management.SystemManager.WinForms.AutomatedDataHandlerBase.FillColumnsBasedOnLambdaExpression(String changedColumn)
at Microsoft.Exchange.Management.SystemManager.WinForms.AutomatedDataHandlerBase.UpdateTable(DataRow row, String targetConfigObject, Boolean isOnReading)
at Microsoft.Exchange.Management.SystemManager.WinForms.AutomatedDataHandler.OnReadData(CommandInteractionHandler interactionHandler, String pageName)
at Microsoft.Exchange.Management.SystemManager.WinForms.DataHandler.Read(CommandInteractionHandler interactionHandler, String pageName)
at Microsoft.Exchange.Management.SystemManager.WinForms.DataContext.ReadData(CommandInteractionHandler interactionHandler, String pageName)
at Microsoft.Exchange.Management.SystemManager.WinForms.ExchangePage.<OnSetActive>b__0(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.ManagementConsole, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
MMCFxCommon, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Exchange.Management.PublicFolders, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Exchange.Management.SystemManager, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.ManagementGUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.Common, Version=14.1.214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.ManagementGUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Configuration.ObjectModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Exchange.Data.Directory, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.PowerShell.HostingTools, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Exchange.ManagementGUI.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Net, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Core.Strings, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Core.Strings.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Isam.Interop, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
BPA.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
BPA.UserInterface, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Interop.ActiveDS, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Interop.adsiis, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Interop.Migbase, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.DKM.Proxy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.AirSync, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Approval.Applications, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.CabUtility, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Cluster.Replay, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Configuration.RedirectionModule, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.ApplicationLogic, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.Mapi, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.Providers, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.Storage, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.EdgeSync.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.EdgeSync.DatacenterProviders, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Extensibility.Internal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.HelpProvider, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.InfoWorker.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Live.DomainServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.MailboxReplicationService.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.MessageSecurity, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.MessagingPolicies.Rules, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Rpc, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Search.Native, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.StoreProvider, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Transport.Agent.AntiSpam.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Transport.Agent.SenderId.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Transport, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Transport.Logging.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Transport.Sync.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.UM.TroubleshootingTool.Shared, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.UM.UMCommon, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.RightsManagementServices.Core, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Search.ExSearch, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
MSExchangeLESearchWorker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Data.Transport, Version=14.1.214.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
pspluginwkr, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Exchange.Common.IL, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Configuration.ObjectModel.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Sqm, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Exchange.Management.SnapIn.Esm, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Microsoft.Exchange.Management.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=31bf3856ad364e35Hi,
This issue appears to be related to
data access from their ASp.Net application.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft
Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
FIX: "Exception has been thrown by the target of an invocation"
error message
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Folder permission macmini server 10.6.8 help
I own and run a small office, and i've just changed from a windows small business server who worked rocksteady, to a new mac mini server 10.6.8, because most of us use mac's.
I hired a macsepsecialist to configure and set up the server for the 6 of us. He has tried to solve our problem for 3 months now, and we still have the same problem.
When one of us creates a new folder og file inside a projectfolder on the server, it should get the same permission as the projectfolder so it is accessible to all of us. This was no problem on the windowsserver. This does not happen on the macminiserver. Only the guy who creates the folder get access. All the rest of us is denied. So far have I used a program called batchmod to fix it, but it takes time everyday to fix it.
In the workgroupmanager its like this :
8 users with UID from 1025 - 1032 belongs to three different groups.
1. "Alle" GID 1026 - user A,B,C,D,E,H
2. office GID 1027 - user A,B,C,D,E,F,H
3.Workgroup 1025 - A,B,C,D,E,F
The path for the folders on the server are : Server HD-Users-admin-my office-projects
The permission in the ServerAdmin to the folder : my office is:
ACL: "Alle" - allow-fullcontrol- this folder,child folders,child files,all descendants
POSIX: " Alle" - allow-read &write-this folder
On my workstation, in "the get info window" for the "my office" folder, the permission is :
If I go down one folder to the projects folder inside the "my office" folder
permission in the Server Adm program :
ACL
POSIX :
admin-allow-read&write-this folder
staff- allow-read&write-this folder
others-allow-read&write-this folder
On my workstation, in "the get info window" for the "projects" folder, the permission is :
-unknown - read and write
com.apple.local.ard-reports-read and write
everyone-read and writeTwo things.
First, your server appears to be communicating with the client on both en0 & en1 (alternately).
Second, your server appears to be sending INFORM packets, but the clients aren't replying. That's a pattern frequently seen when the client reply is being grabbed by a rouge DHCP server. -
I need to get my iPod to no longer be associated with the original i store account. My husband set it up through his account but now I have my own account. I don't want to go through his every time I want to make a change. how do I make this change?
I am trying to stop using my I-pod under my husband's I-Tune account. It was set up under his account and the only way I can use it under my account is to erase all of the songs my husband loaded on for me. I had heard there is a duration that I-Pods are locked into to one account only, and I am trying to discover how I can use my account without having to erase everything on the I-Pod. I know it sounds confusing but that's the way I-tunes have set it up. thanks for asking.
-
Re: How to create a User Group In EP through webdynpro coding
Hi ,
we have a requirement in which we want to create user group through webdynpro coding . and then we have to assign some user to this group .
Pls Give step by step solution .
Thanks in advanceHi Mayank,
check the below blog to create group from webdynpro
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0eb5a9d-4256-2b10-79b9-bb0b797ccf73
check 34th page for adding user to group.....
have a try with
addUserToGroup (String uniqueIdOfUser, String uniqueIdOfGroup)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3641e490-0201-0010-c68f-e51221925714
Koti Reddy -
How to set the permission of RMAN in Linux?
I have installed oracle XE in Centos, however, when I try to access to RMAN by
rman target /
it shows the error message
[root@localhost bin]# rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Oct 11 17:50:34 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ================================================
RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ========
RMAN-00571: ================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-01031: insufficient privileges
I would like to ask how to set the permission for root to use rman ?
Thank you very much ~!!Check first if the directory where you save the auditing information is owned by oracle:dba.
Regards
Aron -
How to handle unsaved data in portal through webdynpro ABAP ?
Hi Experts ,
I need to handle unsaved data in SAP Enterprise Portal through webdynpro for ABAP . I got a sdn link which explained some code for this..
http://help.sap.com/saphelp_nw70/helpdata/EN/45/b76f4169e25858e10000000a1550b0/frameset.htm
I tired to implement this in EXIT method of the view. but im not able to get this . Can any one help me in this ? .
Regards ,
Kalpana .Hi ,
Yes i have checked the code . But the example itself not working when i linked the same with portal . If EXIT is not the right method , Can you help in placing the code in right method ? The code i pasted in EXIT method is
data L_COMPONENTCONTROLLER type ref to IG_COMPONENTCONTROLLER .
data L_API_COMPONENTCONTROLLER type ref to IF_WD_COMPONENT.
data L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
L_COMPONENTCONTROLLER = WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
L_API_COMPONENTCONTROLLER = L_COMPONENTCONTROLLER->WD_GET_API( ).
L_PORTAL_MANAGER = L_API_COMPONENTCONTROLLER->GET_PORTAL_MANAGER( ).
call method L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
exporting
DIRTY_FLAG = ABAP_TRUE . -
How to set userlevel permission for GFS and NFS
hi
how to set userlevel permission for GFS and NFS?
regardshi
http://www.redhat.com/docs/manuals/enterprise/
AND
http://en.tldp.org/
probably your best bet.
regards
Maybe you are looking for
-
I'm trying to download mavericks from the app store i get to the preview page but can't get past that page any farther i'm running 10.6.8 any ideas?
-
I can't restore my ipad as new
I've forgotten my restrictions passcode on my ipad and as a result I can't access my icloud or accounts settings to switch restrictions off. Equally I can't turn off 'find my ipad' therefore I can't restore as new in itunes! Somebody please help, I
-
13" MBP to TV (Wirelessly?)
I've searched around and haven't really seen any solid answers to this. I'm looking to set up a 13" MBP so that a Samsung LCD TV is used as a monitor with audio. I could probably use a wired setup but I'm interested more in a wireless solution that i
-
Query for Business Partner Master data
Respected Sir/Madam, I want a Query in Bp Master Data----> "Name" Should Allow Only Capital Letters.Can anyone please helpme out from this.
-
Hello, I would like to know which server can use free to run BPEL. I am that manages, catalogs for the entire structure. Opensource which server can use to run Bpel?PLEASE Thanks