[SOLVED]change default access creation rights for the users

Hi!
When a user creating folders or files it will allow full access to all users who are in the same group.
How can I make the changes to be default instead of using chmod always?
Last edited by Andy_Crowd (2014-06-11 14:47:29)

Here is an example with some entries from my smb.conf
security = share
guest account = windowstools
[WT]
path = /home/Windows/Win-tools
public = yes
writeable = yes
create mask = 0000
guest ok = yes
browseable = yes
read only = no
Windows XP is connected to my Linux share. I want be able to create folders and have access within Linux and Windows with rwx rights for the group. For now files created from Windows getting default rights 755 (rwx,xr,xr).
windowstools:andy = is XP username/group
andy:andy = Arch Linux username/group
Windows XP is full updated (got problem once with connection to samba after update, got wait until next updates will come -.- , when new windows updates came XP could be connected to samba again, was a bug as I hoped).
I am starting/restarting samba with script like
#!/bin/bash
systemctl stop smbd
sleep 2
systemctl status smbd | head -1
systemctl status smbd | grep 'Active:' | awk -F')' '{print $1}' | sed 's/(//m'
systemctl stop nmbd
sleep 1
systemctl status nmbd | head -1
systemctl status nmbd | grep 'Active:' | awk -F')' '{print $1}' | sed 's/(//m'
systemctl start smbd
sleep 2
systemctl status smbd | head -1
systemctl status smbd | grep 'Active:' | awk -F')' '{print $1}' | sed 's/(//m'
systemctl start nmbd
sleep 1
systemctl status nmbd | head -1
systemctl status nmbd | grep 'Active:' | awk -F')' '{print $1}' | sed 's/(//m'
and not automatically on boot.
Windows XP is running in VMware Player on the same PC with Arch Linux.
Last edited by Andy_Crowd (2014-06-11 12:42:52)

