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

learn more… | top users | synonyms (2)

10
votes
9answers
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/...
1
vote
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 ...
0
votes
2answers
128 views

How to share wineprefix?

I want to share a wineprefix between two users on my computer, so that both of them could run Windows programs installed in there. To do so, i moved wineprefix in /usr/share, created a common group ...
9
votes
4answers
44k views

How can I become the owner of a file/folder that root owns?

I had a bad habit of storing my wallpapers in /usr/share/backgrounds, and decided to move them all into Pictures. Well, the problem is that most of them are now read-only since they are owned by root. ...
0
votes
0answers
6 views

Ubuntu server 16.04 User process - hidepip by default?

I have installed ubuntu server 16.04 and looks like that I have a new behavior that I haven't in previous ubuntu versions, now the new system users can't see other users running processes, is this a ...
0
votes
0answers
13 views

Permission error

I recently installed Ubuntu 14.04 on my laptop. I installed a program called Openquake that I want to use. When I run the program from terminal, these lines printed on my screen: reza@reza-Inspiron-...
7
votes
3answers
30k views

permission denied: /etc/apt/sources.list

I'm trying to install java jre, i usually do it like this sudo echo 'deb http://www.duinsoft.nl/pkg debs all' >> /etc/apt/sources.list sudo apt-key adv --keyserver keys.gnupg.net --recv-keys ...
2
votes
0answers
13 views

at command in ubuntu error 'You do not have permission to use at'

Apologize in advance, I am pretty new at php and ubuntu. I have 2 servers set up, one for development and one for staging. On the dev machine I can use the at command without a problem, but on staging ...
0
votes
0answers
33 views

How to run Visual Studio Code as root

I recently installed Visual Studio Code editor. I downloaded the 32bit .deb package. Installed and run normally, but when i tried to save a file in my project folder, it returns permission denied. So, ...
0
votes
1answer
17 views

Need help with error after setting permission to save anything in var/www/html?

I have found this answer to my problem sudo adduser <username> www-data sudo chown -R www-data:www-data /var/www sudo chmod -R g+rwX /var/www But I have this issue, what should i do now??? ...
0
votes
0answers
26 views

Ubuntu and squid first world problems

Due to circumstances I won't get into, I have had to reinstall my squid box. I'm sure I've followed the same Ubuntu guide to set it up again (https://help.ubuntu.com/lts/serverguide/squid.html). ...
0
votes
0answers
6 views

cap_immutable and coreutils

somehow somewhere this got deleted and it is a viable question, so Im going to ask it again. CAP_IMMUTABLE is a coreutils flag that removes explicitly permissions given to root in such a way to ...
0
votes
1answer
21 views

VSFTPD file permission help for a newbie

I'm putting together a VPS to host a game server for me and a few friends that is running Ubuntu 16.04 server edition. Right now I'm trying to configure VSFTPD to allow us to upload any files we need ...
0
votes
1answer
385 views

Failed to SFTP connection

I want to configure user ftpuser to sftp for an existing apache owned directory /var/www/webiste I added it as new user and made /var/www/webiste its home directory, useradd -md /var/www/website -s /...
1
vote
1answer
26 views

Ubuntu won't boot without external hard drive connected

I am dual booting ubuntu and windows 10 on my laptop. I recently installed the plex server and followed the instructions on this link to fix a permissions issues I was having. Now however, ubuntu will ...
0
votes
0answers
14 views

Nextcloud data folder on windows share permission issues

I have a windows share mounted on my ubuntu 16.04.1 LTS server and I want to have my data folder on the mounted windows share. everything is configured and working EXCEPT nextcloud needs to have the ...
0
votes
0answers
24 views

Error “Can't drop privileges” when trying to download zsh

I am trying to download zsh onto my Ubuntu server but I'm receiving this message of permission denied: ~# apt-get download zsh Get:1 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 zsh amd64 5....
3
votes
3answers
128 views

chmod 777 on a home network

