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)

1
vote
2answers
51 views

How do I make there be no group owner of a file in Mac OSX?

How do I make there be no group owner of a file in Mac OSX, since chgrp nogroup file doesn't work? If I try, the group owner doesn't change at all.
1
vote
2answers
41 views

Files are created with old group ownership even though the creator doesn't belong to old group anymore

I am currently preparing for LPIC Level 1 exam and I have been practicing management of user accounts on CentOS 7 system installed on VirtualBox. Firstly, as root, I created a user 'foo' with group ...
1
vote
1answer
27 views

How do I Encrypt a Flash Drive Using SecurStick?

I am trying to use SecurStick to encrypt a flash drive. I found these instructions online. However, when I unzip the archive and place the files on my flash drive, I cannot run the SecurStick program ...
3
votes
1answer
56 views

How to NOT preserve permission when using scp

I am trying to copy data to one of my servers. Some of the files that are copied have permission 444 on the source machine. This is very annoying, since if the transfer gets interrupted while one of ...
1
vote
3answers
196 views

How come root can do this, but sudo can't? [duplicate]

I am set up as a sudoer on my Debian machine, and I use it all the time to install software etc... I came across this interesting situation that I am scratching my head about: I tried to enable the ...
1
vote
0answers
29 views

rsync + chmod only selected files

I'm trying to sync specific cron files between 2 servers and change the permissions for them. However, the command I am trying is also changing the permissions on the main directory. Command used: ...
0
votes
1answer
26 views

Giving a user permission to modify/edit/delete files in “/” directory (Not using Terminal, but with File Explorer)

I'm currently having an issue trying to give a user the permissions that the 'root' user has, which is to modify anything in the / directory. I've changed the /etc/passwd file but still no luck. I've ...
1
vote
1answer
35 views

