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)

2
votes
1answer
47 views

Unprivileged ping6 not working

I am trying to get my CentOS v7 server to run IPv6. Root works, it can ping using "ping6 ipv6.google.com", and ifconfig looks great; I see the lines: eth0: flags=4163<UP,BROADCAST,RUNNING,...
1
vote
2answers
26 views

Adding others rw permission to file

I have list of file with permission -rw-r-----. I want modify this permission and give access to other. i.e -rw-r--rw- Without modifying current permission setting, just add permission to 'other' ...
4
votes
3answers
321 views

Why doesn't umask change execute permissions on files? [duplicate]

If I change the umask to 0000, I'd expect a text file to be created with rwxrwxrwx permissions (based on my understanding of the umask, as described in the "possible duplicate" question) However, when ...
2
votes
5answers
72 views

Move directory (with contents) to another user's home directory (without sudo)?

I have a directory that I want to move (with its contents, recursively) to another's user home directory. I don't have permissions to write to that user's home directory, but I know his password. I ...
1
vote
1answer
44 views

Root cannot remove file on ext4

I have on ext4 disc the following file: -r--r--r-- 1 root root 61440 20. pro 15.30 ldlinux.sys But rm, chmod and mv says permission denied even for root. Any ideas what could be the problem? FYI, ...
1
vote
0answers
10 views

Permissions to allow files to be written, but not read, overwritten or modified

I'm setting up a file share for a small group (CIFS/samba on FreeNAS, so the base system is FreeBSD/ZFS using ACLs). I want to allow users to put stuff into a folder on the share - but not to be ...
2
votes
0answers
19 views

How can I tweak unix settings for 360 Spatial Workstation to make it not run as admin?

I'm having issues installing, in a group environment, a program caleld "360 Spatial Workstation" also known as FB360 now in collaboration with a team at Facebook. The systems are OSX 10.11, facing ...
0
votes
1answer
49 views

Finding out a directory's previous permissions

I have root access in my Linux environment. I have a directory 'officestaff'; this directory permissions were changed to 775 and the modification date changed. How can I know the previous permissions ...
0
votes
1answer
28 views

How do I edit sudoers file in fedora? [duplicate]

I have just started a new fedora build. I just got things going, and was about to install tmux, and was hit with the message... Error: This command has to be run under the root user Ok. I attempt ...
0
votes
1answer
34 views

To wget as New User without sudo in Raspbian

I have a new user masi in Raspbian Jessie. I want that it has access to /usr/bin/ etc wget. I did sudo adduser masi sudo visudo root ALL=(ALL:ALL) ALL masi ALL= NOPASSWD: ALL % ...
4
votes
0answers
62 views

Permission problem with cp/mv and nfs

I have a drive with ntfs mounted on one computer and made available to a second computer using NFS. On the second computer I'm able to read and write to this drive but with a catch; cp will create a ...
2
votes
1answer
48 views

Stop user from deleting file in directory

This is the scenario There is one directory /test which is owned by oracle.dba I created new user TEST who will have permission to create NEW files but it should not be able to delete the files he/...
5
votes
0answers
49 views

Why group-writable file works “unidirectionally”?

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ stat myfile | grep Gid Access: (0664/-rw-rw-r--) ...
0
votes
1answer
27 views

How To Copy Lossless from OSX ext to FAT32 without Ownership/Permissions? [closed]

I sudo-copied documents from OSX extended filesystem to FAT32. Now, I see that two trees are different by size and by Stephen's command here vimdiff <(find /Volumes/fat32/ -printf "%P %u:%g %m\n" |...
0
votes
1answer
36 views

Why can't i delete file when i have the file's ownership? [duplicate]

As a root user, I created a file in / directory. I can only read this file when logged in as normal user (say A) as expected.I changed the ownership to A.Now A can read as well as write.But when I try ...
1
vote
1answer
47 views

User Permissions problem in CentOS 7: “Permission denied”

I thought that I knew how to set up permissions in Linux. I apparently don't. I have a user called "web3". This user was automatically created by ISPConfig (A server management application like ...
1
vote
0answers
20 views

Making CMake apply -DCMAKE_INSTALL_PREFIX to everything

