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

learn more… | top users | synonyms (2)

0
votes
1answer
843 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
644 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
3answers
4k 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 ...
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
43 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 ...
13
votes
4answers
581 views

Good and easy way to share files on local machine

I would like to have a directory that has following properties: Many users can copy files into it These files can be deleted/changed by these users (user A can delete/modify file that was copied ...
23
votes
3answers
5k views

What is the “sticky bit” (t permission) and why does /tmp have it?

The command ls -ld /tmp gives drwxrwxrwt 30 root root 20480 Mar 11 14:17 /tmp What is the letter t after the permissions? As far as I know /tmp is used to create temporary files related to ...
7
votes
6answers
43k 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
15k 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
14k 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
65k 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 ...
8
votes
3answers
15k 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 ...
4
votes
2answers
28k 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 ...
23
votes
3answers
73k 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 ...
17
votes
3answers
577 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
3answers
21k 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 ...
6
votes
1answer
12k views

How do I give www-data user to a folder in my home folder?

I have a folder: /home/myuser/folderA I want to give www-data user write access to the above, while 'myuser' continues to have normal access (as it is myuser's home folder anyway). Which commands do ...
4
votes
1answer
2k 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 ...
12
votes
7answers
3k 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 ...
12
votes
4answers
22k views

How to find owner and group of a directory?

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

Adding user to a group - Why had to reboot?

I was not able to access the VirtualBox shared folder, so I made the user part of the vboxsf group. But, still not able to access it. Rebooting the guest resolved the problem. Is it a bug? A reboot is ...
8
votes
4answers
16k views

How to mount HFS+ drive and ignore permissions

I installed Ubuntu and Windows on my MacBook and Ubuntu is my primary OS; however, all of my media stays on my OSX partition. I want to be able to access it (at least my OSX user's home folder) from ...
8
votes
2answers
15k 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
3answers
576 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 ...
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
1answer
8k 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 ...
5
votes
2answers
2k 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
5k 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 ...
3
votes
1answer
4k 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
734 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
6k 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
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
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
546 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.
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 ...
12
votes
4answers
1k views
12
votes
2answers
2k 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 ...
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 ...
6
votes
3answers
28k 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
3answers
10k 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. ...
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
2k 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
2answers
1k 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 ...
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
3answers
5k 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.. ...