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

learn more… | top users | synonyms (2)

1
vote
1answer
274 views

Undoing permission change of my entire drive

For some stupid reason I excecuted sudo chmod -R 755 /. Now none of my software will run. Can I fix this without reinstalling? And if yes, how?
1
vote
1answer
10k views

Give access to a specific user to a specific folder within a group? [Terminal]

I have created a file, admin, that I want to assign to a group, admingroup, and later on give a specific user, adminuser, exclusive access to that file but I have no idea how.
1
vote
2answers
613 views

How to access and copy files from an old/other Ubuntu system's partition?

I'm getting permission denied when I try to access my old 10.04 partition. I'm trying to get into the home folder so that I can back up the data before I do a fresh install of 12.04. I know the ...
1
vote
0answers
578 views

Unable to access second hdd. ubuntu 12.04

This is the error i get when trying to write to my second hard drive. Error opening file '/media/hdd2/01 Queen - Keep Yourself Alive.mp3': Permission denied The hdd is mounting on start up. but i ...
1
vote
1answer
2k views

Help recovering broken OS (permissions issue)

(At the bottom there is an important update.) I was doing experiments in order to backup a remote account to my local system, Ubuntu 12.04 LTS. I'm not confident with duplicity and probably, due to ...
1
vote
1answer
889 views

How to change file permission from Ubuntu wubi install

I am new to Ubuntu and Linux. I have a WUBI installation within Windows 7. The issue I am having is that I can't seem to modify Windows files from Ubuntu. I can access and see all the files and ...
1
vote
2answers
2k views

Changing permissions on a drive owned by root

Just installed 12.04, then formatted an external 2 Tb drive for use. My next step would usually been to have logged in as root, changed the permissions to my admin user, then logged back out. . . but ...
1
vote
2answers
2k views

udev not updating usb permissions and group

I am using ubuntu 10.04 LTS - Locid Lynx. I have a requirement to set specific group and permissions for any usb stick file/directories on mount. I have tried overwriting the udev rules. Here is what ...
1
vote
1answer
603 views

How can I add file create read write and delete for a specific user?

Question: I need to give file create, read, write and delete access to /var/log for user bind only. How can I do that, short of allowing read and write and delete access for everybody ?
1
vote
2answers
641 views

If I create or modify any file or directory with sudo then I can only manipulate it with sudo

The general issue is that if I create or modify any file or directory with sudo then it seems that I'm unable to create and modify this file or directory further as any other user than sudo. The rest ...
1
vote
2answers
542 views

Installing ZFS changed my sudoers file

Following the wiki's advice, I installed ubuntu-zfs. However, once everything installed correctly, and I tried installing another application via apt-get, I get a weird issue with my sudoers file: ...
1
vote
1answer
2k views

Can't copy files [closed]

When I right click on a file or folder the cut/copy options grey out. I tried using: $ gksu nautilus But when I tried to change the file permissions it just reverted back. Some times it says Error ...
1
vote
2answers
841 views

Changing file permission in Ubuntu Live mode

How do I change the file permission of a file to 700 ? I am using Ubuntu Live CD. I tried sudo chmod 777 abc It does not change the permission and still shows: -rw-r--r-- 1 ubuntu ubuntu 18 ...
1
vote
3answers
1k views

Lost all permissions to my NTFS partition

I have lost "Write" permission for myself, and all other permissions for 'Others' and 'Group' on my important NTFS Partition(Contains all my Data). Any amount of Chmod(ing) or using the GUI to set it ...
1
vote
2answers
495 views

User Permissions

Is there any way with which, using shell scripts, I can execute a program as another user, in a uniquely(randomly) named directory, where the user has rwx access to all the files in that directory, ...
0
votes
1answer
57 views

Drop/Undo sudo privileges on .py file which runs inside a program which runs from sudo previleges

I need to run a program from sudo privileges and I am running .py file inside the program. So when my program runs from sudo then it automatically calls/runs the .py file with sudo. I am running file ...
0
votes
1answer
57 views

No systemd rc file?

With upstart, I used to have the permissions of some files set at boot time via a shell script in /etc/init.d/ (sym-linked, from /etc/rc2.d/): link="/sys/class/backlight/intel_backlight" chgrp ...
0
votes
1answer
146 views

