Has anybody edited the /System/Library/LaunchDaemons/smbd.plist file?
Mac clients don't honour Samba settings for new directory and file creation masks so I thought I would set the Umask value in smbd.plist and that would apply to all clients, Mac SMB clients too.
Has anybody done that before?
Best regards,
Andrus Suitsu
Apple document http://support.apple.com/kb/HT2202 says:
In Mac OS X 10.4 and later, advanced administrators can set a separate umask for a specific LaunchAgent or LaunchDaemon by adding a Umask value to the launchd plist file.
So I think and hope that means that adding Umask setting to smbd.plist would have some effect on how smbd will create files, wouldn't you agree?
Windows clients already honour the settings in /var/samba/shares and create all directories and files with the specified POSIX permissions. My problem is that OS X samba clients don't honour those settings and use their own umask. I want to solve this on the server, not by configuring each client separately.
Andrus
PS. I cannot bring SMB down while people are working on the shares, otherwise I would already know if changing the smbd.plist file helps me.
Message was edited by: andrussuitsu
Similar Messages
-
Hi all,
I have a MBP 13" (early 2011) running Lion 10.7.2 and some days before, I wanted to host an HTTP server on it. I googled and found I should turn on "Web Sharing" for this feature. But unfortunately, it just wouldn't start. I googled again and found a solution (I think). I tried deleting the disable key and
<string>-D</string>
<string>WEBSHARING_ON</string>
from "/System/Library/LaunchDaemons/org.apache.httpd.plist". I couldn't save the file because it is protected. So I tried copying all the content of the file and save it to a new file with the same name, deleted the original file, and put the new one back to the directory. Nothing worked. I couldn't edit the new file as well. So I put the original file back and replaced the new one. Then I tried to change my rights of that directory as well as the file to "Read and Write". And I managed to edit the file! I deleted the mentioned sentences and saved it. Then I tried turning Web Sharing on for about a hundred times, but never succeeded. So I turned off my MBP and slept. OK, the next day when I decided to try again, I found the machine won't boot! It got stuck to the grey screen with Apple logo and a spinning wheel permanently. Every time I needed to hold the power button for 4 seconds to turn it off. I've tried SUM (command-S) and ran fsck, no problems were found. I also tried the method from http://support.apple.com/kb/TA20809 , but still couldn't get past that grey screen. Cannot boot into safe Boot also. I don't if it is a problem related to the alias of that file because I had deleted it and put it back. Please help. Many thanks.
P.S. If can't solve it, should I bring it to Apple Store and ask for Genius?Hi,
Yes, I did resolve it - it was the graphics card. Changed that, updated OS X and it was done.
I can't now remember exactly which card I used, and I'm away at the moment so I can't get to the infomation, but I do remember that it was a full length card with a large heatsink, and was a bit of a pig to squeeze into the chassis!
Had to buy an adaptor for the second monitor connection, but that didn't cause any hassle. I got the card and cable from the local Apple Store.
It also theoretically needed a later version of OS X than was already there, but since it allowed me to boot off the CD, that didn't matter (and it worked with the old one anyway, as it turned out).
Oh, and also of course, although it's a bog standard PC card, you have to pay way over the odds for it because it has to have different PROMS for a Mac. (Thank you Apple.) Just part of the price we all have to pay for using Macs.
I seem to remember that there was a certain amount of dancing involved in upgrading the OS afterwards (might have had to do one step twice), but nothing that unusual.
Hope this helps,
All the best,
Brian -
Has anybody solved the blue screen?
I have been slaving over my iBook G4 since 8pm PST last night when I performed the update that screwed up my machine. I have spent my day doing this and that and still get blue screen. Has anybody solved the puzzle on what to do to get operating again?
Hi, I had the "Safari & security update problem". It wouldn´t start no matter I repaired permissions with Disk Utility. So I reinstalled the OSX (10.4.11) That let me keep my files, bookmarks and stuff, but my printer settings were lost. If I replace the actual printer settings with the ones that still are on the "previous systems) folder will it cause me problems again? Hope you can tell, Thanks.
-
Hi Guys! I really need help here, Im a Web Graphic Designer and i really use alot of Memory on my mac ( i have 8gb ram ). Everyone told me that disabling the memory swapping would really help alot and tried to disable it. All of my friends taught me on how to disable it by enerting
" sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist " on my Terminal
It really works on other MacBPro but i ge this error message
" launchctl: Couldn't stat("/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist"): No such file or directory nothing found to unload "
I tried to look at the folder or directory there is no com.apple.dynamic_pager.plist and its confusing me cause the memory swapping is still working without the com.apple.dynamic_pager.plist.
Can someone help or tell me how to fix this? I would really much appreciate it.I never heard of anyone doing what you are attempting!
If you have so much memory as you claim I don't see the advantage of running the system in this non-standard way since you probably won't need to write to a swapfile anyway. And you are asking for trouble if it does need it and it's not there.
Finally, I submit you must have missed or or looked in the wrong place. In terminal cut/paste the following:
ls /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
It shouldn't report an error. -
Has anybody had the following error while trying to download iTunes 10.5? There is a problem with Windows Installer package. A program required for this install to complete could not be run.
Go to "control panel" then "add or remove programs". Highlight "Apple software update" Choose "change" click "Repair" This should do the trick. Then download and install iTunes 10.5 again.
-
Can we edit the System Report queries to add some missing fields ?
Hello,
I'm using SAP Business One 2005 A and I was wondering if there was a way to edit the system report queries. Sometime, I'm only missing calculated fields in the existing report. Something as easy as the difference between 2 dates is not working with the formula fields.
Instead of rewriting everything, could we simply see that original query and edit it to add the missing fields ?
I don't like the fact I can't add my own created report from a query in the main menu. Since I couldn't do anything with the Backorder reports by default, I created mine with my own SQL query. Can't I replace the existing one with my own ?
Thank you
Daniel GagnonHi Daniel,
You can edit a system query but then you can only save it as a user query (ie you cannot overwrite the system queries).
User queries can't be placed in the Main Menu using the standard GUI though you could add them to the User Menu tab so your users can get to them easily. I think to add them to the Main Menu would require the development of an add-on that updated the Main Menu and triggered the running of the query when the user clicked on the menu option.
The other thing to look at is using XL Reporter for your reports rather than the Query Generator. With XL Reporter you can automatically add reports to the main menu.
Kind Regards,
Owen -
Everytime I open iTunes lately...I get all my music thrown out of the library and this annoying message come up...The file “iTunes Library.itl” does not appear to be a valid iTunes library file. iTunes has created a new iTunes library and renamed this file to “iTunes Library (Damaged) 4”. Is this how an apple works? It doesn't? Why all of a sudden is it doing this? Please help. Thank you.
DavidDid you happen to bring this iTunes library over from a windows machine? You might read this kb article to see if it helps http://support.apple.com/kb/HT1451
-
Has anybody used the microsoft JDBC 2.0 driver for sql server 2000?
Hi,
Has anybody used the JDBC 2.0 driver for sql server 2000 downloadable from the
microsoft website?When I try using it with WL 6.1 sp1 it says it can't load the
driver.I try viewing the class file from the jar file using the jar utility it
gives an unknown Zip format error.Anybody has any solution for this ?If anybody
has managed to work with this microsoft driver i will be grateful if they provide
me with a solution.
Thanks
ThomasHello Thomas,
You may want to download the driver again and install it again.
heres a sample xml tag in the config.xml:
<JDBCConnectionPool
DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
InitialCapacity="3" MaxCapacity="12" Name="MSpool"
Password="{3DES}fUz1bxR0zDg=" Properties="user=uid"
Targets="myserver"
URL="jdbc:microsoft:sqlserver://mydbserver:1433"/>
ensure that you follow the instructions from Microsoft. For using 2000
driver you will need to have
Install_dir/lib/msbase.jar and Install_dir/lib/msutil.jar in addition to
Install_dir/lib/mssqlserver.jar in the CLASSPATH.
hth
sree
"Thomas" <[email protected]> wrote in message
news:3c91ec0e$[email protected]..
Hi,
Has anybody used the JDBC 2.0 driver for sql server 2000 downloadable from
the
microsoft website?When I try using it with WL 6.1 sp1 it says it can't load
the
driver.I try viewing the class file from the jar file using the jar utility
it
gives an unknown Zip format error.Anybody has any solution for this ?If
anybody
has managed to work with this microsoft driver i will be grateful if they
provide
me with a solution.
Thanks
Thomas -
System error 3 has occurred. The system cannot find the path specified
Enterprise Manager 12c Release 2 - 12.1.0.2.0
Agent Deployment Failed - host agent for Windows 32 bit, version 12.1.0.2
Deployment Phase Name: Secure Agent
Error: Execution of command C:/cygwin/bin/sh.exe -c 'export NEED_EXIT_CODE=1 && C:/oracle/product/emagent12/agent_inst/bin/emctl.bat start agent' on host myhost.mydomain.com Failed
Cause: Error Message: System error 3 has occurred. The system cannot find the path specified. Exit Code :2
Recommendation:
Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
C:/cygwin/bin/sh.exe -c 'export NEED_EXIT_CODE=1 && C:/oracle/product/emagent12/agent_inst/bin/emctl.bat secure agent'
C:/cygwin/bin/sh.exe -c 'export NEED_EXIT_CODE=1 && C:/oracle/product/emagent12/agent_inst/bin/emctl.bat start agent'
C:/cygwin/bin/sh.exe -c 'export NEED_EXIT_CODE=1 && C:/oracle/product/emagent12/agent_inst/bin/emctl.bat config agent addinternaltargets'
Any ideas? thanksI installed Cygwin, and it's working fine I suppose. From my EM12c host I can connect to the Windows host via SSH:
ssh WinHost
The authenticity of host 'WinHost (XXX.XXX.XXX.XXX)' can't be established.
RSA key fingerprint is XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'WinHost' (RSA) to the list of known hosts.
oracle@WinHost's password:
Last login: Wed Sep 19 17:26:40 2012 from SomeHost
oracle@WinHost ~
$ cygrunsrv -h
Usage: cygrunsrv [OPTION]...
Main options: Exactly one is required.
-I, --install <svc_name> Installes a new service named <svc_name>.
-R, --remove <svc_name> Removes a service named <svc_name>.
----------------- blah blah blah ------------------------------------
Report bugs to <[email protected]>.
oracle@WinHost ~
$ date
Thu, Sep 20, 2012 10:10:01 AM
oracle@WinHost ~
$ cd /cygdrive/c/oracle/product/emagent12/ - this is the folder where I try to install the agent
oracle@WinHost /cygdrive/c/oracle/product/emagent12
$ ls -la
total 0
drwx------+ 1 oracle None 0 Sep 20 09:55 .
drwx------+ 1 WinHostAdmin None 0 Sep 19 12:31 ..
Thanks -
An error has occurred in the system "ECC" while copying the document
Hello Experts,
When I'm creating service orders in CRM UI and saving them I'm receiving this error:
An error has occurred in the system "ECC" while copying the document
Details:
An error has occurred in the system "ECC" while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors have occurred while transferring the document into another system. Refer to the enclosed log to view the error messages.
Transmission log
Error occurred during determination of profitability segment (Notification E IAOM 025)
Profit center for CRM integration not found (Notification E KECRMPCA 001)
Error occurred during determination of profitability segment (Notification E IAOM 025)
Account assignment error in internal order K1153000004111 for position 2000000990/0000000020 (Notification E C( 321)
Regarding to the account assignement, we developed a field to input Accounts IDS for WBS.
This field has a customization table related which allows to visualize in a dropdown list the allowed WBS ID per user according to the entries in the table.
Also, In the Service Order there is one status that triggers an action that creates a Sales Order in CRM that is replicated in ECC, but since I have this error Sales order is not being replicated in ECC.
Any ideas?
Kindly Regards,HI,
Please check these threads:
CRM-COPA- An error occurred in system EEPCLNTXXX during account assignment
http://www.riderspider.com/2010/11/error-error-occured-in-system-dv1cltecc.html#more
Denis. -
An error has occurred in the system DV1CLNT400 while copying the document
Hi All,
While creating complaint confirmation i am getting below mentioned Errors in ECC.
Can any body provide configuration settings.
An error has occurred in the system DV1CLNT400 while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors have occurred while transferring the document into another system. Refer to the enclosed log to view the error messages.
Transmission log
No operating concern has been assigned to controlling area 1001 (Notification E KE 300)
Error occurred during determination of profitability segment (Notification W IAOM 025)
Error occurred during creation of settlement rule (Notification I IAOM 046)
Regards,
TejaHi,
From the nature of Error messages, it looks like these are related Customization settings. As you mentioned your SAP CRM system is connected to SAP ERP system, so Controlling documents and other account postings are happening there.
So, the best approach will be to get in touch with your functional consultant who will be the best person to guide you with the scenario and the respective process setup. You can also have a look at SAP HELP about the integration of the CRM and ERP systems along with the data exchange.
Hope this will help.
Thanks,
Samantak. -
My itunes library suddenly that the file “iTunes Library.itl” does not appear to be a valid iTunes library file. iTunes has created a new iTunes library and renamed this file to “iTunes Library (Damaged)”. I use an external hard drive for my Itunes.
The library file appears to have been corrupted. You say you use your external drive but is the whole library on it or only your media? No matter, you will have to rebuild the library file:
iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451 -
An error has occured in the system KRP810 while copying the document
Hello Experts,
In my project while saving the service confirmation transaction i am getting the below error. Below is the complete description of the error.
An error has occured in the system KRP810 while copying the document
Message no. CRM_ORDER_MISC 020
*Diagnosis*
*Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.*
*Transmission log*
*Number of hours recorded 16,04 exceeds target hours 0,00 (Notification W LR 206)*
*Updating could not be completed (Notification E S& 150)*
Could any one of you tell me , how can we remove the error and what is the reason behind this error.
Thank you in advance.
Thanks & regards,
Vamsi krishna.need to replace confirmation
-
Photos can't remember the location of the System Library
I have a lot of pictures, so I store my pictures and photos library on an external drive. Photos is constantly forgetting that this is the system photos library and I have to re-specify that it is...Why can't Photos remember this?
Do you ever launch Photos without the EHD connected? That could break the link to the system library. Are you running a "managed" or "referenced" library?
-
Dear sweet Apples, that know all the answers...
I can't get a proper connection to my Epson R1800 printer. I get the basics , but I need to be able to choose paper sizes and paper Types.
It keeps saying that the downloads went fine, but then it says that the System/Library/Extensions cannot be used because SMC1255TX.kext
isn't working. My downloads are useless as a resultDid you restart the printer?
Maybe you are looking for
-
I am running Windows 8, Itunes, and an Iphone 4 - all up to date software. When I connect my iphone to the computer, Windows makes the sound that says you've connected a device. After that, neither Windows nor Itunes recognizes the phone. When I go t
-
on 10-29 my macbookpro 10.6.8 stopped receiving mail from my ISP and from my MobileMe (iCloud account). I got repeated pop-ups for my password at the ISP. So at the Spokane genius bar, Frank re-loaded the accounts in mail and they seemed to work. B
-
Agent Desktop's agent state toggles between "ready" and "reserved
Hello and thanks for all of your past help. I have a user whos'e Agent Desktop's agent state toggles between "ready" and "reserved when no calls are coming in to he IP Phone 7941 or 7961. Can anyone help? Thanks, Chet
-
when replying i n a d i s c u s i o n if I don't hit the spacebar, the letter won't type, then I have to backspace. It takes FOREVER to type a word HELP
-
Hi All I want to eliminate the need for hard coded values in my code . for example when I set an attribute as setAttribute ("A", "This a good day") I want to eliminate "This a good day" from the code and replace it with something else more sophistica