I'm trying to build this app with CMake, as a non-root user. I've run: cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/opt but during make install, I get -- Installing: /usr/local/share/myapp/data CMake ...
1
vote
1answer
47 views

umask not working as expected in other than home directory

I try to set up a deployer user for CI with Teamcity. I followed the instructions from this question on ServerFault: What's the best way of handling permissions for apache2's user www-data in /var/www?...
1
vote
0answers
36 views

Locked myself out of Amazon EC2 [duplicate]

I'm working with an Amazon EC2 instance and at some point, I wanted to chown a directory recursively, and it looks like I applied the command to the whole file system. As a result, it is possible that ...
1
vote
1answer
52 views

why suid bit is unset after file modification

I have an (s|g)uid file world-writable: ls -lh suid_bin.sh -rwsr-srwx 1 root root 168 mai 23 16:46 suid_bin.sh logged with a non-root user account. I use vi (or another editor) to modify "...
1
vote
0answers
28 views

American Fuzzy Lop run test program as unprivileged user or in chroot

I'm attempting to test tcsh on OS X with American Fuzzy Lop as an exercise, but don't want to accidentally clobber any useful files on my system. Knowing essentially nothing about fuzz testing, I did ...
1
vote
2answers
89 views

VERR_ACCESS_DENIED when trying to add a raw disk to virtual box

I created a virtualbox raw disk pointing to a functioning, booting USB drive with a small linux distro on it. sudo ./VBoxManage internalcommands createrawvmdk -filename ~/VirtualBox\ VMs/MyTinyLinux/...
-1
votes
1answer
32 views

Extended permissions - after set acl, group cannot write [closed]

I want to use setfacl to set permissions to dir for the users group. I do something like this: mkdir /Employee chgrp employeers /Employee setfacl -m d:g::rwx /Employee And now, when I try to create ...
2
votes
0answers
65 views

apparmor - cannot load library

I'm trying to get apparmor set up on my system and am having troubles getting past the permission denied error: ping: error while loading shared libraries: libcap.so.2: cannot stat shared object: ...
2
votes
1answer
33 views

Find differences of ownerships between two home folders?