How to setup apache2 virtualhosts on your home directory on ubuntu 14.04?

I am trying to setup my apache2 virtualhost to run applications from an apps directory on my home directory. home/myusername/apps/application1 Here are the steps there I am currently doing: 1) ...
0
votes
2answers
155 views

I can't run “sudo” on a certain command, because its not in the sudo path. How can I give the right permissions then?

I want to install some Python package using pip. I get a surprising error: error: could not create '/home/brian/anaconda/lib/python2.7/site-packages/PyDSTool': Permission denied ...
0
votes
0answers
123 views

sudo permission errors or “command not found” errors when working on a hybrid SSD/HDD setup? (specific example: MATLAB installer)

Since my SSD is small, I still relegate it to only holding the OS. So, during Ubuntu install, I created a 60 GB partition for / on my SSD, and a 500 GB partition for /home on my HDD. However, now I ...
0
votes
1answer
48 views

Can't open folder after giving it www-data group, how do I become owner?

I was running localhost (Apache 2.4.6) but only the index.php was openable in the web browser. The subdirectories were returning 403 Forbidden error. Now, I added the permissions according to this ...
0
votes
1answer
70 views

ACL permissions on Ubuntu Server 14.04.2 LTS

Hi as the owner of a file and directory I allowed the user TOM to have read permissions to the file : owner@hostname:~$ getfacl file1 user::rw- user::tom:r-- group::rw- mask::rw- other::r-- ...
0
votes
1answer
403 views

LAMP 403 forbidden access on custom folder

I know it is a common problem, and it is mainly a matter of permissions to the user www-data, but following this guide I got the classic error: 403 forbidden You don't have permission to access /web ...
0
votes
4answers
84 views

How to edit a file which is outside my own user folder with a Chrome(ium) app?

I'm using the LXDE desktop environment (trusty 14.04), the Chromium browser and the Text editor app. The problem When I edit a file under my username (/home/henrywright) everything works fine, but ...
0
votes
0answers
529 views

Why does system istallation fail on 32-bit Windows machine?

When trying to install the 32 bit desktop Windows version, installation is denied because a key file is already in use as per the ERROR LOG file, wubi-14.04-rev286.log. The relevant information is ...
0
votes
2answers
4k views

Ubuntu complains that I am not “Owner” when copying files to certain folders

I am trying to copy a folder into the user/share/themes folder on Ubuntu 14.04, and it's telling me I cannot do this because I am not "owner". So I right-clicked the usr/share/themes folder > ...
0
votes
1answer
2k views

Virtual Host in XAMPP (help)

İ want to create the Virtual Host in XAMPP. Thus I googled for it. and I did the same changes in my config files like as Virtual Host in XAMPP. But when I went http://localhost2 it say's me: ...
0
votes
1answer
15k views

Permission denied while i was installing ubuntu 14.04 by wubi