I decided to make my home server an Ubuntu Desktop machine. After searching online, I installed Samba and connected my other Windows pc with my Ubuntu desktop. When I shared files from the server to ...
0
votes
1answer
17 views

How to encrypt file or blocking access to file and only execute apache?

My operating system is ubuntu server 14.04. I want to encrypt /var/www folder. I've tried for blocking access to file with chown -R www-data /var/www and chmod 700 commands. Any unix user can not open ...
6
votes
0answers
33 views

When should I use pkexec and when sudo -i?

I wrote an answer advising the use of sudo -i nautilus. I know that gksu is deprecated, and I was under the impression that sudo -i is how we should run graphical applications as root without killing ...
0
votes
0answers
10 views

Tomcat7 Doesn't Have Permission to Download File

I have a Struts2 application that is running on a Tomcat7 server on an Ubuntu 12.04 server. I've asked this question on Stack Overflow and was asked to move it here where this question is more ...
1
vote
0answers
38 views
+50

When I run the debugger: “failed to set controlling terminal”

I know that this is a question that was asked, however it didn't resolve my problem. In a book I read, the CPU's author was 32-bit. Mine is 64-bit. I run the NASM assembler in the terminal with: ...
1
vote
2answers
40 views

Is `sudo pip install` still a broken practice?

I'm new to Ubuntu, so please bear with me. I installed pip using this command: sudo apt-get -y install python-pip. Then I installed NLTK using the command on their website, which was: sudo pip install ...
1
vote
3answers
776 views

“cannot open file userpref.blend@ for writing: Permission denied” in blender

I'm using blender 2.69, installed via software centre, and when I save my user preference through File -> User Preferences and click on "Save User Settings" there is a message "cannot open file /home/...
2
votes
1answer
75 views

Creating files when “sudoed” messes up permissions and users

I have some trouble installing some packages I compiled from source. Everything seems to work fine, until I try to actually use the files installed in a global place. It turns out the permisions and ...
2
votes
1answer
30 views

autofs fails with directories cross-mounted on server until root accesses them

When I try to access a directory which is cross-mounted on the nfs server, the result is an "Operation not permitted" error unless root has accessed the directory recently. If the directory is not ...
0
votes
1answer
13 views

403 Forbidden on virtual host with mod_rewrite

I managed to install virtual host on LAMP server and created the config file /etc/apache2/sites-available/site.com.conf <Directory /home/ihab/Workspace/Webdev/site.com/public_html> ...
0
votes
2answers
42 views

Insufficient permissions to execute files with root access

Recently I had some system problems with Ubuntu, so I reinstalled the system. I have two hard drives, one is used for the system and the other one for files, movies, etc. Before the reinstall I moved ...
4
votes
7answers
2k views

can't login as mysql user root from normal user account in ubuntu 16.04

I just installed Ubuntu 16.04 LTS along with the packages php, mariadb and nginx. I ran mysql_secure_installation and changed the root password. Now when I try to login to mysql using the root ...
1
vote
1answer
4k views

Permission problem with files created by Deluge when one fstab entry was removed

Recently my second hard disk, sdb1, broke on my Ubuntu server, it was mounted as multimedia in /home/user/multimedia and Deluge is downloading my torrents to this directory. When sdb1 disk died, I ...
0
votes
1answer
12 views

No read/write premisions on new folders (samba)

