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

learn more… | top users | synonyms (2)

1
vote
1answer
15 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
5 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
27 views

/etc/dpkg/dpkg.cfg.d/multiarch: Permission denied

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
44 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
16 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
4answers
30 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
16 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
28 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
13 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
12 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
18 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
50 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
32 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
89 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
37 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
45 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
52 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
69 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) [on hold]

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
21 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
13 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
27 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
62 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 ...
1
vote
0answers
32 views

Move completed torrents to smb-share - permission issue

New to the forum. Hope this will be a great experience! :) First off, I'm not any good at Linux but I use it on my home server and several virtual machines because of the cost of M$ licenses. So, I ...
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
71 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 ...
4
votes
2answers
412 views

Making a folder need root permanently

I want to make a directory need root to access. I tried chmod 000 /path/to/directory And it works but the change is easily revertable. How do i make it permambent?
0
votes
1answer
46 views

Linux restrict user to specific folder in var/www

My apache root /var/www/html/ contains the following folders. myapp test testapp I want to create a new user to access only testapp folder (read/write). Other folders shouldn't be read. I created ...
0
votes
2answers
4k views

User access to FTP and at same time set www-data as owner/group

In order for wordpress to read/write the owner of the files/folders need to be www-data. Now the problem is that if the owner is www-data of group filetransfer (www-data:filetransfer) then the FTP ...
1
vote
1answer
4k views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...