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

learn more… | top users | synonyms (2)

3
votes
2answers
6k views

Root Owns Home Directory, chown does not work

I am running Ubuntu 12.04 and having various problems. I have traced it back to the fact that my user's home directory (/home/user) is owned by root. The /home directory is actually mounted on ...
3
votes
1answer
2k views

How to access mounted file systems as a guest user?

In Ubuntu 11.04 I could mount a file system in /media/foo and run chown guest:guest /media/foo/bar -R and have full access in the guest account. After the upgrade to 12.04 I changed my routine to ...
3
votes
1answer
14k views

Apache gives 403 Forbidden

Server: Ubuntu 12.04 w/ LAMP I can access the default index.html, but I created a symbolic link to a folder in my Dropbox. Whenever I try to access 192.168.2.6/Joomla (Joomla is the symbolic link), I ...
3
votes
2answers
21k views

How do I get root access to hard drive from livecd?

ubuntu 11.10 has faffed up on me, It wont let me get passed the login-screen ( i have been searching around online the last two days and none of the proposed solutions worked) as at this point I dont ...
3
votes
2answers
6k views

File permissions: why can't I list a directory?

I am able to list directories in a root shell, root@ThinkPad:~# ll /media/ total 36 drwxr--r-- 6 root root 4096 2011-05-12 16:41 ./ drwxr-xr-x 22 root root 4096 2011-05-12 13:14 ../ drwxr-xr-x 5 ...
3
votes
1answer
137 views

Is there any way to make sure that any file created in a specific folder has a certain group as owner?

I know that you can set a directory up so specific groups have access to it, but is there any way to set it up so that any new files created in it automatically have a specific group as the group ...
2
votes
1answer
2k views

Unable to change execute permissions of .sh file [duplicate]

I'm out with a new problem. I've downloaded a jdk7.sh file. Now I'm unable to change the permission of the file to allow executing the file as a program. I mark the check box and again it disappears.
1
vote
3answers
3k views

How to reset default permissions for /etc?

By mistake I have made permission changes for /etc. Now it's giving me the following error message: bash: /etc/bash.bashrc: Permission denied I have no name!@chandan-Inspiron-5520:~$ sudo ...
1
vote
2answers
2k views

Ubuntu took away permissions from my Data partition

The pangolin has struck again. The bug of the day for today is Ubuntu taking away my permissions on my Data partition (NTFS). One moment everything worked fine, the next moment I couldn't chmod ...
1
vote
5answers
6k views

When I create an account without password, Ubuntu still asks for it!

That is the problem. When I create an account without password (Or disable the password on an account that has), when I try to install softwares or when I log out the account, it asks for password.. ...
0
votes
1answer
887 views

How to make /var/www/html same as my /var/tmp directory?

