I am using this command to upgrade the node version in fedora 32: when I using the n stable command, shows error like this: I did not want to using root user to upgrade the node, what should I do? Just change the /usr/local folder permission to current user? does this way had any side effect? I am not sure,
Tag: permissions
C program to mkdir in POSIX shared memory missing permissions
I have a POSIX shared memory directory which gets blown away on reboot and needs to be recreated on occasion. An example, This creates the directory with missing write permissions for group/others: I’ve tried experimenting with the mode_t flags and even replaced “0777” with “S_IRWXU | S_IRWXG | S_IRWXO”. I do need the directory to have permission flag 0777. Answer
Meaning of mkdir parameters in Android init.rc
I am trying to understand the following commands: mkdir /data 0770 root system mkdir /data 0770 system system mkdir /data 0770 system room https://android.googlesource.com/platform/system/core/+/b4d65399fde02280b718e3b5b5cb1464a885c4b0/rootdir/init.rc Line 58 mkdir is creating the directory, /data is path, 0770 giving read write permissions to the directory, root system I don’t know. Answer The format is The path defines which directory has to be created.
How to manage file or folder permissions between two user accounts on Linux
There are two users: the user jenkins and the user nginx (both are actually the service accounts). First, the user jenkins creates the directory frontend in the /usr/share/nginx/html folder. Then it downloads some html files saving them in this folder. Then the user nginx tries to open one of the html files and gets the Permission denied error. To fix
Failed to archieve Gitolite (Git) and nginx webserver access webspace at the same time
Starting point: Ubuntu 20.04 Gitolite (/home/git/) Webspace /var/www/webspace (usually owned by www-data:www-data) Git user (in www-data group and also tried without beeing in group) I want to update the webspace as git user with post-receive to a www-data directory. I had it archived before I installed Gitolite, but it doesn’t seem to work the same way as it did before
How can I stop Jenkins from resetting user permissions after each build?
I have a ‘hello world’ NodeJS project I’m trying to build on a fresh install of Jenkins (running on Ubuntu 18.04.3 LTS on a Digital Ocean server). I have limited experience with Linux so please let me know anything I’m missing here. Jenkins build “execute shell”: Jenkins console output: So I think the problem is the jenkins user does not
Use find command with -perm and -maxdepth [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Copy fails in bash script even when I use `/bin/cp` and chmod 777 on the file
I wrote a bash program to setup new Debian install’s…. but I can’t figure this problem/error out…… I can’t get it to copy a .bashrc file to a new users /home directory even with 777 permissions. Here are the declarations and setting of the variables: Here are the files the program uses and they are in the same directory the
I don’t have permission for editing www-data:www-data files [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Simulate permissions for non-login user
I want to perform some actions on behalf of some non-login users, such as e.g. www-data or uwsgi. My purpose is to test some permissions, check what dirs they can modify etc etc. Is there a recommended way of going about this, other than creating a shell and password for them and su ? edit: When I try to su