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)

0
votes
1answer
138 views

Suitable permissions for owncloud /data directory using nginx under centos

Having the following software: nginx web server centos 7.1 OS owncloud 8 Application https Web Browsing Protocol PHP-FPM After resolving the issue of /config directory permissions, we reached ...
1
vote
1answer
43 views

Restore file permissions after Windows copy

I lost my drive with my media center on it, and I realized that I had an old backup lying around. But when I went to restore my backup, I realized that all of the files had been copied with a Windows ...
2
votes
3answers
37 views

Find files with group permissions more restrictive than owner permissions

This is an actual work-related problem. Users could previously "su - userx" and was able to execute a script with user:owner permissions as userx:groupz 760 or 540, or modify a file that's ...
1
vote
2answers
75 views

How to Backup and Compare File Permissions?

Is there a way you can setup a list of receipts of folders and directories of their correct default permissions that can be used as a backup to compare the correct permissions and be used to fix ...
3
votes
1answer
56 views

setuid example from Wikipedia: 4700

I was reading about setuid on Wikipedia. One of the examples goes as follows: 4700 SUID on an executable file owned by "root" A user named "tails" attempts to execute the file. The file ...
1
vote
1answer
118 views

logrotate fails to rotate logs: error setting owner

Recently I've noticed that logrotate does not rotate my logs. user1@host:~$ /usr/sbin/logrotate /home/user1/logrotate.conf -v gives me an error: error: error setting owner of /home/logs/mylog.log.1 ...
1
vote
0answers
40 views

Reset ownership to default on opensuse 13.2 [duplicate]

Hi guys I did something very stupid to my system Chmod 777 -R / After that everything disappeared including the mouse pointer I'm was able to log in now but things are so corrupted I can't use su ...
1
vote
2answers
55 views

How to copy a folder like /usr in a preserving manner?

I need to preserve owners, groups, and permissions, but also soft and hard links. As far as I can see there are two cases to discern: Links within the folder structure to copy, like lrwxrwxrwx ...
0
votes
0answers
33 views

VSFTPD and ability to write to root

I successfully implemented VSFTPD on CentOS 7, however I would like to know if it is possible to write to the root. Here is a fragment of my VSFTPD configuration file. [root@Turbo media]# vi ...
1
vote
1answer
115 views

share encfs folder within the same group

given an encfs folder mounted under its own user, is it possible to permit read access to someone else (especially a system user), who belongs to the same group? For example user1 owns ...
1
vote
1answer
15 views

Access rights for directory, when you are a part of owner group [duplicate]

Right to the business, here is what I am trying to do foverzar@subsystem /home> ls -aln total 16 drwxr-xr-x 4 0 0 4096 Dec 12 23:07 ./ drwxr-xr-x 17 0 0 4096 Dec 4 13:51 ../ ...
0
votes
1answer
52 views

/bin (and sub) default permissions

Absolute noob here, I'm loving every last bit of Linux but I'm still at the very first steps. And apparently tonight I managed to work out my first royal screw up, most of all I really hope answers ...
0
votes
0answers
97 views

Sudo, Virtualbox, and Permission issues. (The Good, The Bad, The Ugly)

I hope the title didn't put you off as this is a fairly interesting and nuanced problem. I'm testing a development image of Linux Mint built by myself and a friend. I'm testing it out by trying to do ...
0
votes
0answers
29 views

Supervisord fails to run a program

I've a program that I try to run with supervisord but keep failing. The following is supervisord configuration: $ cat /etc/supervisor/conf.d/application.conf [program:application-web-1] command=env ...
0
votes
2answers
85 views

Dropbox installation stuck with permission

I tried to install Dropbox on my PC running Archlinux and I followed the command at Dropbox webpage. The first command is ok, but when I tried the second command, it gives me the error: ...
1
vote
1answer
20 views

Why won't this example of setUID work? [duplicate]

I am learning about setuid and setgid where the user executing the script will inherit the owner's permission while running the script. To test this, I created a bash as user fiverr in ...
0
votes
1answer
19 views

Permissions over script in a directory [duplicate]

Maybe this is for dummies, but i'm not sure. My directory has the permissions: drwx------ 2 root root 4096 oct 16 11:39 scripts But the script have the permissions: -rwxrwxrwx 1 user user 39 ...
0
votes
2answers
59 views

Folder in /tmp won't delete despite the computer being restarted

There is a folder in /tmp/ that won't delete despite my computer being restarted. I know it's not being recreated at restart since the last edited and added date is 23 November 2015. I do know which ...
0
votes
0answers
74 views

No permission to execute C++ binary on Debian webserver - How to bypass?

I am trying to run a compiled C++ program on my webserver (Debian), but the terminal is outputting the following error message: -bash: ./program.bin: Permission denied The rights on program.bin are ...
0
votes
2answers
237 views

File System with permission as “rwxrwSrwx”

I have a shared directory from SAN, whenever I create a folder or file inside that directory, it already has permissions; for directory we have "drwxrwxrwx" permission and for files we have ...
1
vote
0answers
116 views

CentOs 7 - MobaXterm - X11 Forwarding per user

I am using MobaXTerm to connect to my CentOs 7 Server. I have set X11Forwarding yes in my /etc/ssh/sshd_config file. The root user is able to start the X11-Gui for example gedit. The other users ...
15
votes
1answer
322 views

Why does ArchLinux keep some users/groups after package uninstallation?

I've noticed that after uninstalling the postgresql package in ArchLinux the postgres user and group are not removed automatically. The same is true for some other packages. Investigating this ...
1
vote
1answer
43 views

Permission denied when writing a file

Upon installation, I have created an extra partition and mounted it as /data. The partition is visible, but I get a Permission denied error when trying to create a file or directory in it. Doing it ...
1
vote
2answers
29 views

Permission mix-up on Mint

So recently I accidentally started changing all the permissions in root to my unprivileged account :(. I know it's a rookie mistake to make. It happened because I was switching between users and ...
1
vote
2answers
72 views

Permission denied scp'ing large file

I'm trying to copy a 4.5GB file to my Raspberry Pi: scp -r ~/firmware/ pi@192.168.2.8:/opt/ pi@192.168.2.8's password: scp: /opt//firmware/.DS_Store: Permission denied scp: /opt//firmware/.git: ...
1
vote
3answers
73 views

Linux Mint 17.2 suddenly loses write access to filesystem

It may be a hardware problem since I'm using new computer but I'll ask anyway. So it happens sometimes - system becomes unable to write anything on hdd, applications start to crash, I forced to ...
1
vote
2answers
482 views

File Permissions Sticky&User Execution

After the website of a client has been hacked, I found some files with the following permissions set What exactly S and T stands for? Also, which one is the command to set them with those ...
1
vote
0answers
138 views

Why is sed changing permissions of a file on a cifs mounted share?

I have an Arch linux machine that uses the following fstab entry to mount a share: //192.168.3.1/Documents /mnt/ cifs ...
4
votes
2answers
345 views

Unable to SSH Using a Private Key Through Bash Script

To start with, I apologize if this is a painfully obvious/trivial issue, I'm still learning the ins and outs of linux/unix. I work with a few servers that require access via ssh and private key to ...
2
votes
1answer
52 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 ...
4
votes
2answers
254 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
79 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
63 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
142 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
68 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
711 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
33 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
36 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
74 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
113 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
46 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
56 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
47 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
74 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
279 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
207 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
75 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
117 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
130 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 ...