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

learn more… | top users | synonyms (2)

7
votes
6answers
40k views

How to give read write permission to a folder and its sub folders and files?

I have changed ownership of my localhost file on /var/www/ and its sub folders and given it permission 777. However, whenever I add a new folder in it the new folder does not automatically get that ...
5
votes
1answer
13k views

Configuring Permissions for FTP and Apache

I have a web server (Apache2) that i access with FileZilla. On my web server i have a dir /home/admin/www that i binded to /var/www. So i can access it with FTP. This works perfect! But everytime ...
11
votes
3answers
13k views

Can't set permissions for files on an NTFS partition

I remember that I was able to run a Linux .exe that was placed on an NTFS partition earlier before I installed 10.10 RC. But if I try to run it now, I can't run it as it hasn't the execution ...
9
votes
2answers
61k views

How to copy files into /usr/local/? (permission denied)

I'm still a little new to Ubuntu and was wondering how I can copy files, in this case Aptana Studio, to /usr/local/ without being denied. Is there a way to do it in terminal? Or a way to allow ...
4
votes
2answers
26k views

How can I change permissions of a folder, including its enclosed files and subdirectories?

I need to recursively change the permissions of all folders, sub-folders and files from within ~/.local/share/Trash/expunged Does anyone have a clue or idea on how to do this? I have tried ...
17
votes
3answers
568 views

When are “User Privileges” relevant?

I notice that many of the user privileges in "Users and Groups" are not ticked on my user, but I still have access to the items they specify. For example, I'm constantly using VirtualBox for ...
8
votes
2answers
14k views

Error after sudo-ing “sudo: must be setuid root”

On a colleagues computer, everytime I use a sudo command, I get this error: sudo: must be setuid root I tried various things mentioned on the internet, like changing the permissions to 4755 from a ...
7
votes
3answers
17k views

How do I allow a non-default user to use serial device ttyUSB0?

I have an Ubuntu 11.10 system with 2 users: The first was created during the installation The second instead was created after. It belongs to the sudoers group. Now the problem is that when the ...
4
votes
1answer
1k views

Give permission to user ONLY to install applications

I've been using linux for 6 years, but only now I had the task of creating 2 accounts into one PC. Those 2 accounts are Admin(Mine) and User(My Mother's), the problem is, when she tried to install an ...
2
votes
2answers
1k views

Permanently mounting Windows' NTFS partition, fully enabled

I'm transforming a Windows 7 PC into a dual boot system with Ubuntu 10.10. Following other questions on this site, I've mounted my Windows drive by adding this to fstab UUID=blabla /windows ntfs ...
19
votes
3answers
61k 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 ...
11
votes
7answers
2k views

Mounting a Windows folder with writing permissions in Ubuntu

Apparently the answer is here: http://superuser.com/questions/251537/mount-specific-ntfs-directory-on-linux however it is not working as expected. I have a dual boot system with Windows 7 and Ubuntu ...
8
votes
4answers
15k views

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
8
votes
2answers
14k views

How to auto mount a flash drive with root and read/write/execute privileges

I have an issue with mounting my Flash drive on Ubuntu 10.04 with write privileges. It's currently partitioned as Fat32 with Label KINGSTON but when I insert it into the Laptop it reads it as usb0, ...
7
votes
2answers
1k views

Setting up a shared media drive

I want to have a shared media drive be transparently usable to all users, whilst also sticking to FHS and Ubuntu standards. The former takes priority if necessary. I currently mount it at /media/Stuff ...
6
votes
3answers
316 views

Why are the default permissions for /media/username root:root?

I have tweaked the permissions on /media/username from root:root to username:root [1]. I understand that a user-centric location allows user-centric permissions [2]. But why were the permissions for ...
5
votes
2answers
1k views

Allow/Deny a user from binding a range of ports

As it is, Linux fails to bind ports < 1024 for any user other than root. How do you blacklist or whitelist ranges of ports for specific normal users, so that they can not bind them, in the same ...
4
votes
2answers
2k views

Setting execute permisions on a mounted image

How do you set execute permissions on a .exe that is on a mounted image (.ISO file)?
4
votes
5answers
4k views

Always Sudo Privileges

I've searched for this, and the answer is probably in a million places on the 'net, but I can't find it... How do you give your account root privileges in Linux so that you don't need to sudo every ...
4
votes
1answer
7k views

How to write an fstab line for full access to an NTFS drive?

