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
0answers
46 views

Unable to insert records on sqlite on a Linux environment

I tested a simple Php program using Sqlite3 instead of mySQL on my own computer and it works fine. What the program does is simple insert of record into a certain table. Now, when I try to do that on ...
2
votes
0answers
209 views

How to change to a different user after SFTP login

The goal: Use local IDE (IntelliJ PHPStorm 9) to browse & edit remote files via SSH The obstacle: My user on the remote machine does not have permissions to read files, which are owned by ...
1
vote
1answer
23 views

When installing a package, can I give write permission to specific files?

I'm trying to install numpy onto my system. I'm kept from installing the package, however, because I don't have permission to edit certain folders. This "permission block(s)" is the standard safety ...
3
votes
2answers
96 views

Creating a user having only access to folder & sub-folder which is present in other user of the same System

I have 2 users on my ubuntu system, User1 and User2. I have a directory(folder) in User1 as /home/User1/Software and I want to set this Software folder as home directory of User2 so that whenever ...
1
vote
0answers
26 views

Can't Wireshark the USB bus: permissions

I am trying to monitor my USB traffic using Wireshark. The docs say "just do sudo modprobe usbmon". Well, that doesn't work: vorac@laptop:~$ sudo modprobe usbmon [sudo] password for vorac: ...
2
votes
1answer
103 views

How to make files unmodifiable and undeletable without `chattr`?

I (and my collaborators) have a directory tree containing ~160K files (most of them are automatically generated by data gathering instrumentation). These files reside in a system that gets backed up ...
1
vote
0answers
58 views

Starting a minecraft server using screen doesn´t work properly

I'm trying to run a minecraft server on my vServer. Everything works properly when I start the server like this: java -Xmx1G -Xms1G -jar minecraft_server.jar nogui But I want the server to run in ...
2
votes
0answers
45 views

How to set EMIRGE program to write files with desired permission

