Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

OpenSuSe Partition Permissions Help

  • 09-01-2014 12:52pm
    #1
    Registered Users, Registered Users 2 Posts: 1,291 ✭✭✭


    Linux newbie, be gentle!

    I've installed OpenSuSe 13.1 / KDE with default settings.

    This set up my user account (part of 'users' group) as well as partitioning my disk with default ext4 partitions. All is well.

    However, using Yast partition tool, I have now added a new ext4 partition and mounted it at /usr/local.

    When I try to write any data to that location, I get permission denied problems. I note that the owner is root and group permissions are r-x which would explain the error.

    Logging in to KDE as root allows me write to the location but this is not ideal.

    I've issued # setfacl -m 'g::rwx' /usr/local

    This allows my user write to the location, however, any directories I create revert to r-x group permissions.

    I'd like everything on the partition to be group rwx by default.

    Any pointers appreciated....


Comments

  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Why do you want to mount the partition at /usr/local?
    Logging in to KDE as root allows me write to the location but this is not ideal.

    Yeah don't do that.


  • Registered Users, Registered Users 2 Posts: 1,291 ✭✭✭meep


    syklops wrote: »
    Why do you want to mount the partition at /usr/local?

    It was one of the default entries in the Mounting Options section when setting up the partition. I've since changed to /mnt/test but still same permissions issue.

    syklops wrote: »
    Yeah don't do that.

    Test machine for learning on so I don't mind breaking it often.


  • Registered Users, Registered Users 2 Posts: 1,291 ✭✭✭meep


    Actually, a chmod fixed it.

    Odd that the partition tool sets group-write off by default

    Thanks for looking.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    meep wrote: »

    Test machine for learning on so I don't mind breaking it often.

    Fair enough, and no offence meant, but learn the right way. Logging into X as root can be pretty dangerous.


  • Registered Users, Registered Users 2 Posts: 10,288 ✭✭✭✭Standard Toaster


    meep wrote: »
    I've issued # setfacl -m 'g::rwx' /usr/local

    This allows my user write to the location, however, any directories I create revert to r-x group permissions.

    Just an FYI but the below would have done the job:

    # setfacl -mRd 'g::rwx' /usr/local

    Recursive & Default acl permissions.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,291 ✭✭✭meep


    Thanks for that, learning item for today accomplished.


Advertisement