i have a share using samba called share, if i do Chmod +R 777 folder/* the files already in the folder get the rights but if i copy folders from my other PC using the samba share i get a no rights ...
1
vote
1answer
30 views

You do not have the permissions necessary to view the contents of “HDD”

So I was recently doing an Arch install and ended up formatting my HDD in the process with fdisk. I gave up on Arch and reinstalled Ubuntu 14.04. Now whenever I try and open my HDD in Nautilus I get ...
1
vote
2answers
72 views

Unable to start mysql , if provided data directory exist on ntfs file stystem

sudo mysqld --debug 2016-06-06 11:02:35 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name ...
0
votes
1answer
46 views
+50

How to make external drive accessible to a user e.g. webservers user

I have a program which creates some log directories using root next to the directory the user has given as argument to the script. I later chown them to my webservers user. The problem is if all ...
26
votes
6answers
13k views

What if I accidentally run command “chmod -R” on system directories (/, /etc, …)

I accidently ran sudo chmod 755 -R / instead of sudo chmod 755 -R ./ I stopped it after few seconds, but now there is some problems such as sudo: must be setuid root How can I revert ...
3
votes
2answers
22 views

Creating disk images as a normal user

I want to be able to run the following script as normal user (as root it runs fine): #!/bin/sh dd if=/dev/zero bs=8192 count=128 of=disk.img mkfs -t ext2 -F disk.img losetup /dev/loop0 disk.img ...
0
votes
0answers
7 views

Permission denied due to file access restriction logs

When a user tries to perform an operation on a file not allowed due to the file's permissions, is this event logged somewhere in Ubuntu?
2
votes
2answers
4k views

Permission denied while writing a file in var/www inspite of adding me to user group

I gave permissions to read and write files in /var/www to the working user(me) through the steps given in Whats the simplest way to edit and add files to “/var/www”?. It works fine when I try to ...
0
votes
1answer
21 views

Any created file on mounted NFS has permissions Nobody

Been grappling with this for a few days and need some help, GOOGLE'in around hasnt yielded anything that worked as of yet. So here is the situation (apologies if I miss anything): -There is a main ...
0
votes
2answers
201 views

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

I am fully aware this question was asked countless times, but no solution mentioned before worked for my case. My config: $ cat /etc/vsftpd-anon.conf listen=YES local_enable=NO anonymous_enable=YES ...
10
votes
2answers
182 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 ...
0
votes
0answers
27 views

Granting write permission on www-data for /var/www/[username] [duplicate]

I am new to this www-data concept, please do explain in simple words. I have a directory in the path /var/www/orbitcode. I want orbitcode to have www-data write permission. How to do this? I am ...
1
vote
1answer
299 views

777 Permissions not working NTFS FSTAB

I am adding an external drive to my owncloud server. The drive needs to have permissions for the PHP program (www-data). The drive in question is a NTFS at 777 with the owner as me and the user group ...
0
votes
2answers
26 views

How I can copy a src code from my computer to the remote computer

I am beginner in linux and I don't know many details about it. I am trying to copy a folder from my computer to remote computer to install it in the remote computer and work with it. how I can do that....
0
votes
3answers
138 views

NTFS Disk mounting

How I can mount windows NTFS drive? I am double clicking on drive icon. But showing no permission.
6
votes
5answers
36k views

Permissions for Video folder for minidlna?

I have a secondary hard drive that is mounted as /media/Media and I would like to user a folder called Videos located on that drive that I would like to share the videos located on this folder out via ...
0
votes
1answer
30 views

Permission Denied updating grub as root

I bought a MSI laptop recently and I struggled to install Ubuntu. Now I have it installed and I have two problems. One of the is that I need to modify the grub file but when I try(update-grub) it ...
12
votes
2answers
4k views

.nano_history permissions error

I use rkhunter and I was wanting to check its logs with: nano /var/log/rkhunter.log But nano outputted this error: Error reading /home/arthur-dent/.nano_history: Permission denied Press Enter to ...
1
vote
1answer
87 views

Wrong permissions of /dev/null (XUbuntu 15.10)

After running update today and rebooting the OS lightdm would not start. After some debugging I noticed that /dev/null (and some other /dev files) do not have adequate permissions (compared to another ...
3
votes
0answers
30 views

how to move files from an encrypted home to a new one?

Yesterday I have recovered (not reinstalled) Ubuntu 16.04 in the same partition of my old home, so I created a new home with a different name, a new password and a new passphrase . I have lost all the ...