Permissions are the unix way of controlling access to resources such as files, directories and devices and may be specified for an owner, group, or all users.

learn more… | top users | synonyms (1)

4
votes
3answers
161 views

Remove passphrase from private key and set specific file mode

If I set a passphrase on my private key like so: openssl rsa -des -in insecure.key -out secure.key and I remove the passphrase like so: openssl rsa -in secure.key -out insecure.key then my ...
1
vote
1answer
48 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
1
vote
0answers
24 views

Centos 7 FTP Hidden Directory Issue

After setting up Centos 7 with a web server standard install and LAMP stack. I installed vsftpd. Everything works fine and configured it to accept passive to enable gui ftp programs. However, when ...
4
votes
3answers
88 views

mkdir permissions do not correspond to umask (change depending on location)

Whenever I create new directories in my home (or its subdirectories) they do not have write permission, even though umask is set correctly. Files I make DO have write permission. [mmanary@seqap33 ~]$ ...
0
votes
1answer
103 views

Accidentally removed execute permission from root directory.

I accidentally did chmod 770 / which removed all access to the system. I booted to rescue mode, dropped to root shell and tried to chmod 755 /, but I get message changing permissions of /: read-only ...
2
votes
1answer
19 views

Can I use permissions or facls to limit the creation of files in a directory without limiting the creation of directories?

I have some directories with quite permissive permissions, which get cluttered up with files (scripts) created by lots of different users. I try to encourage people to create their own sub-directory ...
1
vote
1answer
261 views

Permission denied on mounted devices

I have checked many similar questions but the solutions didn't work for me. On my previous Debian wheezy installation I could mount devices from GUI with no permission problem and also after upgrading ...
0
votes
1answer
47 views

enable to write to file inspite we remove all file permissions

something isn’t clearly for me when I remove all permissions from file as chmod 000 I expected to get permissions denied when I write to file but still I can write to file as the following example can ...
1
vote
1answer
36 views

Understanding home folder permission

thisisme@ubuntu:/home$ ls -al total 28 drwxr-xr-x 4 root root 4096 4月 19 2012 . drwxr-xr-x 24 root root 4096 4月 9 12:34 .. drwxr-xr-x 66 thisisme thisisme 4096 4月 12 ...
2
votes
2answers
38 views

Broke permissions on /bin, /boot, and /dev; how to clean the mess?

I just made a terrible mistake, I tried to fix it by myself but I need some help. Due to a syntax error all files and folders permissions were being changed: thankfully I saw this while it was ...
2
votes
1answer
46 views

Why was it necessary to restart apache webserver to copy files via php on newly mounted filer?

Scenario allready running Apache Webserver 2.4.2 on Solaris 5.10 newly added nfs mount as target for copying files via php executing cp via shell with the same user as the webserver works copying ...
7
votes
4answers
856 views

Setting multiple groups as directory owners

On my server I have directory /srv/svn. Is it possible to set this directory to have multiple group ownerships, for instance devFirmA, devFirmB and devFirmC? The point is, I want to subversion ...
0
votes
0answers
107 views

DD-WRT: /tmp exec permission

After making a simple hello world OpenWrt package I installed it to the /tmp folder on the dd-wrt device. The program shows up in ls /tmp but when I try to execute it, it shows me /tmp/helloworld: ...
1
vote
1answer
40 views

How to automatically get write access to newly created directories?

A share on the server is defined as follows [share] path = ... read only = no create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 valid users = dobiasd It ...
1
vote
2answers
54 views

how can i chmod the files based on the results from find command

I have a situation where I need to find the files having World Write (WW) permission 666 and I need to re mediate such files with 664 .. for this I have used this command find /dir/stuct/path -perm ...
0
votes
0answers
45 views

Directories and files changed to unknown type [duplicate]

After breaking my Debian jessie system with the mistyped command: # chmod -R 0644 / now I am using a live CD to backup my data but all the files and directories are of unknown type now and ...
1
vote
2answers
90 views

Broken system after chmod -R 644 /

