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

learn more… | top users | synonyms (2)

58
votes
6answers
86k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
51
votes
8answers
43k views

How do I use 'chmod' on an NTFS (or FAT32) partition?

I have a script that I need to execute on an NTFS partition. The script's permission is set to 600. I attempted to modify the permissions by running chmod 755 script.sh, which doesn't report a ...
22
votes
3answers
12k views

How do I add myself back as a sudo user?

I clean-installed Ubuntu 11.10 today, and then installed VirtualBox. This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a ...
24
votes
3answers
182k views

How do I install .run files?

My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like NVidia graphics, motherboard etc. Shall I install them in Ubuntu too? I looked on the web for my Nvidia ...
56
votes
5answers
54k views

How do I change my username?

Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory) without ...
22
votes
8answers
57k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
38
votes
2answers
15k views

Why shouldn't /var/www have chmod 777

When developing a page on a localhost, I sometimes get a "Permission denied" error which I can solve by running chmod -R 777 /var/www. However, people are telling me that this is a bad idea for ...
12
votes
4answers
4k views

What if I accidently 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 ...
60
votes
6answers
301k views

Change folder permissions and ownership

I would like the user to have full rights on this folder (as well as all sub-directories and files in it): ~/.blabla currently owned by root. I have found numerous posts (in this forum and ...
17
votes
6answers
2k views

Under what license is Ubuntu? Can it be legally modified and distributed?

What license does Ubuntu fall into (GPL, MIT, a mix)? Would it be legal to modify it and redistribute my modified version?
12
votes
1answer
29k views

Correct way of mounting a Windows share

I mounted a Windows share to my Ubuntu 11.10 system via adding the following line to the /etc/fstab: //serveraddr/sharedfolder /mnt/foldername/ smbfs credentials=/home/myname/.smbpasswd 0 0 using ...
17
votes
3answers
3k views

How do file permissions work?

Can you explain briefly the main concepts and command line tools used to manage file permissions?
8
votes
3answers
10k views

How to fix sudo after “chmod -R 777 /usr/bin”?

I enetered chmod -R 777 /usr/bin and now sudo is not working. It is giving error that sudo must be setuid root. On looking via Google, some advice said to run chown root:root /usr/bin/sudo chmod ...
33
votes
2answers
32k views

What is “umask” and how does it work?

I believe that umask is something that controls file permissions, but do not fully understand it. After running umask 0644 in a terminal, I cannot read the files I create with the command-line text ...
11
votes
3answers
6k views

.exe file permission fail

I'm trying to run a exe file that is located on my Vista partition, when I browse to the file and try to change the file to run as executable the tick box unticks itself right after i tick it, i tried ...
2
votes
1answer
9k views

How to change permissions to the other drives in a hard disk?

I have dual booted with XP and Ubuntu 11.04. Later I formatted Ubuntu partition with 11.10 now I have three drives one for XP other for UBUNTU and other for data when I log in into UBUNTU I am unable ...
40
votes
4answers
13k views

What is the difference between the 'sudo' and 'admin' group?

I noticed that two groups are granted similar-looking permissions in /etc/sudoers: # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute ...
7
votes
4answers
51k views

How do I install MATLAB R2012a?

I have downloaded MATLAB R2012a for Unix platform and i want to install it on my ubuntu 11.10. To install i try this command: /<matlab_installation_file_directory>/install and it says: ...
3
votes
1answer
405 views

How can I share a directory with an another user?

I don't want the shared folder to be accessible by anyone on the system, I want it to be accessible just to a restricted set of users. How to I do that?
3
votes
2answers
926 views

General Rules for dealing with File Permissions

I have run into a ton of file permission issues in Ubuntu, from not having permission to delete a file, change the contents of a while, and so on. I was wondering if some of you Ubuntu experts could ...
9
votes
3answers
35k views

Permissions issue: how can Apache access files in my Home directory?

I know file permissions have been covered on here before, but im struggling to get my head around the concept for my scenario. I created the files on an old ubuntu installation. Ive copied the ...
14
votes
4answers
25k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
13
votes
5answers
9k views

Why can other users see the files in my home folder?

I just added a new, underprivileged "desktop user," and I was surprised to discover that it can see the files in my home folder. What is the rational for setting up such lax permissions?
8
votes
4answers
70k views

How do I set read/write permissions my hard drives?

I've recently installed Ubuntu 11.10 on my laptop, but I can't do anything with my 1.5TB external drive, and my 500GB because I don't have write permission. Are there any specific commands I can use ...
4
votes
1answer
612 views

How do I set up local Joomla sites for web developing?

I plan to develop multiple websites using Joomla. I'm using Ubuntu Desktop, and only need to access the sites and configuration files locally, while logged in to my user account. Previously I tried ...
5
votes
3answers
25k views

“You are not the owner…” message when trying to access folder

In the properties menu of this folder the permission is set to "root" user and group, it shows the message "you are not the owner, so you cannot change these permissions." I am indeed the owner and ...
5
votes
1answer
3k views

What does this startup dialog message mean “Could not update ICEauthority file”

I restarted Ubuntu a few minutes ago, and got a warning dialog early in the bootup process (before the desktop was up)... It wasn't just a scrolling message which flitted off the screen of its own ...
45
votes
3answers
36k views

How can I get octal file permissions from command line?

There is a chmod command to set file permissions, but can I get file permissions in octal mode (such as 755) from the command line?
6
votes
4answers
24k views

Correct permissions for /var/www and wordpress

Hello and thank you in advance! I am relatively new to ubuntu, so please excuse the newbie-ness of this question... I have set up a LAMP server (ubuntu server 11.10) and I have access via SSH and to ...
11
votes
5answers
15k views

Apache symlinked to home directory - Permission Errors

im having a few problems symlinking my /var/www/ to a new Webroot directory inside my home folder. I think these stem from my lack of understanding of linux permissions. As far as im aware, symlinks ...
8
votes
2answers
11k views

Why does Ubuntu refuse to execute files from an NTFS partition?

I mount an NTFS partition (where I've got some Linux binaries and scripts alongside with Win32 and data files) with the following fstab line: /dev/sda5 /mnt/dat ntfs-3g ...
6
votes
2answers
2k views

How can I execute a file without execute permissions?

How can I execute a file without giving myself execute permissions (with chmod u+x) for it? If I try and tick the 'Allow executing file as program' checkmark, the checkmark is immediately removed.
10
votes
3answers
8k views

iOS 7 Locked Bug via Ubuntu 13.10

I wanted to bring up an issue with the latest Ubuntu release that I hope can be solved. Although I will agree with the community that iOS 7 is not the most open platform release, it still is my desire ...
1
vote
2answers
5k views

Any way of maintaining permissions when using NTFS mounted drive in Ubuntu?

In my web development work, I use Ubuntu almost exclusively. But there are occasions where I need to boot up Windows -- to check a layout in IE, to reslice a comp in Photoshop -- and I want to be able ...
0
votes
3answers
878 views

How can I get root-like permissions so I can download stuff from the software center?

When downloading an application from the terminal it said I couldn't download it because I wasn't root, and when I got to search for the specific software in the Ubuntu software center it doesn't even ...
3
votes
2answers
21k views

Changing file permissions on USB external hard drive [duplicate]

I am using an external USB hard drive for a long time in Ubuntu 10.04, both at work and at home. Now I've installed 12.04 at home. Today I used the USB drive for the first time. I can read the disk ...
3
votes
2answers
6k views

How can I restrict program access to other users?

I'm setting up a new user account, and I want to allow access to only certain programs for just that account. How would I go around doing that?
1
vote
4answers
3k views

How to change permission external hard drive in ubuntu 12.04

I want to copy any file to my external hard drive. But always when I tried to do this I have next output: cp: cannot create regular file /media/NameOfCard/[file]' : Read only file system I also ...
15
votes
4answers
14k views

How to make Apache run as current user

I think for a development machine, its more convenient to run Apache as the current user to simplify permissions problem? How do I do that? I think its suexec but how do I configure it in ...
7
votes
1answer
13k views

How do I set executable permissions on a removable drive?

I'm using Ubuntu 10.10 and using a usb drive but I'm finding that I can't chmod any programs on the drive to +x. It is being auto-mounted by Gnome (using udev, I think?) so I imagine the problem is a ...
12
votes
2answers
1k views

Is it a bad idea to run SELinux and AppArmor at the same time?

My corporate policy says that Linux boxes must be secured with SELinux (so that a security auditor can check the 'yes, we're extremely secure!' checkbox for each server). I had hoped to take ...
12
votes
4answers
34k views

How can I change permissions on external drives?

I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me. I ran ...
6
votes
3answers
24k views

Default file permissions for php user www-data

I have a php installed on my ubuntu machine. The web root is /var/www I set the permissions for this folder like so: sudo chown -R ftpuser:www-data /var/www ftpuser is the user I set up so I ...
11
votes
4answers
2k views

Hide 'Your profile could not be opened correctly'

I have a small public internet cafe, with Ubuntu 10.04 and 10.10. I'm using Google Chrome 7.0.517.44 (64615), with AutoScroll - Version: 2.7.5; AdBlock is removed because of high CPU loads, and ...
7
votes
1answer
1k views

How to make a directory with permanent permissions different from default

I have system-wide default permissions set with umask 027. I am in the need to make a directory whose sub-directories would need 775 permission and whose files would need 664 permissions and make ...
10
votes
4answers
7k views

How can I run an executable from a CD when it doesn't have the executable bit set?

A textbook I'm using came with a CD containing a few supplementary applications. To my pleasant surprise, it appears to include an installer for Linux. The readme file on the CD provides the ...
9
votes
8answers
18k 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 ...
2
votes
2answers
22k views

I cant get samba to set proper permissions on created directories

I have a ubuntu server sharing some folders using samba. When a client creates a new folder or file, the permissions aren't set according to the settings in smb.conf. My current settings for a ...
1
vote
1answer
2k views

How to change owner and permissions of a folder in desktop

The problem is that the folder directory is /home/marek/Desktop/Tekkitserver/3.1.1 and root has all but 5 file ownership and permissions what are inside it. It all happened after I launched tekkit ...
3
votes
1answer
3k views

How to change files permissions from a different hard drive?

I installed yesterday ubuntu 11.10 on my 80GB hard drive and i can't change files permissions on my second hard drive. How to fix this? ps: i have dual-boot with win7 mount: /dev/sda5 on / type ...