Questions tagged as ['chmod']

A Unix tool for changing file permissions
Score: 0
Jonathan avatar
How to preserve file access time when using `chmod`
cn flag

I would like to know how can I preserve file access time ("atime") when using "chmod". Sometimes I need to use the code below:

chmod -R 777 /directory

It works fine, however all the files inside that directory have the access time ("atime") changed to the current time. Do you have any idea?

NOTE: I am using CentOS 8.

Score: 0
vsftpd : permission denied
ma flag

Running on debian10

My website :

/home/ drwxr-xr-x 16 www-data www-data 

I added a new user with

adduser alex

Content of /etc/vsftpd.conf

nano /etc/vsftpd.conf

pasv_enable=YES ...
Score: 0
aziz shaw avatar
cannot connect to gcp instance Remote side unexpectedly closed network connection
la flag

when trying to connect to gcp VM instance via ssh key the error that i am getting is

Connection closing...Socket close. Connection closed by foreign host. Disconnected from remote host(akr@

when i tried connecting through ssh inside gcp instance i am getting the following error

Connection via Cloud Identity-Aware Proxy Failed Code: 4010 Reason: destination read failed You may be able to c ...

Score: 0
Justin avatar
Permissions Numbers Linux
at flag

Going through with permissions and understanding permissions, I understand thats the 3 is not part of the owner, group, other. I also know that 7 is the highest permission for those three sets, what is the 9 in the permissions set (3907)?

-rw-------. 1 root root 3907 Mar 4 08:34 sshd_config

Score: 1
Adam Alleman avatar
Should both root and wheel users own the files that originally were only owned by root?
ye flag

Should a wheel user that was created to disable root login and secure SSH have the same ownership as root from a security point of view?

Score: 1
user16411104 avatar
ro flag

I'm just starting off with NFSV4 and had a few questions. So normally when creating an NFS share on a NAS filer and mounting on a client I would run a chmod & chgrp to set things up the way I want.

Now, I have done that already on existing exports.

When I move to NFSV4, what happens to those changes that were made on the exports?

Do the ACL's that get applied for NFSV4 surpersese those changes?

Score: 1
Noexec vs chmod -R -x for malware interogation?
br flag

I am setting up a Linux box to examine malware samples. I wanted to create a directory where I could safely unzip each sample and run very basic triage commands against the file to collect information about the sample (for example, hashing the sample). In order to make sure that I do not inadvertently execute the sample, I wanted to ensure that the directory contents is non-executable.

Is it sa ...

Score: 2
kunz avatar
change permission of mounted folder in linux
cn flag

i mounted a folder from windows to Linux's like so

in windows end the permission is set to everyone enter image description here

and on my linux end i did this

# mount -t cifs -o username=sprite// /mnt
Password for sprite@//  ************
# ls -ld
drwxr-xr-x. 2 root root 0 Sep  2 15:27 .

i have another user named coke which i want to have read/write/execute permission to how can  ...

Score: 0
MansNotHot avatar
How to change folder permission using FileZilla Client on Windows for Filezilla Server on Windows Server?
be flag

I have tried many things including using Cygwin with a domain user because Windows Server cannot use CHMOD which FileZilla tries, but nothing worked sadly.

I am open to using a different FTP Client if nessesary.

This is all to change the permissions for some folders for the FTP user from "Not Writable" to "Writable" for Wordpress