I use debian jessie and I have done one of those bad mistakes and broke my system with a mistyped command and worse mistakes that follow in such situations. Trying to fix some permissions I ...
0
votes
1answer
56 views

Mess with permission files [duplicate]

i've written chmod 755 /etc/ and chmod 0644 /etc/ and now i find myself without access to anything,and inside the terminal where before there was username@system1: now there's I have no name!@system1: ...
0
votes
1answer
36 views

File permissions categories

So I am a little bit confused with File permissions categories. So here is what I do understand and correct me if I am mistaken. For every File , there is an Owner (one user) which have a symbol u ...
1
vote
1answer
48 views

Who can change ACL permissions?

I'm using ACL to control access to individual roots of webs for different instances of Apache and different groups of admins. I've got a Unix group admins-web22 for admins of a particular website and ...
1
vote
1answer
60 views

Oracle virtual box share folders when executing oracle command

I'm using Oracle Developer Days virtual box, which is a Linux distribution by Oracle for development environments (link). Not sure what distribution is it, but in case it was relevant: ...
2
votes
1answer
63 views

Why does chmod succeed on a file when the user does not have write permission on parent directory?

I am trying to understand file/dir permissions in Linux. A user can list the files in a directory using cd test ls -l Even if the user issuing above commands does not have read, write or execute ...
3
votes
3answers
88 views

Can a file be edited with the 'write' permission on it but not on its parent directory?

Suppose the owner/user doesn't have the write permission on a directory but he has it on a file under it. Can the file here be edited or not? If yes, is there any situation where the file cannot be ...
1
vote
1answer
73 views

Can I restrict sudoer nopasswd to directory?

Maybe I should rephrase - what is the most secure way to accomplish my needs? Details I am using WinSCP to modify my Apache document_root. The directory /var/www/html has an owner and group of root. ...
1
vote
1answer
47 views

sane does not work as saned but as root it does

I have a plug computer that I want to use as scanner server using sane. It already worked with a different plug, so I know for sure that the scanner and sane are workable together. If I issue ...
3
votes
2answers
119 views

Setting correct permissions automatically for certain file type when file is copied from non-Linux file system

The main reason I want this is my heavy use of dircolors, especially for ls --color=auto. For example, whenever a .mp3 file is copied from NTFS, it will have permissions set by umask 022 which ought ...
2
votes
0answers
30 views

Cleanup old /dev/pts files?

My company has a policy that sweeps all files on our AIX servers to see if any are world writeable. They are upset because there are some files in /dev/pts (a few with me as owner) that are world ...
0
votes
1answer
46 views

Unable to delete a file on different user's directory

I've two user's abc & xyz and the user abc has been added to the group xyz via usermod -a -G xyz abc and here the file permission on home directory of xyz i.e /home/xyz: drwxrwxr-x 2 xyz xyz ...
1
vote
1answer
355 views

Difference between owner/root and RUID/EUID

I am relatively new to the concepts mentioned in the question and reading about them from different sources only makes them more confusing. So this is what I understood so far: When we are given ...
2
votes
1answer
50 views

Why am I seeing a number as owner / group instead a name?

CentOS 6.x / OpenVZ Recently my VPS provider moved my OpenVZ container to a new server. After that move, I've noticed that files/directories for one of my user accounts show an odd owner / group. ...
0
votes
1answer
42 views

File/dir permission conundrum

I support a dev server for WordPress sites. Server is using the Nginx/php-fpm stack. I'm struggling with setting up file and directory permissions so that www-data has read and write access while our ...
2
votes
2answers
125 views

File owner changes after editing a group editable file

I use archlinux x64. I'm studying web development and in order to edit files served by Apache under srv/http, directory which Apache serves, I created a group adding my user and Apache's user so I ...
0
votes
1answer
148 views

Mount permissions

I want to do this: Mount a network folder. Read files from that folder. I'm doing something like: mount //10.19.6.40/folder/ /mnt/folder/ -o ...
4
votes
0answers
62 views

tor works when its in /usr/bin but not in /usr/sbin/