I've written: /dev/sda2 /win ntfs-3g rw,dev,exec,auto,async,users,umask=777,uid=1000,gid=1000,locale=en_US.utf8, errors=remount-ro 0 0 but I still can't access /win as a user (corresponding to ...
3
votes
3answers
7k views

How can I become the owner of a file/folder that root owns?

I had a bad habit of storing my wallpapers in /usr/share/backgrounds, and decided to move them all into Pictures. Well, the problem is that most of them are now read-only since they are owned by root. ...
3
votes
1answer
3k views

How do you fix file permissions for root directory?

what is the best way to fix Ubuntu's Root file system permissions? I was changing file permissions on a whole bunch of files that needed to be removed, I had accidentally changed the permissions ...
2
votes
2answers
715 views

Users Restriction ( Limit On Executing Files )

I want to create a user in such a way that he/she cannot execute any file i don't want users to have " x " permissions of any file they create i m using Ubuntu 11.10 UPDATE i tryed chmod 700 ...
1
vote
2answers
3k views

403 Forbidden clean apache2 install

I recently reinstalled Ubuntu and then installed the lamp-server bundle via tasksel and the installation went fine. I had backed up the files from the /var/www/ folder and planned to just place them ...
1
vote
1answer
2k views

Setting permission for NTFS partition

I have a NTFS partition on my PC. It shares data between Linux and a Windows dual boot system. My /etc/fstab line for that is: #Mount Dati at boot= UUID=01CD9E64E80BD460 /mnt/Dati ntfs ...
1
vote
3answers
3k views

External hard drive not allowing permission

My older mac recently kicked the bucket, and I decided to switch to linux on a newer laptop, My hard drive was fine, and I now use it as an external hard drive. The one problem though, is that I ...
0
votes
1answer
417 views

How to become administrator user?

I'm new to this ubuntu 13.04 so in terminal i allways need to start my xampp as a root so please help me i wanna convert my current account as an administrator(root) user.
12
votes
4answers
893 views
12
votes
2answers
1k views

How can I rename items in places I don't own, like / , and why shouldn't I?

I get a Permission denied message when trying to rename files and folders in places like /, /usr, and other people's home directories. I'm an administrator. How can I do this? Also, I've heard that ...
10
votes
3answers
14k views

Changing permissions on serial port

I'm using the Arduino IDE in Ubuntu, and am having issues with the serial port. It has worked in the past, but for reasons that may be unnecesary, I felt the need to change the ownership of some of ...
6
votes
3answers
10k 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 ...
4
votes
3answers
24k views

How to set umask for a specific folder

For some obvious reasons I need to set umask value for one specific folder. How can one do that? Thanks beforehand! UPDATE 1 The reason I need to use umask for a specific folder is following. I ...
4
votes
1answer
1k views

Nautilus automount - controlling GID/UID/mode bits

How do I set GID/UID and mode bits assigned to the directory in /media, to which my USB drive is auto-mounted when I plug it in (i.e. to the directory, which represents the drive itself, e.g. ...
4
votes
2answers
1k views

How to make a link to a .desktop [Desktop Entry] file

I made a link on my Desktop to the launcher file "Compiz" in /usr/share/applications/. When I try to execute it I get: "The application launcher "Link to compiz.desktop" has not been marked as ...
3
votes
1answer
1k views

What purpose does the Public folder serve

In default Home directory, there is a folder called Public. What purpose does that serve? Are documents in that folder accessible to all users on the same computer? What are the default permissions ...
3
votes
1answer
2k views

Group share permisssions to windows clients?

On our home network we have Ubuntu 10.4 amd64 Desktop functioning as a file server and a couple of WinXP laptops. Ubuntu is not set up as a domain server, user names and passwords are synched, ...
2
votes
1answer
876 views

Truecrypt read only Ubuntu

So i have an issue with Truecrypt after moving across from my Mac OSX. Treucrypt file container created in MacOSX, now living in my Ubuntu home folder. Now when I mount my Truecrypt volume (asks for ...
2
votes
2answers
4k views

sudo: /var/lib/sudo/navneet writable by non-owner (040777), should be mode 0700

This error occurs whenever I try to work with sudo. I changed the permissions of /var/ folder to 777 and I think this causes the error. Please help me get back a functional sudo and /var.
2
votes
2answers
1k views

How can I reset the permissions of /var?

My friend did a chmod -R 777 /var by mistake. Now he has his /var folder permissions like this: drwxr-xr-x 15 root root 4096 Dec 29 17:36 . drwxr-xr-x 23 root root 4096 Dec 10 11:15 .. ...
2
votes
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.. ...
2
votes
4answers
19k views

Windows users unable to access samba share of an external drive

It doesn't seem that many others have had this problem so I thought I'd ask here. Have a server running Ubuntu with 1 internal and 1 external drive. Have a folder shared with samba on the internal ...
2
votes
4answers
4k views

Set default owner/user

I'm a web developer, and so have set-up an old machine in the office as an Ubuntu Server, for the purposes of testing websites. I've set-up LAMP and have created a /var/www folder, from which all my ...
2
votes
2answers
8k views

403 Forbidden problem with Apache

Strange, I have change folder users/groups to www-data (sudo chown -R www-data:www-data /datos/www) and also have changed permission to 755 (sudo chmod -R 755 /datos/www), but still getting 403 ...
2
votes
2answers
2k views

How do I mount a drive so that it is readable by me?

I'm working with over SSH with an external hard drive connected by USB. I know I can manually mount a drive with the following command: sudo mount /dev/sdc ~/dirToMountTo The problem is, if I ...
1
vote
2answers
823 views

Bash return permission denied error when I redirect the output of ls to a file

I'm currently studying shell commands, one of the exercises consists in creating a structure with various directories and subdirectories. I wrote ls -laR > hello, it was supposed to create a text ...
1
vote
2answers
2k views

Remove sudo password when connecting to *new* WiFi network

So currently when my non-admin user tries to connect to a new WiFi network (e.g. at a cafe say) NetworkManager prompts for the admin user's password. Is there a way to turn this off and to allow the ...
1
vote
1answer
573 views

12.04 LTS won't boot after modifying root directory permissions

I accidentally changed permissions to root directory on my system and now my system won't boot, I tried to fix packages from grub recovery and check file system but nothing. Here's the code I ...
1
vote
1answer
2k views

Wireshark - allow non-root user to sniff USB traffic

I'm trying to capture data transferred across a USB connection to reverse-engineer the protocol used. I'm using wireshark to do this, which explicitly warns against running as root. So far, I've ...
1
vote
2answers
472 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
4answers
990 views

Permisions set to unknown after chmod 777

I just noticed that after running chmod 777 * on a directory that has sub-directories in it does what you would expect. It sets the permissions of everything, including the sub-directories to 777. ...