How can I check read permission of /proc/*/* files?

Files in /proc/ seem to be world-readable, but return permission denied: $ ls -lh /proc/5589/smaps -r--r--r-- 1 root root 0 Mar 18 13:11 /proc/5589/smaps $ cat /proc/5589/smaps cat: ...
0
votes
1answer
15 views

Debian 8 files created with no group permissions

I have setup Debian 8 and have it running well. I have network access set up using samba. When I create a folder over the network it has the permissions drwxr-sr-x. When I copy a file into a folder ...
-1
votes
1answer
50 views

Unable to execute certain programs even as root [duplicate]

I am unable to execute certain programs in various folders even as root. The programs have the correct permissions on them. For example see below [root@ODHI01VMA02 bin]# ls -la java* -rwxr-xr-x 1 ...
0
votes
2answers
45 views

[mntent]: line 15 in /etc/fstab is bad while running sudo mount -o

Running sudo mount -o rw,remount /mnt/Data reports above error. Here is the fstab file # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a ...
0
votes
1answer
26 views

Samba unix permissions messed up despite mask

I'd like to configure a share on a standalone samba serve where users have rw to their own files, but r to others in the same group (rwx and rx on folders respectively). It works well when users ...
-1
votes
2answers
39 views

Why would a user not be able to delete a file they created

Reposting the question about deleting a file. We have a script that is used to transfer files between two SCO Unix systems. The script has been rock solid for years. Recently the firewall unit at ...
0
votes
1answer
27 views

executable files to normal files via terminal CentOS7

Today I copied some files from the shared folder (Host is a Win7) to my VM ( Guest is a CentOS7). I did this with root permissions. Then I copied th files to my apache location /var/www/html/test I ...
1
vote
3answers
55 views

Given the permissions, owner and group of a file, what's the algorithm that determines whether a given user can read/write/execute a file? [duplicate]

As I understand it, a file has 3 sets of permissions: owner permissions, group permissions, and everybody else permissions. Moreover, the file has is assigned to a owner, and a group. How linux ...
1
vote
2answers
52 views

How can I create a sub-directory where my group has no write permissions?

I am working in my Tomcat deployment directory. The files in the directory have the permission: drwxrwsr-x. 10 tomcat www 4.0K Mar 15 15:14 webapps A sample sub-directory within webapps looks ...
0
votes
0answers
27 views

How to make a text file readable for only a local PHP file on server — not to everyone on web?

I have a PHP script that takes some sensitive data, hashes it, and then compares it against hashes in a text file on the server. Both the text file containing hashes and the PHP script are located in ...
3
votes
1answer
86 views

SELinux + MergerFS (fuse) not working well together

I have been trying now for several days to get my new server up and running. I am running CentOS with MergerFS to pool my drives and samba to host to my windows machines. All of this running in ...
0
votes
0answers
29 views

Samba4 AD privilege problem

I mounted NFS share to debian. Below following fstab record: //192.168.14.24/estimating /srv/samba/WDEstimating cifs ...
3
votes
1answer
40 views

Protecting files from rm -rf in writeable directory

Say, there is a directory ~/docs with owner boo and group boo and permissions rwxr-x---. Assume there are important files apple.txt and orange.txt in docs which user boo wants to protect from himself ...
4
votes
1answer
50 views

Multi-user permissions setup

I've been trying to figure out a good permissions scheme for my multi-user file server. I currently have about 5 users, each storing files in their home directory. These files are also being ...
1
vote
1answer
26 views

Moving non-writeable files vs moving non-writeable directories

I'm a bit puzzled about the following behavior (Linux, Debian 8.3, ext2 filesystem) test@linux:~$ ls -ld directory/ file drwxr-xr-x 2 root root 4096 Mar 10 18:51 directory/ -rw-r--r-- 1 root root ...
2
votes
0answers
48 views

git push/pull with ssh key

I have a 'git --bare' repo on a linux machine. I wish to allow another user from a different machine to push/pull to it. I have their ssh key. Is there some way I can allow them to execute the ...
3
votes
3answers
72 views

Is giving all permissions to www-data group a good idea?

I constantly have problems with read & write & execute permissions by Apache/me. There is a user "konrad" (it's me) in "konrad" group, and there is a user "www-data" in "www-data" group used ...
1
vote
3answers
57 views

Accidentall CHMOD 755 -R in home user

I was installing LAMP and I accidentally "chmoded" with -R my hole home user folder.... (sudo chmod 755 /home/user -R) but now my desktop themes won't load... I'm Using the Mate version of Debian ...
1
vote
4answers
76 views

Why do I need to set some file as executable?

I never went outside of windows before last week, I was asked to make a VM with elasticsearch/logstash/kibana/jdk8 on it. I'm using a regular non sudoer user. I extracted each tar.gz file and got 4 ...
0
votes
1answer
31 views

Impossible to write files with root credentials

I'm trying to launch a small script which fixes a bug in iceweasel icons. Here is the script. You can find it as a workaround in the bug report for n in 16 32 48; do inkscape -z -w $n -h $n -e ...
0
votes
1answer
44 views

File permissions to access/create/delete folders for multiple users

I'm stuck on setting up FTP read/write file permissions (running FreeNAS). The read/write permissions for each user can follow the current format: Users can read from all folders they have access to ...
0
votes
2answers
27 views

Backup remote data as root

I want to backup all data from a server before I do an Upgrade (Debian). Due to the fact, that there are many user accounts on the server, I thought I just copy all data with scp (scp -r * ...
0
votes
0answers
14 views

Granting access to web deployment directories to a number of users [duplicate]

I have a webserver with a web deployment directory on /var/www. The file and directories are set up with apache:www as owner and group and the permissions are 664 and 775 respectively. Whenever ...
1
vote
0answers
11 views

Example of situation where ACL unaware tools would grant unintended permssions

This document about File ACLs makes mention that the masking mechanism was put in place to solve the problem of ... POSIX.1 applications that are unaware of ACLs will not suddenly and ...
0
votes
0answers
19 views

Kate/Terminal/Chromium/etc. refuse to open

I accidentally ran a GUI (Kate) with sudo--dumb I know--and when closed the application I got this error message: Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0 I've done ...
0
votes
1answer
35 views

what exactly means that we have superuser privileges

When we access file, file permission is checked from effective user ID of process. But, how about changing user ID like setuid(), setreuid(), seteid(). On these functions, superuser privilege is ...
1
vote
3answers
69 views

File System Permissions: User who can backup all files

I am setting up an automated backup job for some computers on my network. There is a server that will, daily, run an rsync command to backup each of the other computers. I'd like the user that the ...
0
votes
0answers
29 views

ownCloud permissions wrong

I've got ownCloud running in a FreeNAS jail and it worked flawlessly until I rebooted the system. Now I get an error saying: The datadirectory (/media) is readable for other users. Change the ...
0
votes
1answer
63 views

Correctly mounting windows partition

i have set up a multiboot with Linux Mint 17.3 64-Bit on 256GB SSD and Windows 7 64-Bit on a 3TB HD. I have symbolic links from Linux to the Windows Partition, so my Pictures, Documents, Downloads, ...
1
vote
1answer
24 views

How do permissions on a directory affect files in it?

I just learned something that shocked me, because I did not have a clue it was a fact. If I have a directory with the following permissions: user@host:~$ ls -la testdir total 8 drwxrwxrwx 2 user ...
0
votes
1answer
24 views

What is each group's permissions, and what is the “ranking” of each group (most privileged to least)?

My question is basically the title, but for further clarification with the ranking part, I'm asking about who inherits permissions from who, along with any additional permissions for the group as ...
0
votes
0answers
30 views

How to set correct user group rights to application running with java?

How to set correct user group rights to application using java? There is this scenario: 1) I have created user group and user (the same) - call it "groupgroup" 2) When I create a file with this ...
0
votes
3answers
53 views

Why does reading a device require admin permissions?

I'm trying to create a backup script that saves my thumbdrive as an image. I'm planning on having it automatic. I've always seen the thumbdrive listed as /dev/sdb, and created a script that will save ...
2
votes
1answer
31 views

How do permissions work with the GUI

There are several things that you must have superuser privileges to do from a terminal that can be done from a normal user account via the gui. e.g. Poweroff/reboot mount/unmount media I ...
0
votes
0answers
17 views

sticky bit's misunderstanding [duplicate]

In the book, if the sticky bit is set for a directory, only the user who has write permission can remove or rename files. Also one of the following can do this: Owns the file Owns the directory Is ...
0
votes
0answers
21 views

RH : Unable to change permissions on a mounted FS

I've got a mounted CIFS share on a Red Hat folder where I can't change the permissions. I have some others shares where everything is working fine but for this one, I can't change the permissions. ...
1
vote
0answers
39 views

make ACL to work perfectly

I know there are plenty of questions and answers about ACL and permissions, but to be honest they are so weak to make any coherent understanding! it's just like a mix of unorganized information. Hope ...
1
vote
1answer
54 views

is it an access issue or a permissions issue?

I've been having problems with accessing files these days. In the course of solving this problem, I tried changing the ownership from root to ar.lnx and this is what I got [ar.lnx@host DATA] $ cd ...
0
votes
0answers
29 views

Workaround for running privileged commands from www-data user

I would like to append a string to a file located in /tmp/ from a php script. The command I would like to execute is: sudo sed -e 's/$/,yes/' -i /tmp/a.csv The Problem I can't run a sudo command ...
-1
votes
2answers
38 views

How to give full permission to only and only one user other then owner

I have three users in Redhat 6 machine, tiger gourav sourav User gourav and sourav in brother group. Now user tiger create a directory tiger_gaurav and want to give read and write permission to ...
0
votes
3answers
41 views

User belongs to group, but can't write to folder that's owned by group

Can someone tell me what I'm missing here? I'm in a group that owns the "mediawiki" directory and all of its subdirectories, but I can't write to the folder for some reason. I'm connected to SSH, but ...
0
votes
2answers
35 views

Vim writes to file without having permissions [duplicate]

$ ls sess.vim -lh -rw-r--r-- 1 root root 11K Feb 26 18:52 sess.vim I want this file to be readable for everyone and writable by no one (except by root). Thus I set its permissions to ...
5
votes
3answers
244 views

Watch /tmp for file creation and prevent deletion of files? [duplicate]

I have a binary that creates some files in /tmp/*some folder* and runs them. This same binary deletes these files right after running them. Is there any way to intercept these files? I can't make the ...