Similar Messages

  • How to grant access to sharepoint for the user from different Domain

    Hi All
        I need to grant access to user from different domain. 
        Where I can able to view the users in people picker (different domain).
    Thanks in Advance.
    Raj

     Hi
    Trevor Seward
    Sorry to disturb
    you again.
      I am trying to restrict user from search from other domain, say we have domain A and Domain B, where I am trying to restrict all the user from domain B (Search users)for a site collection. I have found couple of stsadmin command to do so. but none
    of them works. Below are the commands I have tried
    STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "domain:<Name>.domain" -url "http://Site URL"
    stsadm -o setproperty -pn peoplepicker-searchadcustomquery -pv “(canonicalName=<Name>.domain*)” -url "Site URL"
    we have two way trust.
    Can you suggest any solution.
    Thanks 
    Raj

  • How can I make comments Editable for the users?

    Good day,
    How to give edit rights for  the user to edit his comment?
    If anyone can point me to a tutorial on how to do this or even give me a few tips, would be greatly appreciated!.
    Thanks

    I think we need a bit more information. Most importantly:
    #1 Edit comments where?
    #2 What technologies are you using? (PHP, Cold Fusion, etc)
    #3 A link to actual site would be most helpful
    Brad

  • Request proProcessing failed. (XLS 000009) You do not have data access rights for the connection.

    Hello,
    I have created a universe UNX on top of a sql table. and i used this UNX via query browser to create a dahsboard. when i run this dashboard with "administrator" the dashboard runs but when i run with any other user it shows the below error. I have checked the connections user security and the i have given "full rights" to the user group and also the universe user security has "full rights" but still i get this error. How do i solve this issue. Couldnt find where the authorization is missing. Please help

    Hi Arjit,
    I have object level security set in universe security for my universe folder in which i have all universes as below. "Everyone" is the user group i am trying to access which is showing error and administrator works fine.
    I also have set some universe security on the particular universe i am using as below:
    User security is set to full control for user group "everyone"..

  • I can't synchronize my iPod's with my iTunes software (Windows Vista Home Premium) due to problems with the access authorization / rights for this operation

    Hi there,
    I'd like to ask you something:
    I'm trying to synchronize all my iPod's (I have as many as 4 iPods: 2 iPod touch a 8 GB each and 2 iPod classic a 160 GB each) with my iTunes software (Version 11.3.1 which is installed on a Windows PC (Windows Vista Home Premium)). Unfortunately, the iTunes software refuses to run the command "synchronize with the iPod connected" regarding each and every iPod I have. iTunes just declares:
    Synchronizing is impossible because I wouldn't hold the access authorization / rights for this operation.
    I uploaded the songs at issue to my iTunes folder from CD's (all songs are in AAC format now).
    What is this access authorization, why was something like that invented and what can I do to get it?
    How do I have to proceed in detail?
    What would it cost?
    I am brand new here and have never ever made a post in any support community anywhere in the world in my life. Well, and I am not excessively knowledgeable about the particular computer or mac language but I know the very basics or can find out about them.
    Anyways - can you help me please?
    If you can't help me, who can do so?
    It would be nice if you could answer me as soon as possible!
    Thank you guys
    Prying Pedro

    Yes, others have experienced the problem, a simple search of the forums would have revealed that and the simple solution.
    Termporarily disable any security software on the computer.

  • How to change default Current Flag values for SCD2?

    I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
    Probably I can change IKM module .... is there another way?
    Thanks

    Hi,
    You need change the IKM. This values are hardcode in the IKM.
    You can create a new IKM and the values used are a options of the IKM.
    Regards
    Edited by: Uthred on May 18, 2009 4:27 PM

  • How can I change the password for the USER in SAP.

    How can I change the password for the USER in SAP?
    also I want to change the Language and  date Format b/c it's displaying in German language..

    Hi,
    Assuming that User has already his/her user-id and password, and now he/ she wants to change it.
    select the client and provide Log-in credentials. Now, instead of 'ENTER' there is one Tab: 'New Password' (up, left hand). Click it.
    Now, system will ask for new password to change.
    If you are asking from Basis point of view, then T.code: SU01 - User Maintenance.
    Enter User's id and Click Change icon.
    It will lead to Page: Maintain User.
    Here, Select tab: Logon Data
    There is a Sub-Tab: Password.
    Here, key-in change password and SAVE.
    For Language and Date format, contact your Basis-Personnel.
    Best regards,
    Amit

  • Where can I find an Access key for the user with "AS ABAP sneak preview" ?

    Hi all,
    I have installed AS ABAP sneak preview on my laptop.
    I use username "bcuser" and password "minisap". when I try to create some objects like, i.e. Function Group for Function Module, then it ask for an access key.
    Where can I find an access key for this ABAP SNEAK PREVIEW for user "bcuser"?
    I have gone thru some documents, I know we need to register user in OSS and need to get an access key from the marketplace but can I register this user "bcuser" or it's already register? I need some more specific information to resolve this issue.
    Please advise me on above question.
    Thanks,
    Haresh Solanki

    Hi Rich,
    I have entered ZH_XYZ as a Function Group name to create a new function group. While I am creating it, it asks for the Access Key. I tries to enter an Access Key here for the first time and it says wrong entry for access key.
    Also if I try to create new Function Module, it ask me to select the Function Group. As I couldn't create a new Function Group, I tried to select from existing(from SAP System's FG), still it asks for an access key, I enter the an Access Key here, then also it says wrong entry.
    I really got confused with this Access Key thing, can you provide me some insights?
    Thanks,
    Haresh Solanki

  • The default value as "None" for the report filter which is Value List type?

    Hello,
    I want to know is it possible to make the default value as "None" for the report filter which is Value List data type?
    For example:The Project Classification Value List value type which have many value like "Supplier Rationalization" "Category Sourcing" "Contract Regegotiation" etc, and the value "Supplier Rationalization" is in the frist positon in the value list. When i use "Project Classification " as a report filter, the value "Supplier Rationalization" displayed as default value. And in the value list box in report filter of Project Classification , there is a value "None" which should be added automatically by system. So i manually filled the default value with "None" in Filter Prompt screen, but it does not work. After i display the report ,the Project Classification filter still use the ""Supplier Rationalization" as the default value.
    My current ESO version is 5.1. I tried other ESO version like 5.15, if i manaully give a default value "None" in Filter Prompt screen for filter Project Classification, then the default value is "None". It works well.
    Does anybody know if it's possible to do the same thing in ESO 5.1?
    Thanks & Regards,
    David
    Edited by: David Gao on Aug 11, 2010 4:06 AM

    Hi David -
    This is possible, but the technique is not too obvious...
    To make "None" be the default choice for a query definition filter parameter of type value list type, you need to set the default value of the filter parameter to the following:
    <internal id of value list type>:616:NULL
    For example, I believe you will see that the internal id of the Project Classification value list type is 51, so the default value of the filter parameter would be:
    51:616:NULL
    I hope this helps.
    Regards,
    Rob

  • PPOME for the users?

    Hi,
    My project lead was suggesting to give access to PPOME to the users. It might not be a good idea. Any suggestions.
    Regards,
    Sukumar.

    Hi Sukumar,
    Why does he want to give access to the users to PPOME? If he wants them to look at the organizational structure you can give them access via PPOSE (Display). If you give all the users access to the org structure with change rights, then who will be responsible for a correct org structure?
    Try to find out what the reason is behind his suggestion, what he hopes to accomplish with it, so you can suggest a better solution.
    Regards,
    Martin

  • Is it possible to setup a different language for the user account?

    Hi,
    My server is in English but many of my users will use French.
    Can I setup in WGM a different language (international) for the user?

    The settings are changed in at least three locations for a user account. Changes are made to ~/Library/Preferences/.GlobalPreferences, ~/Library/Preferences/com.apple.HIToolBox.plist, and ~/Library/Preferences/ByHost/com.apple.HIToolBox.<MACAddress>.plist. There are a lot of keys in there that get changed and might vary between 10.4.x and 10.5.x -if you have a mixed OS environment. So while you you may be able to import the first two into WGM, the last one might be the most trouble as it's machine specific.
    If you gave access to the 'International' System Prefpane, it wouldn't affect anything but the student account since their prefs are saved to a network location or to their local PHD account. Changes would revert to whatever the system default preferences were on logout. Those would be the prefs in /Library/Preferences.
    The 'International' System Prefpane has many listings for the other language choices that are installed on the system which could be a source of confusion for student users. Removing those resources, using certain tools like MonoLingual, can make certain software behave badly or even make the system unusable. Use with caution.

  • Creating portal desktop for the user

    Hi All-
    Please help me out...
    1) Could you let me know the detailed procedure ( if possible please provide screen shots) to create "Portal Desktop for the user".
    2)Suppose we developed a webDynpro Application and we need to make it Role Based access....please let me how to achieve this..
    3)Help me out in creation of "Roles" in Portal Content Development and the steps to assign pages to "Roles"
    Regards,
    Cris

    Hi Cris,
    Follow these links for the required info.
    Creating Portal Desktop for specific user
    Portal Branding for specific user
    Creating Roles & worksets
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/bceaffeb8c114ebef8255b63079c7c/frameset.htm
    Integrating webdynpro in portal
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2fffe990-0201-0010-aab0-e61c3250bcf3
    Hope I am helpful.
    Cheers,
    Santhosh

  • Table name in Oracle for the User Mapping field?

    Does anyone know the table name for the user Mapping field in EP6.0?
    Thanks

    Hi Alan,
    why do you want to access the DB directly?! You can access the information via the Java API, which is in general the most secure way for the DB scheme is always "subject to change without notice"...
    Best regards
    Detlev

  • How to adjust mouse or trackpad parameters for the user selection screen?

    This is not critical, but annoying.  I can change the mouse or trackpad parameters by user, so anyone can use their own mouse or trackpad adjustment.  However I can not locate how to change this parameters for the welcome or user selection screen.  In my case I have two users, both of us use the trackpad with the one touch for click function, so no one press physically the trackpad for a click.  However, as the default parameter is the touch function deactivated we have to actually click the trackpad in that exclusive screen.
    Another example with mouse, normally we use the mouse with almost double of the default acceleration, but when in the user selection screen the mouse assumes default configuration and feels super SLOWWWWWWW.
    Again, this is not critical, but would be very nice to be able to modify this parameters in the welcome screen.
    Tyrone Carrion

    For the login screen, you are not associated with a normal user, but the system defaults...try logging in to the Admn account and change the behavior there...those settings should then apply to the login screen.

  • KM Search: How can I define a query for the user who currently logged on?

    Hello,
    I want to use the KM Search iView to display all documents from the currently logged on user in a certain sort order. The result should be some kind of report for the user...
    In the search option I can define a default sort order. And I can also define it for a special user with cm_modifiedby(value=username)
    But how can I define the predefined property value generically for the current user?
    I tried to insert following values in the parameter Predefined Properties of the search option:
    Predefined Properties (csv): cm_modifiedby(value=<user.id>)
    Predefined Properties (csv): cm_modifiedby(value=%user.id%) -> like in the predefined properties
    Predefined Properties (csv): cm_modifiedby(value=$sap_user) -> like in the xml forms builder
    But non of these 3 parameters worked. Has anybody an idea what the right variable is?
    Thanks a lot.
    Best regards
    Nicole

    Hi Nicole,
    1. First of all you need to use "<User.UserID>" to get the currently logged on user.
    2. You need to create an AppIntegrator iView (so based on com.sap.portal.appintegrator.sap.Generic) in order to be able to use this dynamical parameter. The parameter "URL template" should look like:
    <Request.Protocol>://<Request.Server>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&rndLayoutSet=SearchResultLayoutSet&SearchCompsName=UISearchComponents&QueryString=*&SelectedCustomProps=cm_modifiedby(value=<User.UserID>)
    Best regards,
    Robert

Maybe you are looking for