I have two home folders: /home/masi and /home/masi_backup and I would like to find the differences between files of the two directories. Pseudocode vimdiff <`ls -la /home/masi` <`ls -la /home/...
4
votes
0answers
62 views

Linux: Changing Permissions – No space left on device

I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on ...
1
vote
0answers
12 views

Centos 6 FTP problem

I have a VPS running CentOS 6. I've tried multiple FTP servers but the following problem keeps me stuck. I want all users to have FTP access to their own folder in /home, so I configured Pure-FTPd to ...
0
votes
1answer
54 views

Clarification: permission and owernship by the apache process of web root

I've read through a lot of articles about correct/secure (1) ownership and (2) access permissions for directories and files in a web accessible directory served by apache (e.g. /var/www/). Either I'm ...
1
vote
1answer
30 views

change home folder permissions on exit/disconnect

I have a use case where my folder on the linux server needs to have its permissions opened up so I can use a sudo account to move files from my folder to shared folders. What then happens is often ...
1
vote
1answer
39 views

Apache does not have the permission to copy files from a mounted directory

My application on the server wants to copy a file from a remote directory mounted by sshfs to a local directory. The application code: shutil.copy('/data/somdir/somefile.txt','/var/www/App/...
0
votes
0answers
10 views

Understanding owner groups of a folder

I am having some problems understanding how users and groups permissions work in Linux. The command I am trying to launch is the following: ln -nfs /home/mmarteau/wfor.it/releases/release_folder /...
1
vote
2answers
46 views

Apache - 403 Forbidden

I know this question has been asked a lot of times but I'm completely stucked. My /var/www/html folder contains: mbfr/ |-- index.html | school/ |-- index.html I want to exemple.com serves the mbfr ...
1
vote
0answers
17 views

How do I open access (+x) to a directory behind symlinks in one move?

For example, to open access to /sys/bus/usb/devices/1-1/, the following need to be done: chmod a+x /sys/bus/ chmod a+x /sys/bus/usb/ chmod a+x /sys/bus/usb/devices/ # files in "devices" are ...
0
votes
4answers
83 views

Is there a way to show the permissions for a file without using `ls`

That's all - just wondering if there's other way to find out the permissions for a file without doing a ls -l to see the string of values there. As far as I know, there's no show option in chmod.
4
votes
2answers
52 views

Is it possible to create a “negative” ACL?

Is it possible to create an ACL to deny access to a specific user (say jdoe) to a specific file? I'm not interested in the trivial solution of an ACL that gives access to the file to all users except ...
2
votes
1answer
143 views

RHEL sudo still not allowed for user 'tina' [duplicate]

I'd like 2 users, 'tina' and 'lu' to execute a few utils like /bin/chmod. Here's the relevant portion of my /etc/sudoers file. tina,lu ALL=/bin/chmod /bin/chown /bin/chgrp Then I logged in as ...
0
votes
2answers
32 views

Confused by this chmod command [duplicate]

Why does the command chmod 6754 correspond to the file permissions rwsr-sr-? I understand that Read = 4, Write = 2, and Execute = 1, but what value does the s (setuid) permission or the dashes have?
1
vote
1answer
43 views

Limited access to a directory's contents

There is a file in a directory that me and the other users want to be able to read. I want the other users not to be able to see the other files in the directory. They should be able to read a ...
0
votes
1answer
6 views

Netatalk users can't read World/Other readable files

I'm using Netatalk to share documents with several Mac machines. Regardless of what permissions I'm using for the file (typically 775 for folders and 664 for files) they can't be read by users in the ...
1
vote
1answer
57 views

apparmor: mysql permissions--with no recent changes

UPDATE: I now know my issue was database corruption, but discerning it was somewhat tricky--apparmor appeared to be the cause for longer than it should've. I didn't note when first posting that even ...
1
vote
1answer
44 views

Migrating mounts with identical permissions not working

I have two mounts /mount1 and /mount2. I ran the command: rsync -azrt /mount1/* /mount2/ to clone everything from /mount1 to /mount2. I then altered the /etc/fstab (see below) to remove /mount1 ...
2
votes
1answer
33 views

No permissions?

Output of ls -l: drwxrwxrwx 16 btsync btsync 4096 Feb 25 15:41 documents I can cd into the folder no problems. Now: sudo chmod 776 documents I can no longer cd into the folder: bash: cd: ...
3
votes
1answer
22 views

White-list certain binaries and scripts inside a noexec/nosuid mount?

Just like the question. Is it possible to white-list certain executables from a noexec mounted FS? for instance, mine looks like this: /dev/vg/lv on /tmp type ext4 (rw,noexec,nosuid)
0
votes
1answer
42 views

Dealing With A System Which Is Not Letting To LogIn Due To Open Permissions [duplicate]

A colleague of mine told me that after he executed the below command, he's not able to login to the system. No user can login via ssh. Only normal users can login over physical console of the system,...
1
vote
1answer
28 views

cd: permission denied: binutils-2.21.1

I'm following Tools Used in 6.828 to configure. $ sudo tar xjf binutils-2.21.1.tar.bz2 generate folder binutils-2.21.1 $ cd binutils-2.21.1 cd: permission denied: binutils-2.21.1 $ sudo cd ...
0
votes
0answers
21 views

Can't make SUID work [duplicate]

I have 2 users: root and usr345 in the system. SUID bit allows the users to execute a program with permissions of it's owner. I created a file: # touch /home/usr345/update-iptables.sh Contents: #/...
2
votes
1answer
41 views

Ways to restrict remote user to only access a remote database

I want to be able to setup a remote user that can update a PostgreSQL database on a production server. I have two machines, one is a local server that I use as a command and control system, named ...
-1
votes
1answer
69 views

Getting “Permission denied” when trying to create a file despite correct permissions

I’m using Amazon Linux and running a script through a Jenkins job, including this line touch /usr/java/jboss/standalone/deployments/myproject.war.dodeploy which results in the error … touch: ...
4
votes
1answer
48 views

File permissions on Linux?

I am surprised that /mnt, /media or even /opt are not writable by myself on my own system (Linux-Ubuntu). Should I always use sudo for any action on these paths? Or would it be better to add myself ...
2
votes
1answer
41 views

File permissions while installing a python module

I would like to install sphinx-doc from the sources so I git clone the module then installed it with sudo python setup.py install. Using /usr/local/lib/python2.7/dist-packages/pytz-2016.4-py2.7.egg ...