Results 1 to 6 of 6

Thread: File ownership

  1. #1
    Join Date
    Dec 2010
    Location
    Fort Worth
    Posts
    17

    Default File ownership

    Greetings all;

    I have just recently upgraded to Leap 15 and I'm having trouble with the "chown" command in my home directory.
    The system parameters are thus:
    File modes are: 755 User/Group/Others
    umask is 0002
    The command:
    chown :users /bin
    Returns an "Operation not permitted" error.

    This is the terminal output:

    nternet@linux-z6ia:~> dir
    total 44
    drwxr-xr-x 3 nternet nternet 4096 May 1 11:46 bin
    drwxr-xr-x 2 nternet nternet 4096 May 7 07:17 Desktop
    SHORTEND FOR CLARITY.

    nternet@linux-z6ia:~> chown -c :users /bin
    chown: changing group of '/bin': Operation not permitted
    nternet@linux-z6ia:~>

    It is obvious that I have the rights to make these changes, but I'm not allowed.

    The umask is:
    nternet@linux-z6ia:~> umask
    0002

    The command "chgrp" yields the same results.

    Can anyone help me with what I missed.

    Thanks in advance.
    Last edited by jamesbg; 07-May-2019 at 07:09. Reason: Verifying notifications.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,898
    Blog Entries
    3

    Default Re: File ownership

    Why do you want to change the owner/group of "/bin"?

    Or did you mean "bin"? Maybe that "/" is a mistake.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,610

    Question Re: File ownership

    @jamesbg:

    Or, did you forget the “~”?
    Code:
    dir -d ~/bin

  4. #4
    Join Date
    Dec 2010
    Location
    Fort Worth
    Posts
    17

    Default Re: File ownership

    Quote Originally Posted by nrickert View Post
    Why do you want to change the owner/group of "/bin"?

    Or did you mean "bin"? Maybe that "/" is a mistake.
    Ok I see that. The "/" was a mistake. However when I am using the permissions page of the properties sheet (using Dolphin) I can not reassign the group ID. On my older 13.2 system I could do this. The reason I bring this up is not to actually change the permissions of any thing in my home directory, but to change the group ID of a directory in another partition. This problem seem to be system wide. It is either a mis-configed "Dolphin" or a "mis-configed" install. I need this because I have a group named "programers" that must have access to various other directories. It is bothersome to have to open a terminal and run "mc" to make these changes.

    My Drive geometry is as follows:
    Code:
    LABEL=systemroot     /                    ext3       acl,user_xattr        1 1
    UUID=50ACBAC2ACBAA240 /mnt/winntmaint      ntfs-3g    users,noauto,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    LABEL=swap           swap                 swap       defaults              0 0
    LABEL=software       /software            ext3       user,acl,user_xattr   1 2
    LABEL=Home           /home                ext3       acl,user_xattr        1 2
    LABEL=LinuxStorage   /mnt/linuxstorage    ext3       user,acl,user_xattr   1 2
    UUID=F6E2BC94E2BC5A97 /mnt/winnt           ntfs-3g    users,noauto,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/sdb7            /mnt/winNT-Store      ntfs-3g    users,auto,gid=users,fmask=000,dmask=000,locale=en_US.UTF-8 0 0
    I'm not sure if the problem is in the partition mount parameters or something I might have done during the install.

    Thanks.

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,898
    Blog Entries
    3

    Default Re: File ownership

    Okay, I now better understand what you are trying to do.

    Checking, I can't make those changes either. It seems to be a limitation of Dolphin. Back with openSUSE 13.2, if I recall correctly, we were using Plasma 4. Now we are using Plasma 5. Maybe this is a change that the KDE developers made in the move to Plasma 5.

    I rarely use Dolphin, so I had not noticed the change. I'm mostly a command line person.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,610

    Talking Re: File ownership

    Quote Originally Posted by jamesbg View Post
    It is either a mis-configed "Dolphin" or a "mis-configed" install.
    I think not …

    Fire up Dolphin – hit <Alt-spacebar> and begin typing: either “dol” or, language specific, “fil” – arrow down to the one you want – hit <Return> …
    Click on “> Home” to open the full directory path – begin typing the directory name «no slashes or anything else – only the name … » – arrow down to the one you want – hit <Return> …

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •