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.
I tested the command with and without sudo, and as sudo, you likely just need to change the ownership.
taff /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.
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 root
taff /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.
You understand using sudo -rm -f in the directory and you'll have a great time.
I adjusted it—I used to run all commands as sudo, but cloning worked fine.