[Solved] User Permissions Are Borked

I have recently installed Arch Linux, and love it. But I do have a problem with my user permissions. It seems that when I try to run the "makepkg" command, I get this error.
==> ERROR: You do not have write permission to create packages in /username/packages/2bwm-git.
Aborting...
To fix this, I have to use this command.
sudo chrown -R user path
Where it says "user" would be were I put my user name, and path would be the path I want to run makepkg.
I also notice that I have to use sudo for things I should normally be able to do without needing to be root. I added my user with the following command.
useradd -m -G wheel -s /bin/bash foo
Maybe this has something to do with it? I got that useradd from the wiki. Should I of used the "users" group instead of "wheel"?
Last edited by shoober420 (2014-08-01 19:01:47)

Here is the contents of my /etc/fstab.
# /dev/sda3
UUID=b1d9da5f-6342-42c8-987b-d4e367e6480a / ext2 rw,relatime 0 1
# /dev/sda2
UUID=9dcd2024-c556-4ae3-8eac-3d72f77a6511 /boot ext2 rw,relatime 0 2
# /dev/sda5
UUID=524fb7c0-04f0-4fa4-a48d-77152bb5eb82 /home ext2 rw,relatime 0 2
# /dev/sda4
UUID=974a520b-eb20-49b4-acdd-4ea6dc676d1c none swap defaults 0 0
Here is the output of "ds -l".
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 77409288 3154968 70322160 5% /
dev 2023312 0 2023312 0% /dev
run 2026116 364 2025752 1% /run
tmpfs 2026116 40168 1985948 2% /dev/shm
tmpfs 2026116 0 2026116 0% /sys/fs/cgroup
tmpfs 2026116 8 2026108 1% /tmp
/dev/sda5 219681928 4078292 204444428 2% /home
/dev/sda2 247919 36265 198854 16% /boot
tmpfs 405224 0 405224 0% /run/user/1000
Here is the output of "ls -l /home".
drwx------ 13 username users 4096 Aug 1 10:13 username
drwx------ 2 root root 16384 Jul 29 22:15 lost+found
Here are the output of "ls -l /home/username".
total 560
drwx------ 3 username users 4096 Jul 31 11:06 Downloads
drwxr-xr-x 2 root root 4096 Jul 31 23:08 Music
drwxr-xr-x 36 root root 4096 Aug 1 09:32 packages
Here is the output of "groups"
wheel users
I switched over to the users group just to see if that would fix anything, but it didn't.
Last edited by shoober420 (2014-08-01 18:27:26)