I have this very strange behaviour, I have two servers both running Ubuntu 14.04. I've installed tor on both. on machine A tor was installed (by default) in /usr/bin/ and works without any issues. on ...
1
vote
1answer
31 views

default owner and group for symlink and chown pass-through

I have two questions but they are very closely related to each other. I have a new Debian server by Linode, and my previous server was a CentOS run by Hostgator. I use this command quite frequently ...
1
vote
1answer
59 views

How directory permissions remain same after mv command?

There are two user A & B. sharing same server. A has created a directory with permission 700 and both user and group are same i.e. user A e.g. drwx --- --- A A temp_dir/ Now user B has ...
1
vote
1answer
598 views

bash bad interpreter and permission denied

I installed RHEL 5.1 on a virtual machine. I would like to install VMware Tools, but I keep getting an error. I am performing the installation via the tar procedure. I get the following error: bash: ...
0
votes
0answers
246 views

SCP stopped working: Permission denied, please try again

I was using scp to transfer files from server A to B (both CentOS with WHM and their usernames are equal). nohup scp -rpC xaa2 username@serverIPB:xaa2 I did it many times and then, suddenly, it ...
2
votes
2answers
58 views

How does one permissibly access files on non-booted system's user's home folder?

I have a dual boot system with Mint 17.1 and Centos 6.6 I want to access a file in my CentOS user's home directory from Mint. (I cannot boot CentOS right now.) What is a clean/standard method for ...
0
votes
0answers
18 views

What's a good setup for a web server with limited developer accounts?

If possible, I want to avoid giving root access to developers. What would be the best directory/user/permission setup to make sure they can access the web server directories, but nothing else? Should ...
2
votes
3answers
43 views

Set group permissions as owner permissions

I need to set the same permissions of owner to group recursively to all elements in a directory.
1
vote
0answers
39 views

OS X: Apply inheritable ACL permissions to pre-existing subfolders and files

I have a folder with numerous ACL permissions set. Most of these include file_inherit and directory_inherit permissions and therefore should be, and are, automatically propagated to any new ...
0
votes
0answers
35 views

User and Group Permissions Confusion

I am running the 'motion' program on Ubuntu 14.10 as a daemon, user motion. I have it set up to capture images and save them to /var/www/html/motion/images/<dynamic-dated-folders>... I also ...
-1
votes
2answers
46 views

Prevent a user from deleting the folders and files in his own home

How to prevent a user from deleting the folders and files on his own home directory? In my scenario user can create & modify the folders but user should not delete them. How could we achieve this? ...
1
vote
0answers
36 views

In the Linux Kernel what file/process controls the assignment of permissions to memory pages?

A given memory page may be writable, readable or executable. What kernal source code file in the linux kernal describes the setting of these rights? What process or kernal data structure would set the ...
2
votes
2answers
2k views

permission issues while doing ssh setup in cygwin

I'm trying to setup ssh-host in cygwin. Getting the below error: *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x..x..[xt] *** ERROR: ...
-1
votes
1answer
64 views

permission denied on running script despite +x

Script is on exec partition (under /home/~~~ ) and have +x flag (-rwxr-xr-x ). executable on bash shell (not with script) but not on script. script is quite simple. #!/bin/bash data=cat ...
0
votes
0answers
329 views

Centos 7, Postgresql 9.4 Failed to Read Permission Data Directory in mounted Partition

I've a problem with start PostgreSQL 9.4 on Centos 7 Server. Because the partition /var/lib/pgsql/9.4/data/ (which contains PostgreSQL data is full) so I want to change to another partition. ...
0
votes
0answers
29 views

What are the correct permissions for a non-root user in Red Hat 7?

I imported a pre-made Oracle Developer VM, from Oracle, into VirtualBox and the oracle user (which is not root), can't do anything without using sudo, for the most part. For example, any file I want ...
2
votes
2answers
100 views

File with permissions ---S--l---

Can some one explain what the meaning of these attributes: ---S--l---? When and why need to set this attribute? and for what? $ ls -ltr ---S--l--- 1 root root 0 Mar 10 ...