I have faced a problem when trying to install ubuntu 14.04 version on my windows 7 os by wubi. It say permission denied and refer to the specific folder on drive C (I make a directory of wubi and ISO ...
0
votes
1answer
6k views

sudo: unable to stat /etc/sudoers.d/README: No such file or directory

Whenever i use sudo command i get this message: sudo: unable to stat /etc/sudoers.d/README: No such file or directory i ran into this trouble when i was strugling with chmod using which i changed ...
0
votes
1answer
298 views

SSH “Permission Denied (Public Key)” Automatically re-occuring problem

I have a headless server with (until recently) working SSH and public key auth. I deactivated passwords and had a problem resembling the one in this thread, ie. upon SSH-ing into my server I get: ...
0
votes
2answers
7k views

sudo: must be setuid root

I get the file parmission on my folder, so I run the following command sudo chmod 777 -R /* and get some error line. then I try to login as root user by the following command sudo su get this ...
0
votes
1answer
467 views

Unremovable file on desktop 13.10

Howdy and many thanks in advance for your time. When first installing Ubuntu (13.04, now running 13.10 on an Acer Aspire One netbook) on this machine many months back I copied a folder from my old ...
0
votes
1answer
279 views

run a script as non-root user

I want to run a script say some_script.sh(that requires root permissions, contains some sudo do something in a for loop) as non-root user. I have a script as shown below. I want to run this script as ...
0
votes
1answer
175 views

Changed apache www folder

So I changed it from /var/www to /home/John/Dropbox/www and I also did chmod 755 /home/John/Dropbox/www but it still says You don't have permission to access / on this server. I forgot how to do ...
0
votes
1answer
833 views

How to give USB access to VirtualBox when non-root

I'm a member of vboxusers group. I installed the extension pack. When running VirtualBox as non-root, USB devices are visible but grayed-out. When running VirtualBox as root then it works fine. How ...
0
votes
1answer
128 views

Swap drive not turning on when I log in

Recently I added a new 40GB hard drive as swap. I want the swap to be enabled when the computer logs me in. I followed the directions here to make the swap command run on start up. I added ...
0
votes
1answer
133 views

Apache permissions

I have changed my DocumentRoot to ~/www. The permissions of it are 0774. I have added the www-data user to my user's group and the owner of ~/www is my own user and group (user:user). The problem is ...
0
votes
1answer
14k views

Change Folder & File Permissions for all Subdirectories

I created some files as root that I would now like to be changed to a specific user. How would I do this? I cannot go trough the files one by one as that'd just take way too much time. I would like to ...
0
votes
2answers
1k views

effective user id not changing when setting uid to root

I'm currently reading a book on programming with C, i got to a part where i got to write a program which will display the real uid and effective uid that the file is being executed on. After compiling ...
0
votes
1answer
394 views

How can I serve files via apache2 from an internal ntfs partition using fstab ntfs-3g?

I have apache2 setup and serving files successfully from locations such as: /var/www/example.com where ownership and permissions were set like this: sudo chown -R $USER:$USER /var/www/example.com ...
0
votes
2answers
546 views

How to let smb share mount via fstab assign full permission to new created file or directory?

How can we fstab mount a samba share that give permission 0777 (to every samba users in the write list) for new created directory or files? E.g. I created a new directory in client PC (Ubuntu 12.10), ...
0
votes
1answer
139 views

new file default execution permission? [duplicate]

I can't figure out why I don't have execution permissions on files I create by default. I don't think I messed with any Ubuntu permissions, it's pretty default stuff. When doing some research I found ...
0
votes
1answer
2k views

image from webserver is not shown in web browser

I am new ubuntu and recently I install 'xampp 1.8.1' on my ubuntu 12.10. My problem is that image from server can not be shown. My code is <div class="sideBlock unSung"> <h4>Unsung ...
0
votes
1answer
563 views

MyISAM problem after moving datadir of a MySQL database

I recently moved my MySQL database data directory from the default location /var/lib/mysql onto a new harddrive located in /media/..UID../mysql, following the steps you can find in several posts. ...
0
votes
1answer
1k views

Unable to make files executable (on ntfs filesystem mounted as rw)

I'm baffled. I've looked around for awhile on this but nobody seems to have quite the issue I do. I have an ntfs partition for all of my stuff, and I want to run some programs off of it. However, I ...
0
votes
1answer
251 views

How can I execute scripts as root without pointing to its location?

I tend to use sudo arp-scan --localnet --interface wlan0 a lot, but I find it cumbersome to type this each time. To speed things up, I've created a script, called arp-lw-scan, which should do this for ...
0
votes
2answers
2k views

No Read/Write Permission as User on a Secondary Drive

I have a 2nd hard drive that is used for data only, it has been formatted both in NTFS and FAT32, the system is dual booted with Windows so the Data drive is used to share data between Win and Ubuntu. ...
0
votes
1answer
611 views

How can I disable access to the File system for a specific user or group?

It is very important for what I am doing now.
0
votes
4answers
12k views

Permissions issue when trying to save file to /var/www [duplicate]

Possible Duplicate: How to avoid using sudo when working in /var/www? I have install PHP from this article on my ubuntu computer ...
0
votes
1answer
978 views

Ubuntu Partition Permissions

I have just one partition with all my data on it. I want to change it's permission to allow any user to change, create and delete files and to be able to do that through LiveCD. Also even after ...