How can I get the EMIRGE program to read certain files? I am using Linux Mint (17.1). I have downloaded a program call EMIRGE, which is supposed to take fastq files (a text file format for ...
2
votes
1answer
48 views

Accessing Time Capsule Drive from SSH?

I have an Apple Airport Extreme Time Capsule. I'd like to use it to store information for data mining operations. I've set up OS X server, and set up user accounts such that users can log into a Mac ...
3
votes
1answer
129 views

How to specify owner and permissions for an NFS mount?

I have an NFS mount in fstab: 10.0.12.10:/share1 /net/share1 nfs rw 0 0 which defaults to root as owner and group and 777 permissions. How do I specify another owner and different ...
2
votes
1answer
98 views

Avoiding permission issues on portable hard drive in Linux Mint

I'm trying to pre-emptively avoid permission issues on my portable USB hard drive. The plan is to put a couple of Virtual Machines on the portable hard drive, and use it between two PCs both running ...
2
votes
2answers
119 views

How to set default owner per directory?

I'm on Debian 8. While How to set default file permissions for all folders/files in a directory? is about permissions, I'd like something similar for ownership. Whenever I login as root and add a ...
5
votes
1answer
112 views

Why does default setfacl fail for nested directories?

I am using sftp with the internal-sftp for debian. What I'm trying to acomplish is to jail all users to a specific folder which is working fine. I also need to have a single user that has "admin" ...
3
votes
2answers
48 views

Do permissions for the root folder in *nix filesystems differ from other directories?

In a comment under this answer I received a suggestion that "permissions on the / folder are a special case". Is it true and if so, how does the implementation of permissions for the root folder ...
2
votes
0answers
25 views

Netatalk user in both rwlist and rolist

0 down vote favorite I'm currently configuring a AFP server that's running OD, AFP, SMB etc. My problem is that I got a few shares that ALL needs to have read only on and a few people in a specific ...
2
votes
0answers
19 views

RHEL / SELinux - Apache unable to write to a directory it can write to [duplicate]

I have a RHEL 7 machine running an Apache web server with multiple virtual hosts on it. I've recently run into an issue where I am unable to upload media, e.g. images / pictures / video, to my machine ...
3
votes
0answers
64 views

Read but not write access to a socket on Linux, what can one do with that?

On a server installation, I found sockets writable by group, but only readable by others. I assume that the latter has no effect, as my understanding was that write access is needed to be able to work ...
0
votes
1answer
50 views

Default text file permissions?

How do I find out the default permissions for a newly created text file? I've tried ls -l filename.txt but it keeps saying it cannot access the txt file, so im pretty sure I'm doing it wrong ...
0
votes
1answer
463 views

file with permission lrwxrwxrwx does not show any link on “ls -l” command

lrwxrwxrwx. 1 tomcat tomcat 27 Oct 17 00:23 work This is my file(link) I want to go inside a directory within it to rm a file and then copy the new one. But it says permission denied and does not ...
0
votes
1answer
44 views

Add permissions to access /media/External drive

I'm using RaspberryPi and Raspbian distribution. Additionally I have installed Kodi and set it up to auto start. I have problems with setting permission to /media/myDrive directory. It's because od ...
0
votes
0answers
78 views

Logged in as root server but terminal not showing #

when I log into Centos 6.5 server with root details, It is not showing # in my terminal, when I do sudo it says "sudo: /etc/sudoers.d is world writable" So i checked on google and used answers ...
0
votes
1answer
221 views

zipping files without changed its ownership

I understand now that i cant give away files Using chown as i am a normal user and not the one with root permissions . Now my problem is I have a whole bunch of files with write permissions on them ...
1
vote
1answer
34 views

`sudo tar` but own the resulting file

I want to put a bunch of files into an archive with tar. However, I don't have permission to access all of them, so I have to do sudo tar. However, now that root has run the tar, the resulting ...
1
vote
1answer
39 views

Rights, permissions and groups

I have a external drive mounted to /media/usbhdd, the owner is: debian-transmission and the group is gebruikers. In the group gebruikers i have added the person debian-transmission and pi. But when i ...
2
votes
2answers
298 views

Prevent a user from removing file

I am looking for a way so that a particular user or a group should not given the permission to remove any file in the system, but only read/execute the file.
2
votes
1answer
44 views

how to prevent access to other user with same user id (UID)

I have two Linux OS installed in two partitions in my system. However I have few usernames which are common in both partitions. For ex, I have user friend in both the OS. I have noticed that friend ...
0
votes
1answer
41 views

permission denied on ~/.ssh for the owner of it! [closed]

I have set the owner of /home/jack/.ssh to the jack and also give it the permissions as follows: -rw------- 1 jack jack 1679 Oct 10 01:41 id_rsa -rw------- 1 jack jack 396 Oct 10 01:41 id_rsa.pub ...
1
vote
1answer
55 views

To cd into a directory [duplicate]

What permissions are needed? I mean the minimum permission needed to actually cd into a directory. It's just a general question I have. If someone has executable permissions is that enough to be ...
2
votes
2answers
193 views

How to change permission of anonymous pipe?

I've the script which loads the SSH key from the variable (as part of script in CI environment) in order to not keep the private file in the public repository, however ssh-add complains about the ...
0
votes
1answer
162 views

user exists when trying to add user to systemd-journal group.

I have been wanting to read systemd-journal by running/using journalctl -b . Now if I run it as a user I get the following :- $ journalctl -b Hint: You are currently not seeing messages from other ...
0
votes
1answer
74 views

Give access to only one directory that's not user's home

In my VPS account, I have a folder /home/xyz/public_html. This belongs to a customer who now wants their in-house developer to look into the code. How do I give SFTP access to only this folder? I ...
0
votes
0answers
96 views

Permissions set to 755 but I cannot access folder

I want to access some files in a folder that I created in a server. I have changed the file permissions recursively to 755, which basically should allow everyone to read and execute files, but this is ...
2
votes
0answers
136 views

Unable to run chmod, chown, and even ls on a folder

I searched the net and tried to apply answers to similar problems but none worked so far. There is a folder named ocrpaylasim under /home/bnet path. This file belonged to bnet user before and was ...
4
votes
1answer
50 views

How to ensure proper file permissions when running installer bash as sudo?

I am making a installer bash, playing with it a little too. But I just came across a serious problem: As I run the bash with sudo ./install.sh, all the files it copies are owned by root and therefore ...
2
votes
2answers
4k views

Why do I get permission denied when using mv althrough directory rights are correct?

I get permission denied when trying to move folder Music via mv although directory owner is set to my user and user permissions are set to 7. What's going on? (I know that I could use sudo but I want ...
1
vote
1answer
48 views

SFTP access to different parts of the apache webroot for different users

I have a website running on apache with the web root folder at /var/www. I have different people managing different aspects of the website. Designers accesses /var/www/images and /var/www/media ...
0
votes
0answers
102 views

Give non root user permission to mount NTFS partition

When an external storage device like a flash drive is plugged in, it gets automatically mounted without any root authentication by nautilus. But why does mounting NTFS partitions within the same ...
2
votes
1answer
293 views

Why am I unable to attach `strace` to a kworker process?

As root, I try to attach strace to a running kworker process, without success. root@rasal# whoami root root@rasal:/# cat /proc/sys/kernel/yama/ptrace_scope 0 ...
0
votes
0answers
12 views

Motion Network Share Write Permissions

I'm running into an issue where a network share on my debian machine provides rwx to the directory. However my "Motion" program is writing files to it constantly, but for some reason needs to re-write ...
1
vote
1answer
37 views

Make superuser act like some other user in certain directory tree

I have the following problem: My home directory lies on the network and is mounted locally on home/<my username>. I can access it with my normal user account <my username>, but as root, I ...
2
votes
2answers
133 views

Hard-link creation - Permissions?

Which permissions affect hard-link creation? Does file ownership itself matters? Suppose user alice wants to create a hard-link to the file target.txt in a directory target-dir. Which permissions ...
1
vote
1answer
51 views

NTFS Partition Not Mounting Properly, Cannot Execute Despite Ownership

I'm trying to execute a script located on an NTFS partition that I own. I own the mount point, which is ~/Migration. ls -l in the directory where the mount point is contained shows me drwxrwxrwx ...
0
votes
1answer
252 views

Creating a new FTP user and giving him only the right to 1 folder [duplicate]

I have a Linux Debian machine that I own (root access). I would like to create a new user called "testuser" and give him the right to view, edit and delete files from only one specific folder ...
3
votes
0answers
178 views

Unable to log into Cockpit server - could not set limit for 'nofile'

I have Cockpit installed on a Fedora 22 VPS that I use for educational purposes. I tried logging into Cockpit from my browser, but I was given a "Permission denied" message, despite using the correct ...
7
votes
2answers
679 views

how to prevent a user from changing his home directory permissions?

If user smith's home directory has the following permissions: $ ls -l /home/staff drwxr-x--- 51 smith staff 4096 Sep 18 09:08 smith/ is it possible, somehow, to prevent him to change his ...
0
votes
0answers
65 views

IzPack Linux Keep same permissions

I'm using IzPack to pack my application contain thousand of files that should be executable. IzPack remove the original permissions and give the unpacked files rw-rw-r-- So, there is any solution to ...
0
votes
1answer
43 views

Why can't I create directories under /root as a member of root? [duplicate]

I've done the following: sudo usermod -a -G root userA sudo su - root cd / chmod 775 root ls -aln -- drwxrwxr-x. 6 0 0 4096 Sep 13 22:04 root I can cd /root from my userA, but I can't make ...
1
vote
1answer
51 views

Thoughts on security in linux [closed]

So ransomware is around again - at least in Denmark. This is a major issue for MS-Windows users, but does almost never affect Linux or Mac. The reason is an issue of debate. But since the consumer ...
2
votes
1answer
116 views

EACCESS err while installing thin

I am trying to install thin in linux mint 17. I have installed ruby via rvm . I have already install the thin gem. When I ran thin install I got this error Installing thin service at ...
0
votes
0answers
126 views

permission needed for Python to access USB drive?

I got this Python script that reads media files from USB stick. It used to run fine, today it keeps giving me OS Error: [Errno 13] Permission denied: media/myName/usbName when the script runs the ...