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

learn more… | top users | synonyms (2)

27
votes
3answers
18k 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 ...
70
votes
6answers
117k 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 ...
65
votes
9answers
64k 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 ...
23
votes
9answers
79k 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 ...
79
votes
7answers
99k 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, and the name ...
41
votes
2answers
20k 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 ...
13
votes
4answers
6k 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 ...
89
votes
6answers
498k 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 ...
19
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?
8
votes
4answers
15k 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 ...
53
votes
2answers
59k 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 ...
18
votes
3answers
5k views

How do file permissions work?

Can you explain briefly the main concepts and command line tools used to manage file permissions?
14
votes
1answer
38k 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 ...
44
votes
3answers
38k views

How do I run wireshark, with root-privileges?

A standard installation of Wireshark doesn't give the program permission to access the network interface. I suppose I have to run the program with sudo, but do not know how to add it to the icon - ...
11
votes
3answers
8k 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 ...
3
votes
1answer
943 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?
2
votes
1answer
10k 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 ...
6
votes
3answers
21k views

Permission denied error when trying to install with wubi

I run into problem when tried to install Ubuntu 11.04 on Windows 7 using wubi installer . It downloads the image for sometime and ends up with the error that says Permission denied: for more details ...
13
votes
2answers
50k 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 ...
8
votes
1answer
17k 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 ...
45
votes
3answers
18k 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 ...
17
votes
4answers
36k 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 ...
7
votes
4answers
60k 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: ...
7
votes
3answers
36k 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 ...
3
votes
2answers
999 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 ...
4
votes
2answers
1k views

Ownership of .Xauthority transferred to root

Somehow, while playing around with LightDM and Webkit Greeter, the ownership of the .Xauthority file in my home dir was given to the root user and I couldn't login because I hadn't the privilegues to ...
2
votes
2answers
17k views

external hard disk READ ONLY

i have got an external hard disk TOSHIBA 1TB USB 3, the permission is always READ ONLY. fdisk -l (output) : Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, ...
2
votes
3answers
1k 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 ...
16
votes
5answers
12k 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
94k 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
742 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 ...
2
votes
2answers
33k 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
5answers
3k views

changed /etc permission in oneiric (ubuntu11.10) by using “sudo chmod 665 /etc” cant use sudo now

I screwed up big time. I changed the permission of /etc in ubuntu 11.10 by using following command sudo chmod 665 /etc now when ever i try to use sudo it gives the following error: sudo: can't ...
4
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?
3
votes
2answers
9k views

How do I change file permissions on a FAT32 drive?

I have Ubuntu 10.04 LTS. I've noticed recently every file in my Hard Drive get executable privilege even every text files so when open it a pop-up window asks me what to do(run in ...
73
votes
4answers
65k 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?
11
votes
5answers
19k 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 ...
9
votes
2answers
41k views

Automount ext4 partition with user permission/ownership (fstab?) [duplicate]

I just installed Lubuntu 12.10 "Quantal Quetzal" on my Acer Aspire One D257, creating the partitions: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 15G 2.1G 12G 15% / ...
14
votes
4answers
52k 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 ...
10
votes
1answer
10k views

What user settings control audio access?

Running a regularly updated 10.04 LTS we have a weird issue with access to audio with pulseaudio 0.9.22. Sound device is ATI Technologies Inc SBx00 Azalia (Intel HDA) Login user1 after reboot: sound ...
9
votes
3answers
14k 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 ...
5
votes
5answers
32k views

Plex won't enter my home directory or other partitions

I just installed the Plex media server from the Ubuntu Software Center, and opened the web interface. I wanted to start by adding a collection. When it gave me a file browser, I wanted to go to ...
10
votes
4answers
9k 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 ...
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 ...
6
votes
2answers
3k 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.
12
votes
4answers
11k 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 ...
7
votes
1answer
1k views

How to get permissions to execute programs from NTFS hard drive?

I have this problem: I'm used to compile and run .c files with CodeBlocks. If I do that from my Desktop (ext4 partition) it works without problems, but doing this from my secondary hard drive (NTFS ...
3
votes
1answer
13k views

permission denied for root@localhost for ssh connection

I just installed Ubuntu 14.04 and LAMP on that. Then, I wanted to configure my server, so tried out This tutorial. When I give the command: ssh root@localhost I get : Permission denied, please try ...
1
vote
2answers
6k 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 ...