F5F Stay Refreshed Software Operating Systems Use the command prompt or PowerShell to navigate and manage folders in Arch.

Use the command prompt or PowerShell to navigate and manage folders in Arch.

Use the command prompt or PowerShell to navigate and manage folders in Arch.

Y
Yokijirou
Member
134
06-28-2023, 03:27 PM
#1
Try adjusting your permissions to allow write access. You can change the ownership of the directory so you have the necessary rights to run makepackkg.
Y
Yokijirou
06-28-2023, 03:27 PM #1

Try adjusting your permissions to allow write access. You can change the ownership of the directory so you have the necessary rights to run makepackkg.

H
HairyWiener
Member
160
06-29-2023, 10:59 PM
#2
I tested the command with and without sudo, and as sudo, you likely just need to change the ownership.
H
HairyWiener
06-29-2023, 10:59 PM #2

I tested the command with and without sudo, and as sudo, you likely just need to change the ownership.

H
hihi3456
Member
65
06-29-2023, 11:56 PM
#3
And all subfolders are what the -R (recursive) option does. @Linus No Beard I highly recommend grasping commands before copying and pasting from the web into your terminal. The command explains: chown [OPTION]... [OWNER][:[GROUP]] FILE... or: chown [OPTION]... --reference=RFILE FILE... Modify the owner and/or group of each FILE to OWNER and/or GROUP. Using --reference updates the owner and group to those of RFILE. -c provides verbose output only when changes occur -f silences most errors -v gives detailed diagnostics for each file -d alters the reference of symbolic links (default) -h changes the referent of symlinks instead of the link itself -f suppresses error messages --no-dereference keeps symbolic links intact (useful on systems that allow ownership changes) -h with --no-dereference treats symlinks directly -from=CURRENT_OWNER:CURRENT_GROUP only updates if the current owner and group match -c changes the owner and/or group verbosely -r makes traversal recursive The following settings influence how the path is explored when -R is used. If multiple are given, only the last one applies. -H follows a symbolic link to a directory and proceeds -L follows every symlink to a directory. -P prevents any symbolic link traversal (default). --help shows details and exits --version prints version info and exits Owner stays the same unless specified -group changes to login group if indicated by a ':' after OWNER. OWNER and GROUP can be numbers or symbols. Examples: chown root /u switches the owner of /u. chown rootConfusedtaff /u also sets the group to staff. chown -hR root /u updates both the owner and subdirectories to root. It’s not implying any wrong action, just careful command use—one mistake with sudo can cause major issues.
H
hihi3456
06-29-2023, 11:56 PM #3

And all subfolders are what the -R (recursive) option does. @Linus No Beard I highly recommend grasping commands before copying and pasting from the web into your terminal. The command explains: chown [OPTION]... [OWNER][:[GROUP]] FILE... or: chown [OPTION]... --reference=RFILE FILE... Modify the owner and/or group of each FILE to OWNER and/or GROUP. Using --reference updates the owner and group to those of RFILE. -c provides verbose output only when changes occur -f silences most errors -v gives detailed diagnostics for each file -d alters the reference of symbolic links (default) -h changes the referent of symlinks instead of the link itself -f suppresses error messages --no-dereference keeps symbolic links intact (useful on systems that allow ownership changes) -h with --no-dereference treats symlinks directly -from=CURRENT_OWNER:CURRENT_GROUP only updates if the current owner and group match -c changes the owner and/or group verbosely -r makes traversal recursive The following settings influence how the path is explored when -R is used. If multiple are given, only the last one applies. -H follows a symbolic link to a directory and proceeds -L follows every symlink to a directory. -P prevents any symbolic link traversal (default). --help shows details and exits --version prints version info and exits Owner stays the same unless specified -group changes to login group if indicated by a ':' after OWNER. OWNER and GROUP can be numbers or symbols. Examples: chown root /u switches the owner of /u. chown rootConfusedtaff /u also sets the group to staff. chown -hR root /u updates both the owner and subdirectories to root. It’s not implying any wrong action, just careful command use—one mistake with sudo can cause major issues.

F
FiercePeanut
Member
62
06-30-2023, 12:27 AM
#4
You understand using sudo -rm -f in the directory and you'll have a great time.
F
FiercePeanut
06-30-2023, 12:27 AM #4

You understand using sudo -rm -f in the directory and you'll have a great time.

E
eskzz
Posting Freak
909
07-07-2023, 03:05 AM
#5
you likely made an error during the process. identify where you cloned and what source you used. be careful not to clone it as root, as this can lead to significant issues.
E
eskzz
07-07-2023, 03:05 AM #5

you likely made an error during the process. identify where you cloned and what source you used. be careful not to clone it as root, as this can lead to significant issues.

A
audi497mks
Senior Member
601
07-08-2023, 07:48 PM
#6
I adjusted it—I used to run all commands as sudo, but cloning worked fine.
A
audi497mks
07-08-2023, 07:48 PM #6

I adjusted it—I used to run all commands as sudo, but cloning worked fine.

L
LunaDoll
Member
193
07-08-2023, 08:08 PM
#7
Elimina ese hábito rápidamente.
L
LunaDoll
07-08-2023, 08:08 PM #7

Elimina ese hábito rápidamente.

S
Sharkbite1304
Member
196
07-11-2023, 08:46 AM
#8
Because not all tasks require elevated privileges.
S
Sharkbite1304
07-11-2023, 08:46 AM #8

Because not all tasks require elevated privileges.

M
McKoonds2
Junior Member
13
07-12-2023, 04:50 AM
#9
Varies with your task. However, attempt without sudo initially if uncertain. Use sudo/root only for system-wide modifications, like updates.
M
McKoonds2
07-12-2023, 04:50 AM #9

Varies with your task. However, attempt without sudo initially if uncertain. Use sudo/root only for system-wide modifications, like updates.

_
_Sherder_
Member
221
07-12-2023, 06:13 AM
#10
If you follow everything from the root, you may face permission problems like this. Use root only when necessary.
_
_Sherder_
07-12-2023, 06:13 AM #10

If you follow everything from the root, you may face permission problems like this. Use root only when necessary.