Similar Messages

  • [SOLVED] Permissions are messed up

    Somehow, someway, my user permissions are messed up. My home directory somehow defaults to /etc/wmii-3.5, but I still have access to /home/nathan. However, I do not have full access to /home/nathan. This often results in apps complaining about not being able to save. How do I fix this?
    Last edited by nathangrubb (2008-07-19 18:04:03)

    Seems fine to me. I'll post it here
    root:x:0:0:root:/root:/bin/bash
    bin:x:1:1:bin:/bin:/bin/false
    daemon:x:2:2:daemon:/sbin:/bin/false
    mail:x:8:12:mail:/var/spool/mail:/bin/false
    ftp:x:14:11:ftp:/home/ftp:/bin/false
    nobody:x:99:99:nobody:/:/bin/false
    nathan:x:1000:100:Nathan Grubb,,,,Main user account:/home/nathan:/bin/bash
    hal:x:82:82:HAL daemon:/:/bin/false
    avahi:x:84:84:Avahi daemon:/:/bin/false
    http:x:33:33::/srv/http:/bin/false

  • End User Permissions

    Hi all,
    can someone please explain to me the meaning or function of the "End-User Flag" in the permission editor of a system which is setup in the portal?
    I'm not sure about the effect of this value.
    Thanks a lot,
    Regards,
    Andreas

    Hi
    End User permissions are available to the user at runtime. This determines what user can see at runtime. To see any object user must have End-user permissions enabled.
    End-user permission affects two area:
    Detail Navigation - If user have end-user permission for an iView then that iView/Page will be visible to user at runtime in Detail Navigation.
    Personalise Option: If user have end-user permission for an iView then that iView is visible to the user in the personalize option available to user through page personalization.
    Regards,
    Ganesh N

  • Administration Menu Localization of User Permissions and Titles of DataGrids into the Roles and Users screens.

    Hey LightSwitch Team,
    I have a LightSwitch Web Application, that is already localized (en-EN and de-DE). Now I have the requirement to localize the names of the User Permissions into the Administration Screen (this is built-in functionality). How can I achieved
    this?
    Another Task is to translate the Titles of the DataGrid into the Users Screen and Roles Screen (Administration Menu), because they are in english language, instead of german (i.e. 'User and Groups', instead of 'Benuter und Gruppen' or 'Users
    and Groups in this Role', instead of 'Benutzer und Gruppen dieser Rolle').
    In addition of this the User Permissions are in the english language too. How can I translate all of them?
    Note: Another texts are already localized (e.g. 'Rolle von Gruppe geerbt').
     Many thanks. Any help would be greatly appreciated.

    Hi AndySta,
    Welcome to lightswitch forum.
    According to your description above, if you want to localize your lightswitch application, you need add a localized resource file, add a Resources File, and then name it Client.de-DE.resx, then call a resource from code. Check out
    https://msdn.microsoft.com/en-us/library/xx130603.aspx
     for further information.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HTMLDB, Database Users, Permissions

    I am working with a client that has an Oracle DB app that uses Forms 6i for the UI. We want to start using HTMLDB in addition to Forms. Currently, all the users have a database username and password, and user permissions are controlled by database roles and individual table permissions. The goal is to allow the users to login to HTMLDB with their db username and password so the existing db roles and permissions will be in effect.
    I have my HTMLDB configuration setup without a PLSQL Username/Password in the marvel.conf file, and this allows users to login to the HTMLDB apps with their DB username and password. This works fine.
    I have a report setup that selects from an employee table. Only a few roles have select permissions on this table. (I will also add that this table is in a schema that is mapped to the HTMLDB workspace) What I am finding is that, regardless of the permissions assigned to the logged in user, they can run this report.
    Looking at the DB connections in Enterprise Manager, it shows the username of the logged in user, so it would apper that the webserver is connecting to the DB as I would expect. How is it that even non-privileged users can run this report?
    If I login via sqlplus as the same user and attempt to run a select against this table, I get "ora-00942 table or view does not exist", so I am sure my permissions are correct. What am I missing?
    Any help on this is greatly appreciated.
    -Tony

    Tony,
    It is not your imagination, this is how things are 'sposed to work. At a Forms/HTML DB site we worked on, individual users were granted database roles, as you described. Forms controlled access to functionality by interrogating user_role_privs and would display access points to modules via menus in strict accordance with the connected user's privileges. In the back-end, however, the application executed in the super-user schema that had object privileges on everything. But user-level access control had already been accomplished by filtering what could be presented in the UI.
    With HTML DB, your users are connected as their database account. This achieves authentication and obtains the value of USER from the database for :APP_USER. Those users have privileges on schema objects through roles. Roles are not enabled in stored procedures, which is the mechanism through which all database interaction is performed in HTML DB.
    The minimum that you'll need to do is to establish row-level access control by using Oracle's Virtual Private Database feature, or VPD (aka, FGAC/RLS), which you can enable for every page request using the VPD application attribute. There will be an excellent how-to published very soon about that. (BTW, you don't need to connect using the database accounts to use this feature, in fact it's designed assuming the opposite situation.)
    When you need to limit access to application components based on user privileges, you'll have to do much more. For example, you might build an authorization model based on user_role_privs. Ensure that all SQL against the application schema is performed through APIs. The APIs will run in the application schema which should own the objects and would therefore have all required object privileges. The authorization model will be implemented as an API that is called from HTML DB authorization schemes attached to pages, regions, processes, etc. Then you can do things like, if the current user is not a manager don't show them links to the 'Show My Employee Detail' page and don't let them run the page if they attempt to do so and also send someone an email if that happens.
    Scott

  • Technical: What user permissions needed to update Dreamweaver (or Studio MX)? (Win XP)

    Hello everybody,
    does anyone know, what user permissions are needed under
    Windows XP Professional, so that the users can update Dreamweaver
    by themselves? Currently every time a new update is released,
    someone with an administrator account has to log in and update
    Dreamweaver. It would be nice if the users could do that by
    themselves.
    System info: Windows XP Prof. clients in a network, user
    rights managed via Windows 2003 Server with Active Directory.
    I have this problem regarding whole Macromedia Studio MX
    (Fireworks, Flash, Freehand and Contribute, too)...
    I've already contacted Adobe support, but they only answered
    with this one sentence: "Dear xyz, Please address this question to
    Microsoft." (great support, woohoo *sarcasm*)
    Kind regards,
    Chris

    This is a multi-part message in MIME format.
    --------------010006010708030801080505
    Content-Type: text/plain; charset=UTF-8; format=flowed
    Content-Transfer-Encoding: 7bit
    Sounds to me like the users need to be made local
    administrators of
    their computer. The administrator comes, logs on to the PC,
    and goes to
    start, control panel, user accounts. Then click "Add"... they
    type in
    your user name (or whoever uses that computer), and then for
    "Domain"
    puts the name of the computer. Click Next. Then select
    "Other", and
    "Administrators".. .then click Finish. You are now
    administrator of
    your computer but not of the Network Domain. You can download
    updates
    and make changes to your computer without being able to make
    changes to
    the network.
    --------------010006010708030801080505
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <meta content="text/html;charset=UTF-8"
    http-equiv="Content-Type">
    <title></title>
    </head>
    <body bgcolor="#ffffff" text="#000000">
    <font size="-1"><font face="Tahoma">Sounds to me
    like the users need to
    be made local administrators of their
    computer.�� The administrator
    comes, logs on to the PC, and goes to start, control panel,
    user
    accounts.�� Then click
    "Add"...���� they type in your user
    name (or
    whoever uses that computer), and then for "Domain" puts the
    name of the
    computer.�� Click Next.�� Then
    select "Other", and "Administrators"..
    .then click Finish.�� You are now administrator
    of your computer but not
    of the Network Domain.�� You can download
    updates and make changes to
    your computer without being able to make changes to the
    network.<br>
    </font></font>
    </body>
    </html>
    --------------010006010708030801080505--

  • What are high and low values in sharepoint 2013 user permissions?

    So I hit this api:
    http://win-a3q7ml82p8f/sharepoint_site/_api/web/roledefinitions/
    And got the different high and low values. But I am not clear with what they mean:
    For eg:
    High: 176, Low: 138612833
    and
    High: 176, Low: 138612801
    So for different values of Low how does it change the permissions?
    For 176 its binary is 10110000. So looking at this table here: http://www.dctmcontent.com/sharepoint/Articles/Permissions%20and%20Mask%20Values.aspx
    I can understand that 176 would mean the following set of permissions:
    DeleteVersions
    OpenItems
    ApproveItems
    But what's confusing me is, that user has OpenItems permissions but not ViewListItems permission? Am I wrong in understanding this?
    Also how does the value of Low change the overall user permissions?
    Note: I looked at this answer: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9d6df168-e8f5-4323-8c34-0646c03eff68/rest-api-what-are-high-and-low-in-effectivebasepermissions-and-getusereffectivepermissions?forum=sharepointdevelopment
    But honestly I cant understand what that means. Can someone help please?

    check this blog may explain you...
    http://jamestsai.net/Blog/post/Understand-SharePoint-Permissions---Part-1-SPBasePermissions-in-Hex2c-Decimal-and-Binary---The-Basics.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • What file/registry permissions are required to run MultiSim 7 as a regular user?

    I want to be able to run MultiSim 7 as a regular user (since our students obviously do not have administrative permissions/rights).
    I can't quite figure out what file and registry permissions are required to be able to do this (despite using Filemon and Regmon).

    Hi,
    If you are refering to the "failed to update registry" warning message, do this:
    1.  Click Start-->Run
    2.  Type "regedt32"
    3.  Locate HKEY_Classes_Root/Multisim.Document
    4.  On the menu, select Security-->Permission (win 2000), For  XP select Edit-->Permission
    5.  Give full control for everyone
    6.  Repeat step 3-->5 for:
    HKEY_Classes_Root/CLSID/{2D964073-9BC9-11D1-840B-006008AC6551}
    Regards,
    Tien Pham
    EWB Support
    Tien P.
    National Instruments

  • Retrieve users who are not added to any group in site permissions page

    Hi,
    In the OOB (Site Permissions) "user.aspx" page, I have some users who are directly added to the site and not part of any OOB or custom group.
    Is it possible to retrieve only those users who are directly added to site permissions page programmatically  ( Using C# ) ?
    Thanks

    Hi,
    You can use the
    SPWeb.Users property which “Gets the collection of user objects that are explicitly assigned permissions in the website”.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How to see all users who are allowed permissions for the specified entity ?

    How to see all users who are allowed permissions for the specified entity ? 
    And change user permissions for the current entity
    from Moscow with money

    Vincent,
    ... and how to change entity permissions for some users?
    from Moscow with money

  • When "Save Link As..." is used, file permissions are changed so that other users of the same computer have full access.

    I have a laptop running Windows Vista Ultimate, and I'm not sure what's been changed in my Firefox, but now, every time I use "Save Link As...", the user permissions for the file have been set to include "USERS" which is then indicated by an icon in the bottom left corner of the file thumbnail. The icon is of the two people you see under "User Accounts and Family Safety" in the Control Panel.
    I do remember a dialogue box coming up saying something about "This file originates from another computer and may be harmful..." or something along those lines when this problem first occurred.
    I thought that problem would only occur for files from one website, but now, whenever I try using "Save Link As...", the user permissions for that file are incorrect.
    If I open the link and download the file manually, it's perfectly fine.

    It seems that the difference between the sites that will open and the one that won't is the Default Authentication provider is set to NTLM on those that open, and Negotiate (Kerberos) on the one that won't. The Authentication Provider for the Default zone
    is Claims Based Authentication on all the sites, just site B (which won't open) is set to Negotiate (Kerberos), the others are set to NTLM.
    Short term: can I change the provider to NTLM without destroying the site?
    Long term: point me in the direction for setting up Kerberos correctly on my server/farm, as from what I can tell Kerberos is the recommended path forward. I'll setup a non-production test site and get it figured out.
    Thanks much.
    Steven

  • User's file permissions are broken

    Recently, I had to log in under the Admin account on a school computer and seize a user's files as my own to look through them (I manage laptops for a school). I finished sifting through them, and it appears there is no easy way to set the permissions back for the user's folder and all its subfolders. I already tried the "Repair Disk Permissions" functionality. Also, the other user is not an administrator, if that makes any difference.

    Yeah, I know. My assistant did some of the work since I left early that day (All I'd done was log into the S-admin account before I left) and I've been trying to reach him since now he's sick... It's been a weird week.
    From what I've been able to tell, he did just select get info and change the permissions. However, I haven't been able to get the permissions back to what they should be successfully - in fact, according to this, they are set back to what they should be.
    I'm logged in as the user here as he logged in for me this morning.
    Although it says that he has custom access, I've crawled through what his permissions are set to and he doesn't have custom access, he is allowed to read and write to his user folder.

  • How to add multiple users permissions to a calendar using powershell?

    I have an organization that was recently setup in Exchange Online and they have unique circumstances in that every user in the organization needs "reviewer"
    access to every other users calendars.  I cannot change the default permission since new users added after this should not be able to see these calendars details.  There are a few I will go back to run a Set command on to change an individual permission
    here and there for specific needs, but the main need is below.
    I have basic experience with powershell commands and have found how to manually add a single users permissions to a calendar using the command below:
    Add-MailboxFolderPermission -Identity alias:\calendar -user alias -AccessRights reviewer
    Since it's not realistic to run this command thousands of times changing the user aliases each time, I was hoping someone could help me build a command to run on a single mailbox's calendar that would add every current user in the organization with certain
    permissions such as "reviewer" or "availabilityonly".
    Thanks for the help!

    Hi,
    A possible solution is to do this via Security Groups.
    Add-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected] -AccessRights Owner
    This way, you simply add users that require access to the CalendarOwnerAccessGroup
    You still have to run this on every mailbox that should have this feature, but that could be solved using powershell piping.
    http://technet.microsoft.com/en-us/library/ee176927.aspx
    /Anders Eide

  • Permissions are not displaying correctly on Yosemite server

    My file and folder permissions are not displaying correctly on my Yosemite server when viewed from a Yosemite client.
    I have set these permissions from the server app on the server and have added local network groups for the appropriate folders on the share.  When checked from the server's finder, everything looks correct.  The server is setup for both AFP and SMB on file sharing.  I have also tried setting permissions from the server's finder and seemed to make no difference.
    When logged into from local or VPN Yosemite clients using AFP, the permissions do not show anything but postgres user and everyone group.  Even though they should have network groups such as skoogfinancial, skoogmarketing, etc.
    The server does seem to enforce the permissions correctly though a user cannot get into folders he does not have permissions for.
    Therefore, it seems the server is enforcing correctly, but a user may not understand what is going on as the permissions list doesn't list anything meaningful.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My user preferences are gone after restart

    I use Mac OX 10.8.2 suddenly my user preferences are set to default everytime I reboot my MacBook Pro.

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Triple-click anywhere in the line below to select it, then drag or copy it — do not type — into the Terminal window:
    find . $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l
    Press return. The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    The output of this command, on a line directly below what you entered, will be a number such as "35." Please post it in a reply.

Maybe you are looking for

  • Importing video from Sony dcr-trv230e

    Hi I have an old Sony HandyCam DCR-TRV230E camcorder, which comes with the ability to play all 8mm formats over firewire. The tapes I am try to import vary from Digital 8 right back to the old 8mm format. I have tried playing all formats with the sam

  • 1080x60p AVCHD to SD DVD -- how to do with CS3?

    I have footage I shot in 1080x60p on a Panasonic HDC-TM700K that I want to edit to produce a DVD that will play on any player. I have yet to find a workflow that will successfully do this for me without "interlacing artifacts" (I assume that is what

  • Dynamic adding a textfield

    Hi! I am new to struts and JSP! So i am developing a webapplikation with that. Now, i want a dynamic change of a form! For example: Click on add and a new textfield or a new select will be created. How can i do that? And how to solve the form.propert

  • Compile OSMF with SWC

    Hello, I try to generate a SWC from modified osmf sources (for my own needs). When I compile my app with my custom osmf SWC and other SWCs (use official osmf SWC), I have some compilations errors : Application.as(51): col: 19 Error: Access of undefin

  • Step for Result recording & usage decision

    Hi , I have done the result recording for an inspection lot. the inspection type is IN-Process Inspection for which I have eb=ven taked thew UD. Now my doubt is how to do the inspection for GRfor production. i.e Inspection type 04. Please explain. Re