You are not logged in.
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 -0300and I'm part of the same group as well
$ groups
... video uucp wheel ccstudioShouldn't I be able to write to this folder?
What am I missing here?
Offline
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/ccsMy 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/ccsBut no success.
Last edited by simeon (2025-08-14 20:32:39)
Offline
Hm, I recursively chmod the ccs_base dir like this:
chmod -R g+w /opt/ccstudio/ccs/ccs_baseThen 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
Temporarily I've changed (recursively) the folder to my user instead of using more broad configuration of group permissions.
Offline
Mod note: Moving to AUR issues.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
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