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

learn more… | top users | synonyms (2)

0
votes
1answer
2k views

I deleted my original user account. The new account has no password. How can I enable it? [duplicate]

Possible Duplicate: How do I add myself back as a sudo user? How can enable my admin account? i deleted the other one and now the new one is without password and i cant access it and cant ...
15
votes
9answers
19k views

How to run an Application as another user?

I use krusader for file management stuff. the problem is that apache's DocumentRoot should be under chown www-data:www-data /path/to/www. so using krusader (which is run under my account) I've not ...
11
votes
2answers
25k views

Minecraft jar not marked as executable

I looked up several tutorials on how to install and they dont work. I do everything correctly but then i get this: The file '/home/mike/Downloads/minecraft.jar' is not marked as executable. ...
10
votes
1answer
2k views

Why use sticky bit?

"The sticky bit applies only to directories, and is typically used on publicly-writeable directories. Within a directory upon which the sticky bit is applied, users are prevented from deleting or ...
5
votes
2answers
7k 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 ...
5
votes
3answers
5k views

Accessing files in a directory without x-permission?

I am having a bit of trouble understanding what the execute permission means for directories. Do I understand it correctly that anything in a directory for which a user does not have x-rights is ...
4
votes
2answers
22k 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 ...
4
votes
1answer
2k views

Access NTFS partitions without providing root password?

I have Ubuntu and Windows Vista installed on the same disk, different partitions. I can access the Windows data, but each (first) time I access the NTFS partition, the system asks me for root ...
3
votes
3answers
9k views

Cannot start Webex session. Java permission issue?

My fingers got ahead of me today and I managed to disable Java for Webex on my machine. (Install details: Ubuntu 12.04 32bit, Chrome 32.0.1700.77, Java v7, update 51, Webex working fine for a year ...
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
15k 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
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
139 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
2answers
5k views

How to setup virtual users for vsftpd with access to a specific sub directory?

I need to be able to add a virtual users to vsftpd that only have access to a sub folder. The reason why I want to use virtual users is I only want to have 1 real user on the server. The FTP ...
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
4k 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
7k 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
956 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
13k 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
529 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
577 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
2answers
8k 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. ...
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
379 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
334 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
1answer
8k 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
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
3k 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
15k 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
708 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 ...
3
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 ...
2
votes
1answer
496 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?
2
votes
1answer
447 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
6k 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
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 ...
1
vote
2answers
63 views

Home folders accessible to other users and should not be, how to fix?

Why are my home folders accessible by other users on the same system by default? I understand that I can change the permission of the home folders but want to know why this happened? I have done ...
1
vote
2answers
84 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
2k 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
5k 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
1answer
135 views

Are my permissions correct for sharing files with Windows?

I have Kubuntu 12.04.01 installed on partition /dev/sdb2 of my dual boot Computer. /sda1 carries Windows XP, XP Program files and some data files. /sda2 and /sdb1 carry more data, music and pictures, ...
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
379 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
4k 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
113 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
77 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
71 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 ...