sudo chown: pemission denied even if I'm the owner
1
vote
2
answers
163
views
Could someone explain this?
john@john-pcRefs:~/pCloudDrive/someFolder$ ls -al
total 16
drwxr-xr-x 2 john john 4096 Jan 11 2022 .
drwxr-xr-x 4 john john 4096 Jan 11 2022 ..
-rw-r--r-- 1 john john 10439 Sep 22 18:48 EnvironmentSetup.sh
-rw-r--r-- 1 john john 3370 Mar 25 2023 GitInitialization.sh
-rw-r--r-- 1 john john 342 Jul 10 2023 InitDatabase.sh
john@john-pcRefs:~/pCloudDrive/someFolder$ echo $USER
john
john@john-pcRefs:~/pCloudDrive/someFolder$ sudo chmod +x GitInitialization.sh
chmod: cannot access 'GitInitialization.sh': Permission denied
If it can help, I'm working on a cloud drive and I've just gone from Ubuntu 22 to Ubuntu 24.
Asked by Zlotz
(123 rep)
Sep 22, 2024, 06:56 PM
Last activity: Oct 4, 2024, 11:05 PM
Last activity: Oct 4, 2024, 11:05 PM