I am using one software, who can save files to /var/tmp but not in /var/www/*.*. I did applied chmod -R 777 /var/www. But still it can write to /var/tmp but not /var/www How can I resolve this? (I ...
-2
votes
1answer
9k views

What does 'chmod +x <filename>' and how do I use it? [closed]

I want to write a 'batch file', but I don't know how to use chmod +x <filename> command, nor where to use it.
7
votes
2answers
526 views

How can I stop banshee from downloading podcasts as 'read only'

When Banshee downloads podcasts to the 'Podcasts' folder, it marks that folder as read only. This is a problem when I want to sync them to my Android smartphone and I am unable to listen to them ...
6
votes
1answer
558 views

What are the risks of running Nautilus as root?

Whenever I try to access files outside my home directory I get a permission error. People keep recommending running Nautilus as root by running the following commands in a terminal: sudo -i nautilus ...
5
votes
1answer
3k views

How do I restrict users?

I'm using Ubuntu 10.04. I would like to create a new account, for other people using my computer. I would like my guest to have access to Internet, text editor and other application installed on my ...
4
votes
1answer
343 views

Lost privileges since upgrading to 13.10

Since upgrading to 13.10, I no longer have the 'privileges' to do the following things: Mount USB/CDROM drives Run software centre or software updater Press the GUI shut down or restart buttons ...
4
votes
1answer
330 views

Assigning different directory permission for each different groups

I am running Ubuntu 12.04 64bit server on ext4. There are four user groups - marketing, sales, admin and etc. I need to assign different permissions to /archive as follows: rw for the marketing ...
4
votes
2answers
7k views

What are the default file permissions for the home folder?

I have somehow inadvertently altered the file permissions of my home directory. I wish to change them back to the default permissions. However, I can´t seem to find out what the default is. ...
4
votes
1answer
7k views

problems with sudo permissions - /var/lib/sudo owned by uid

my system is a new 11.04 ubuntu and i recently started working with LAMP. some how, when i tried to change permissions of the var/www/ for netbeans to work on the local server, and did something that ...
3
votes
2answers
4k views

How to permanently change permissions for /dev/ttyS0

My system is Ubuntu 13.04 and works fine, but I had to installed VirtuaBox to guest Windows XP which is essential tu run an application that dialogues with an alarm set by a USB-to-Serial adapter. ...
3
votes
2answers
9k views

Mounted cifs share but no write permissions

Have reinstalled Ubuntu on my web dev server. On the old one I had an smbfs share setup to access a share over the local network to other Ubuntu boxes. It was setup using the following and worked fine ...
3
votes
1answer
2k 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 ...
3
votes
2answers
2k views

How to make files accessible only by root?

I'm using Ubuntu and I'm here to know is there any way to modify access of a specific application so that it can only root has access to it? Currently that application can be launched by general ...
3
votes
2answers
14k views

How to change xorg.conf file with permission?

I want to edit the /etc/X11/xorg.conf file but I can't save the file. It says "permission denied." How can I edit the file?
3
votes
1answer
691 views

Sudo permissions error

I am getting the following error: sudo: unable to resolve host XXX sudo: /etc/sudoers is mode 0666, should be 0440 Segmentation fault To start xampp, I typed sudo /opt/lampp/lampp start Please ...
2
votes
1answer
428 views

How can I change the permissions of a folder from create or delete to list files only on a NTFS partition?

I have many NTFS partitions on my PC. If I change the permissions of a folder on a NTFS partition from "create and delete files" to "list files only", its permissions will return to "create and ...
2
votes
3answers
5k views

Directory Permission Change Not Working

I'm sure I'm missing something quite basic here, but I'm running Ubuntu through Virtual Box on my Mac, and so I need to give my Ubuntu user read/write access to the folder shared by the host and guest ...
2
votes
1answer
2k views

Correcting /var permissions to it's original state

Ok I just royally screwed up my /var folder's permissions. I thought I was inside /var/www and did a chmod xxx ./* on the parent folder /var instead. Now all the permissions inside /var are messed ...
2
votes
1answer
1k views

Is it possible to reset all folder permissions?

I was wondering if it was possible to reset all the folders' rights. I was having trouble when trying to install LAMP on my Ubuntu 11.04 installation, and I modified many permissions like /var /etc ...
2
votes
2answers
11k views

403 Forbidden Error when accessing enabled virtual host

When accessing a site defined in my local dev environment, I can't seem to get past a 403 Forbidden error. Under /etc/apache2/sites-available/ I have defined a file fun.local: <VirtualHost ...
1
vote
2answers
62 views

access to USB drive broken after changing uid

Since changing my uid I no longer have the permissions to see a USB hardrive/stick that is automatically mounted at /media/USERNAME. Nautilus gives the message Unable to open a folder for ...
1
vote
1answer
1k views

Samba user and guest permissions

I have a folder in /var/www/html/ that people upload files to via PHP called store. store has the permissions rwxrwxr-- it is owned by the user josh and the www-data group. The store folder is also ...
1
vote
3answers
4k views

/etc/profile permission denied

I'm running an Ubuntu 12.04 LTS partition and I've recently have had issues logging in. From the GUI login screen, when I enter my username and password, it takes me right back to the login screen. ...
1
vote
2answers
3k views

FTP Changes file permisions

I am trying to make changes to my website over ftp but when I save any files it changes the permissions and owner to my username. I can edit files in the same folder trough samba without changing the ...
1
vote
4answers
368 views

Why does nothing work after I randomly changed some file permissions?

Ok so last night i was trying to set permissions to some folders in my File System, since apparently im not an admin on my own computer. And now everything got messed up today and i don't know what to ...
1
vote
1answer
3k views

Reading OSX disk from Ubuntu: Permission Denied

I have an OSX and Ubuntu dual-boot system. In Ubuntu, I would like to be able to mount and read the OSX partition. It is currently mounted in /media (this seems to have been done automatically). ...
1
vote
1answer
7k views

I accidentally made my file system read only. How can I change it back?

I accidentally locked my Ubuntu System. Now everything is read only. The closest i can remember which might have done this is, I was trying to change the authority of a fstab symllink with chown -h ...
1
vote
3answers
8k views

Error: svn: Can't create directory .svn': Permission denied

When I run: svn co http:://mysvnserver.com/trunk --username myuser I get error: svn: Can't create directory .svn': Permission denied (I set folder permission to 755 with : chmod -R 755 + ...
0
votes
1answer
89 views

Cant Create folder with full permission on ubuntu 14.04

I having a weird problem on my VPS with Ubuntu 14.04 as the server. I tried creating a directory with php mkdir using the code below <?php mkdir("/items/foldername", 0777, true); ?> ...
0
votes
2answers
63 views

How to change permission of a drive in an external hard disk?

I had an old laptop. When it got complaint I removed its hard drive and started using it as external hard disk. It has an 80 GB of memory allocation for the windows C drive partition. But now i don't ...
0
votes
1answer
43 views

Does ubuntu treat downloaded files specially?

There is a script which just adds extra lines to my /etc/hosts file to enable local development. Since it's pretty useful, I decided to keep it in a gist. When one of my friends downloaded the ...
0
votes
1answer
62 views

Repair filesystem permission

I accidentally executed sudo chmod -R 777 / I was actually trying to change a specific folder permission recursively, btw i did stop the command before it changed everything. But now, i can't ...
0
votes
1answer
396 views

Correct permissions for sudo LAMP /var/www directory

I am trying to set permissions with sudo 775 - R /var/www/ on all folders and all files in the www folder of lamp for sudo user. Is this the correct way to set up the system?
0
votes
1answer
110 views

Fixing var errors

Sorry for not being able to properly format my question because I'm using SE Android app, my xubuntu isn't working. I dont know what exactly is the error but I'll try to describe what happened and ...
0
votes
1answer
2k views

Default user-group owner for /var folder

Unfortunately I missed and suddenly change permission for whole /var folder content (chown -R www-data:www-data ../../, but I was inside /var/www_virthost/mydomain), what is wrong as I guess ;) But ...
0
votes
2answers
1k views

How to prevent standard users from accessing other file directory in ubuntu -12-04 desktop? [duplicate]

I need to prevent/restrict standard users from accessing directory like bin,boot,dev,etc,lib,media?
0
votes
2answers
4k views

File permissions in /var/www not changing

For some reason I can't change the file permissions of my var/www folder or anything else inside it. I've tried using gksu-nautilus to change the permissions but it doesn't work. When I open the ...
-1
votes
1answer
717 views

How create symbolik link /dev/usb/lp* and permission change to raw print? Xubuntu 14.04

i want use a symbolic link from usb printers but i can't write to this device: $ ls -l /dev/usb/lp* crw-rw---- 1 root lp 180, 0 jun 25 14:17 /dev/usb/lp0 crw-rw---- 1 root lp 180, 1 jun 25 14:17 ...
-1
votes
5answers
10k views

root folder access via gui

I'm new to linux and the terminal. As I learn how to use the terminal to navigate through directories, I like to use the gui file explorer to mirror my terminal navigation. The icons and file ...
30
votes
3answers
106k views

'chmod u+x' versus 'chmod +x'

What is the difference between chmod u+x and just chmod +x? I have seen a ton of tutorials that say to use u+x to make scripts executable. However, the u is not mentioned in the chmod help or ...