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
1answer
39 views

vsftp doesn't respect chmod setting when uploading outside my local network

Yo! I've a ftp server on my linux machine and I've set the following rules: I keep group and owner and chmod it to 775. When I use it at home (192.168.x.x) it's ok, files keep their group and user ...
3
votes
2answers
174 views

Can users in a group access a file that is in another user's home directory?

I have 3 users A,B and C inside a group 'admin'. I have another user 'D' in whose home directory, there is a project folder. I have made D as the owner of that folder and assigned 'admin' as the group ...
-1
votes
1answer
70 views

vsftpd, 553 Could not create file. How do I chown two different users?

I'm new to linux, but I'm learning! I'm running CentOS 6.7 with nginx and I'm trying to get vsftpd to work. I can log in via FTP okay, but when I try to write a file, I get an "553 Could not create ...
4
votes
2answers
60 views

Permission bit of 730 for a directory? what does this mean?

I know its rwx-wx---- but what does -wx for the group mean? Can they write and execute the file but not see them? Can they overwrite file with same name or delete the file?
2
votes
1answer
129 views

/bin/sh: bad interpreter: Permission denied when installing Postgres

I have already looked at similar posts in this forum related to bad interpreter and denied permissions, and was unable to find a solution to this problem. I have a vps Linux x64 (v2.6.18; CentOS ...
1
vote
0answers
64 views

Having trouble updating my firmware “Error processing Archive”

On Ubuntu OS sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be ...
3
votes
3answers
614 views

sudoer file how to give a particular user full access to only certain file

I want to give a user full access to only certain files, can someone show me how to do that? For example, I want to modify the sudoer file to grant user access to only certain file. Thanks.
1
vote
0answers
31 views

Trouble with Xfce permissions for suspend and nm-applet

I have problems with permissions in Xfce, and I have no idea how to search for solutions. Googling gives lots of different solutions but none of them work for me. When I suspend/logout/reboot etc I ...
1
vote
1answer
29 views

(vsftpd) uploaded file group

I'm creating an ftp server with vsftpd, and I've almost finished, the only thing remaining is when I upload a file (logged as an user U), the file belongs to a group which has the same name (so group ...
2
votes
1answer
67 views

Is it a good idea to set file permissions to 640 on windows partition?

I run both Arch Linux and Windows 10 on my computer. When I cd onto the Windows partition (which uses NTFS), I notice that all files and folders have 777 file permissions. I want to run $ chmod 640 -R ...
3
votes
1answer
99 views

Access a file in PHP through a symbolic link from a user that normally doesn't have permission

I have this website, where if the user submits a form, a python script is executed through a php page, and the python script creates a zip file and should offer it to the user for download through a ...
-1
votes
1answer
43 views

Allowed group can't access a folder [closed]

I've a weird problem on my linux machine, I've multiple users, we can say u1, u2, u3... who all belong to a group G. I have a group folder in /home who belong to one of these user (we'll say u1), and ...
1
vote
0answers
50 views

Apache, can't link to Home directory, Alias does not work

I am trying to make a folder in which I can build websites (using php). I have switched from a Windows system where I was using Uniserver (http://www.uniformserver.com/) which is a setup with MySQL, ...
2
votes
1answer
40 views

ACL group permission still not allowing write permissions

There's a file called '/etc/file.conf' on my filesystem. $ getfacl /etc/file.conf getfacl: Removing leading '/' from absolute path names # file: etc/file.conf # owner: root # group: root user::rw- ...
2
votes
3answers
70 views

Change files with Editor that need sudo permissions

I want to change files with KomodoEdit, that need sudo permissions. I cant start KomodoEdit with sudo tho (for whatever reason). Can I somehow grant Komodo permission to edit those files (in ...
5
votes
1answer
241 views

how to remove SELinux label?

I added the SELinux label svirt_sandbox_file_t to /home chcon -Rt svirt_sandbox_file_t /home The label is shown using: [user@localhost ~]$ ls -Z unconfined_u:object_r:svirt_sandbox_file_t:s0 ...
1
vote
1answer
185 views

Allow user access to their own dir, /var/www/html, nothing else

My company has a web designer that's going to upload files to /var/www/html and edit them. I created an account and will give them ssh access. I added them to the apache group, but they can't access ...
0
votes
1answer
72 views

Setuid does not work for my windows program hosted on a Linux server [closed]

I compiled ExpressI.exe on a Windows system with Visual C++. The file ExpressI.exe resides on a share mounted from Linux. I need to permit only the program ExpressI.exe to access the test folder ...
1
vote
0answers
87 views

Permission denied using ecryptfs-setup-private as root

If i create an encrypted home directory for a non-root user as root user, I mean: ecryptfs-setup-private -u kok After that, when kok login it fails to mount: Failed to detect wrapped passphrase ...
2
votes
1answer
124 views

Bash script unable to move files

I'm trying to write a "janitor" script that will run as a cron job in one specific directory. It is supposed to create an archive folder with the date of creation in the name, and then find and move ...
1
vote
1answer
26 views

Group Directory permission

you have been asked by couple of programmers to make ProjectA a group directory on a UNIX server which allows them to create files under that directory to facilitate collaborative work, but only the ...
2
votes
0answers
45 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
183 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
21 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
79 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
24 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
89 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
52 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
43 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
47 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
107 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
90 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
93 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
98 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
21 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 ...
1
vote
0answers
18 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
60 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
48 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
285 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
42 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
70 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
161 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
38 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
290 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
41 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
54 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
170 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 ...