You are not logged in.

#1 2025-07-30 12:27:42

cafe
Member
Registered: 2014-03-20
Posts: 158

CCS 20.2 - Update - Group Permission Error

Dear community,

I'm struggling to find the source of a 'permissions error'. When running Code Composer Studio 20.2 (ccstudio), I get an error when trying to update the tool. The error message is as follows:

Software Update: EPERM: operation not permitted, utime '/opt/ccstudio/ccs/ccs_base/'

But the folder is marked as part of the ccstudio group

~ % LANG=en_US.UTF-8 stat /opt/ccstudio/ccs/ccs_base/
  File: /opt/ccstudio/ccs/ccs_base/
  Size: 262       	Blocks: 0          IO Block: 4096   directory
Device: 0,27	Inode: 5526805     Links: 1
Access: (0775/drwxrwxr-x)  Uid: (    0/    root)   Gid: ( 1030/ccstudio)
Access: 2025-07-30 09:11:36.563373582 -0300
Modify: 2025-07-30 09:06:22.967550186 -0300
Change: 2025-07-30 09:06:35.025365593 -0300
 Birth: 2025-07-30 09:06:17.786363741 -0300

and I'm part of the same group as well

$ groups
... video uucp wheel ccstudio

Shouldn't I be able to write to this folder?

What am I missing here?

Offline

#2 2025-08-14 20:32:20

simeon
Member
Registered: 2012-03-06
Posts: 23

Re: CCS 20.2 - Update - Group Permission Error

Same here. I thought the parent directory decides how the children can be treated, so I chmod the parent dir (add group write permission):

sudo chmod g+w /opt/ccstudio/ccs

My groups:

id
... 1004(ccstudio)

Permissions of ccs install dir:

 ls -ld /opt/ccstudio/ccs
drwxrwxr-x 14 root ccstudio 4096 14. Aug 17:30 /opt/ccstudio/ccs

But no success.

Last edited by simeon (2025-08-14 20:32:39)

Offline

#3 2025-08-14 20:47:42

simeon
Member
Registered: 2012-03-06
Posts: 23

Re: CCS 20.2 - Update - Group Permission Error

Hm, I recursively chmod the ccs_base dir like this:

chmod -R g+w /opt/ccstudio/ccs/ccs_base

Then I repeated the update process despite the error message (

Software Update: EPERM: operation not permitted, utime '/opt/ccstudio/ccs/ccs_base/'

). I did this via  Help -> Check for updates.

After a couple of time all updates passed. Not sure if it actually worked, but the updater says now: all up to date.

Offline

#4 2025-08-26 21:11:49

cafe
Member
Registered: 2014-03-20
Posts: 158

Re: CCS 20.2 - Update - Group Permission Error

Temporarily I've changed (recursively) the folder to my user instead of using more broad configuration of group permissions.

Offline

#5 2025-08-27 07:03:01

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,439
Website

Re: CCS 20.2 - Update - Group Permission Error

Mod note: Moving to AUR issues.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#6 2025-08-27 08:41:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,364

Re: CCS 20.2 - Update - Group Permission Error

Pacman is your package manager and responsible for updating and maintaining software.

The current version in AUR is 20.2.0.00012 and this is the exact same version as listed for linux on the ccstudio website.

If you're running an older version you need to build the uptodate version from the aur and install that through pacman .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB