Short for "file system permissions" - access control based on user, group, or global access.

learn more… | top users | synonyms (2)

6
votes
1answer
22k views

Giving ownership of the directory to the apache user?

I have installed wordpress on LAMP. As I am new one to Ubuntu. So, I Used this online tutorial How to install wordpress on ubuntu manually But when I am trying to give ownership of the directory to ...
0
votes
4answers
8k views

tftp error code 2 access violation (tftp not working)

System info: Linux ravi-Inspiron-N5010 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:08:14 UTC 2015 i686 i686 i686 GNU/Linux root@ravi-Inspiron-N5010:/home/ravi/Desktop# lsb_release -a No LSB ...
2
votes
0answers
10 views

login error in Ubuntu 16.04 with X authority problem

I've Installed Android Studio and wpscan metasploit and LAMP Stack server on my system. The next day when I've tried to login to my system I got that black loop page and backed to my login page. I'...
0
votes
2answers
12 views

Copying files to var/lib/tomcat7/webapps/ROOT

I have installed a web app in var/lib/tomcat7/webapps/ROOT that runs using tomcat7. When i check the file permissions,i see that they are owned by tomcat7 How can i copy a file inside ROOT and make ...
1
vote
1answer
21 views

Security - Apache's websites folder inside Home folder

Is it secure to change DocumentRoot path to some folder in user's Home directory? Or it's better to leave it be and using a shared group between your user and Apache server as you can see it in the ...
0
votes
0answers
9 views

Connection for controluser as defined in your configuration failed

I have been using LAMP on my system for a while now, i decided to change ownership of the lampp dir from root to my account, now i'm getting this control user problem that never existed before. I have ...
1
vote
1answer
43 views

/etc/dpkg/dpkg.cfg.d/multiarch: Permission denied [duplicate]

I have Ubuntu 14.04, and I'm trying to install wine:i386 to use PlayOnLinux, following this article. However, when I run: sudo echo "foreign-i386 architecture"> /etc/dpkg/dpkg.cfg.d/multiarch I ...
2
votes
2answers
4k views

Create FTP users with limited access only to home directory Ubuntu 12.04

I'm having Ubuntu 12.04 server and I have installed VSFTPD service for FTP. I'm trying to create a FTP user who has access only to /var/www/ directory and all permissions for sub-directories. ...
0
votes
1answer
45 views

I can't download anything on 16.04 LTS

When I try to download anything at all through the terminal on 16.04, it doesn't finish something as I do this command: sudo apt-get install kdenlive. It then tells me Unmet Dependencies. Try 'apt-get ...
2
votes
1answer
18 views

process terminated with status 2 - How do I track the issue down?

looking for some troubleshooting suggestions... I have an application installed running as a service under my user account (yes, I should likely create its own account). Anyhow, every now and then ...
0
votes
2answers
37 views

How do I save php file in var/www/html when it shows error “Permission denied”? [duplicate]

I cannot save a php file in var/www/html and my computer shows error "Permission denied". How to change permission to save file here?
10
votes
7answers
68k views

How to display file properties via terminal?

What is the command line that displays file informations (or properties), such as in GUI method Display properties in GNOME? I know that ls -l shows properties; but how to display the same ...
-1
votes
0answers
18 views

can't add a new pci identifier /sys/bus/pci/drivers/ahci/new_id

Ubuntu does not mount my disks connected with Marvell 88SE9172 SATA 6Gb/s interface. In some forums i found this is a kernel issue and under following link I found some workaround that adding new pci ...
1
vote
1answer
32 views

Trying to ssh root, why get permssion denied in 16.04?

I'm trying to set up passwordless ssh between root accounts in 16.04 (needed for Hadoop installs). I set up a password for root by sudo su - root and passwd. When I try e.g. ssh -l root slave3 or ...
10
votes
8answers
32k views

“Could not update ICEauthority file” after login (independent of gnome)

I just installed Ubuntu 11.04 64bits in my new computer, and I got this two messages after login: and I've tried to login with classic gnome, and safe mode, but got the same messages. Any easy/...
0
votes
1answer
28 views

How to prevent break of NFS connection?

First of all I am new in this forum and not a native English speaker. Out of this any help and patience would be appreciated ;-) I have an Ubuntu server and a Linux Mint client. For Backup reasons ...
0
votes
0answers
17 views

I can't put icons on Ubuntu 16.04 gnome-fallback desktop

I am running Ubuntu 16.04 Gnome, but using Gnome-fallback (metacity). I can't drag and drop icons from the application pull-down menu, but when I copied my backup from my external hard drive, which ...
0
votes
1answer
27 views

Proper samba config/share permissions

What is the proper permissions that should be set in the smb.conf and applied on the directory & files? The reason I ask is I have set force user = nobody in smb.conf on my shares, with the file &...
2
votes
0answers
17 views

Weblink redirection to site from pdf

While opening a PDF in evince and click any web link on that PDF it is not redirecting to the site on UBUNTU 12.04. My default browser is google chrome. I have updated it recently. In terminal a error ...
10
votes
7answers
81k views

Change XAMPP's htdocs web root folder to another one

I'm trying to change the XAMPP's web root default directory /opt/lampp/htocs to another one like /home/me/Dropbox/public_html without success. I've edited the file /opt/lampp/etc/httpd.conf # old ...
0
votes
1answer
20 views

How to give permissions to user www-data (apache+php) to access media/user/sd card slot?

I have a php script that runs from apache2 call that needs to read files in a SD card. The SD card appears mounted in /media/user/name of SD card partition. I tried to read this answer Default file ...
4
votes
1answer
51 views

What is the danger of running untrusted softwares as a normal user

Sometimes I have to use some propriety softwares which I don't trust in them and in their behavior. Lets say we installed a propriety software in /opt/software, then we run it as a normal user (...
0
votes
0answers
13 views

Installing postfix as non root user

I need to install postfix as a non-root user (no privileges to change user/group/owner). So far I have come across tutorials and documentation that assumes you are root or have the ability to install ...
-1
votes
1answer
33 views

how to give a user permission in samba share?

i have created a samba server as following [global] workgroup = workgroup server string= samba server %v dns proxy = no netbios name = nas map to guest = bad user security = user [rc] comment=...
2
votes
1answer
22 views

gksudo pcmanfm alone or with gksudo leafpad?

If I open pcmanfm using the gksudo command this lets me manipulate files and directories safely. But what if I want to open and modify a text file in one of those directories? Will the gksudo ...
0
votes
4answers
7k views

MySQL not starting in Xampp

I am using Ubuntu 14.04 and Xampp 5.6.3-0. I cannot get the MySQL server to run. I have tried executing these commands so far (run in this order): sudo chmod 755 /opt/lampp/etc/my.cnf sudo chmod -R ...
1
vote
2answers
92 views

Sudo is not asking for password on Ubuntu 16.04

Ever since I update to 16.04 I notice whenever I use any sudo command the terminal does not ask me the password before executing the command,The command is directly executed.I am the admin and I have ...
0
votes
1answer
39 views

You don't have permisission necessary to save the file,PHP Apache [duplicate]

I just installed LAMP server, which works fine. But when I code a PHP script and try to save it in /var/www/html, it says: You don't have permisission necessary to save the file Help me! How do I ...
0
votes
0answers
46 views

Can't access some files (NTFS), permission denied (not even with sudo)

Got a screwed up Surface Pro 2 and any recovery attempt on the Windows 10 installation has failed. So to save all the files I booted up the device with 16.04 LTS Live USB. The filesystem mounts ...
-1
votes
1answer
53 views

I have this error whenever i try to install something “unable to lock the administration directory (/var/lib/dpkg/) are you root”!

I am about to install the apache web server. I am getting the error whenever I run apt-get install: unable to lock the administration directory (`/var/lib/dpkg/`) are you root I tried with sudo apt-...
0
votes
1answer
72 views

How to access ubuntu server 16.04 sever's files from windows 10 PC?

I recently installed ubuntu 16.04 on a machine I built, hoping that it'd serve my home for file sharing, media server and probably for VPN. I have installed Samba and the LAMP server. I also have ...
0
votes
0answers
43 views

Ubuntu Server unable to create directory in PHP

I have setup a little Ubuntu Server for developing some web apps. I have a little script that uses mkdir() to create a directory, but i am getting a permission denied, its a simple command mkdir($...
0
votes
0answers
20 views

Cannot change directory at /home as root user (Permission denied) [closed]

I am using GNUroot debian ( an android app ) and after many attempts to connect with ssh to my server i now have no access with cd at my /home folder as a root user. I can run ls /home but i cannot ...
0
votes
2answers
965 views

Please settle a Sticky (bit) argument

I got into a good-natured spat with a fellow worker about the nature of the sticky bit. My contention, working from the chmod man page was the the sticky bit, if set, allows only the owner to delete ...
1
vote
1answer
36 views

Why do mount, ping and su have a sticky bit set?

In /bin most binaries don't have a sticky bit set except for: fusermout, mount, umount, ping, ping6 and su. Why are these ones not supposed to be deleted or renamed? Is it because they are used in ...
-2
votes
1answer
33 views

chmod not assigning permissions properly?

We are testing osTicket which is an open source ticketing system and have set everything up, but when we try to connect to the page we get blank results with the following error logs: [:error] [pid ...
6
votes
2answers
22k views

How to automatically mount a folder and change ownership from root in virtualbox

It is my first time using virtualbox and ubuntu (14.04), I am on a host Windows 7 OS. I am trying to mount a shared folder that has files I need to access both in the virtualbox and on the windows OS....
0
votes
0answers
22 views

What privileges should I give to a user who can access my SFTP but only reads them

I have a current root user which is able to do, well ROOT privileges on my SFTP running on Ubuntu LTS 12.04. I'm planning on adding a new user that can only read a specific directory inside my sftp. ...
0
votes
1answer
52 views

How to run as root on a Raspberry Pi?

I just got a raspberry pi and got an image from school where we had to change the IP address to something else, by mistake instead of having auto lo in my /etc/network/interfaces file, I have 4auto lo....
2
votes
2answers
94 views

Can't log in: Upgraded to Ubuntu 16.04 invalidated my public ssh-keys, changed to PasswordAuthentication no and now I can't get back in

I upgraded my remote server to Ubuntu 16.04 (from 14.10). Then I reconfigured it to only use keys and not passwords. Did that by editing the /etc/ssh/sshd_config file where I changed to the following:...
0
votes
0answers
7 views

Understanding Ruby Setup with bundler “bundle install” as non root

I received a ruby source code + dependencies and db. The code is about 3 years old and running on an 12.04 Ubuntu. Now I am trying to make a fresh setup on 14.04. I installed a lamp stack and wanted ...
1
vote
2answers
3k views

How to overcome “Permission denied” running C program even after “chmod +x”?

After compiling a C program on Ubuntu 10.10, after executing chmod +x ./a.out, I am still getting bash: ./a.out: Permission denied. How can I run my new executable?
0
votes
1answer
16 views

SAMBA on exFAT partition, can't have write permissions

I have an exFAT external disk, and I want to share its contents via Samba. Everything works for for READING, but for writting I get a message saying I have no permissions. This is my smb.conf [...
0
votes
1answer
32 views

Unable to run mksdcard SDK tool ubuntu 16, 2016

Followed How to install Android Studio on Ubuntu? to install android studio. But get error (hardware : aspire e15 E5-573G): Downloading android-sdk_r22.6.2-linux.tgz from https://dl.google.com/...
7
votes
0answers
64 views

How to make /sbin/shutdown, /sbin/reboot etc. require sudo again in 16.04?

For whatever reason, we do no longer need to be root (or using sudo) to run /sbin/shutdown, /sbin/reboot etc. This seems to be because those executables are now symlinks to /bin/systemctl which ...
3
votes
0answers
44 views

Script on reboot

So, I programmed a simple script to alert on slack whenever the server is rebooted. What I did: In /etc/rc6.d/R99reboot-slack: (I tried with R01reboot-slack) #!/bin/sh /scr/msg.sh "Server restarting.....
-4
votes
1answer
72 views

permission denied target 'xyz' is not a directory [closed]

Please help with this question : Create a new user called hos with password 123. In the home directory of this user, create a file called xyz, containing a list of all files and directories from /etc ...
4
votes
1answer
3k views

Why does chmod 644 make directories inaccessible?

I have a bunch of media files (that only need to be 644) that were a mix of various permissions. Some were group or global writable so I thought, just to be safe, I'll chmod them all back to 644. The ...
1
vote
0answers
30 views

Programs that require su permission dont work unless ran as sudo

I'm running Ubuntu MATE 16.04 with openbox as my DE. The programs that require the sudo password get weird errors when i try to run the action that needs it. For instance if i try to install a program ...