Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

OpenSuSe Partition Permissions Help

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


    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,270 ✭✭✭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,270 ✭✭✭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,291 ✭✭✭✭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,270 ✭✭✭meep


    Thanks for that, learning item for today accomplished.


Advertisement
Advertisement