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

learn more… | top users | synonyms (2)

2
votes
3answers
509 views

Problem formatting USB Drive

I am unable to format a USB drive. I tried changing the permissions by using the command below: /media$ sudo chmod 777 F84E-1690 "F84E-1690" is the drive name. But it gives below message: chmod: ...
11
votes
3answers
4k 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 ...
2
votes
2answers
472 views

Moved /home to a separate partition, now I can't log into it

I looked at this and that then attempted to move /home to a (pre-existing) partition. Now I am unable to log into it. I tried to use chown in recovery mode as per the psychocats tutorial, only to be ...
1
vote
1answer
1k views

How solve “sudo: must be setuid root” on Joyent server

I have a server Ubuntu 12.04 LTS on joyent . Mistakenly I have changed the /user/* folders permission to 775. After this I cannot able to run any sudo command. Rebooting the system in recovery mode ...
0
votes
2answers
316 views

How to grant permissions for a file automatically?

When I try to run a python file, say hello.py, it prompts bash: ./hello.py: Permission denied so I need to chmod u+x hello.py before I run it. Is it possible to automatically grant access to ...
0
votes
1answer
820 views

Error installing repo command. Help please?!! Ubuntu 12.04 LTS

I'm trying to install the repo command so I can compile CyanogenMod for my phone but whenever i enter the command: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo ...
0
votes
1answer
1k views

Setting up a user account for a web server

I'm pretty new to Ubuntu/Linux. I'm setting up a lighttpd webserver and I think I need to set up a webserver/daemon user account to get it going. The config file is asking for server.username and ...
0
votes
0answers
16 views

Create new user and assign it's only access to /home/ [duplicate]

We're on Ubuntu Server 12.04 I would like to create multiple users and assign them to a few directories that are already made. Example: mcadmin:/home/* mcadmin2:/home/dir1/* mcadmin3:/home/dir2/* ...
1
vote
0answers
27 views

How do I format an usb to ext4 to use it on Ubuntu without without sudo permisions? [duplicate]

I use Ubuntu in a machine I own and in a machine I only have standard user permissions ( not admin). Is there any way to format a usb to ext4 and make it work (file ownership problems) if I cannot run ...
1
vote
1answer
38 views

Ubuntu Button Click Authentication

After upgrading from Windows to Ubuntu, I really like the operating system. The only point I find that is missing is the Windows functionnality to authenticate administrator permissions only by ...
0
votes
1answer
97 views

How to set permissions for /ttyUSBn and /ttyACMn

I want to have a number of ttyUSB devices (e.g. ftdi cables) as well as ttyACM connections default to my user so I don't have to use sudo or go in and change permissions each time. They all default ...
3
votes
2answers
2k views

Untrusted Application Launcher

So I'm trying to create a desktop icon for an application, and I dragged it from the top-left menu (I think it's called Dash or something). I clicked on it and it says it is untrusted and refuse to ...
1
vote
4answers
2k views

Why am I not able to use chmod 000 for a folder?

I can't chmod 000 for a folder in Ubuntu 13.10
0
votes
1answer
657 views

Can't create a folder on my newly created partition

If I have a partition: /dev/sda3 how do I take ownership so that I can create folders? I tried: sudo chown -R chris:chris /dev/sda3 sudo chmod -R 755 /dev/sda3 but when I right click within the ...
2
votes
1answer
1k views

Can't change brcm_monitor0 in /proc

I am trying to change the value in the file /proc/brcm_monitor0 from 0 to 1. This file is used to set Broadcom wifi modules into monitor mode. The default method to do this is: sudo -s echo 1 > ...
0
votes
1answer
73 views

Issues installing amd64 patch

allen@Gespenst:~$ cd /tmp allen@Gespenst:/tmp$ tar xf /home/allen/Desktop/amd64-microcode_1.20120910-3.debian.tar.gz allen@Gespenst:/tmp$ mkdir -p /lib/firmware/amd-ucode mkdir: cannot create ...
1
vote
1answer
532 views

403 apache error with alias to ntfs partition

My machine is currently a dual boot between Ubuntu saucy and Win 8.1. I would like to have a common directory for my web development files and so I'm trying to make an alias for apache pointing to my ...
0
votes
2answers
6k views

Executable files on my computer cannot be executed and cannot be run by terminal

I'm really new to ubuntu and linux, so everything has flown straight over my head, but this problem is obviously not normal. I've looked all over the place for a solution to this problem, but all the ...
0
votes
3answers
544 views

Apache could not access to copied folder: 403 Access Forbidden

I'm new to Ubuntu. I have installed LAMP on Ubuntu and everything is OK but while I copy a folder into /var/www it is not accessible via URL. I have tried following commands: sudo cp -r Desktop/site ...
9
votes
3answers
48k views

default permissions for /var/www

I was trying to open a file and write to it with PHP at /var/www folder but it wasn't working so I did sudo chmod 777 var/www now I want to set the permissions for var/www to the default. what are ...
0
votes
1answer
230 views

Problems with permissions in apache Ubuntu 13.10

I have had some problems with setting up my localhost. I have been following this guide --> how-do-i-set-up-a-local-domain-name-in-apache-and-ubuntu But now I'm stuck my localhost only returns a 403 ...
0
votes
1answer
1k views

Apache2 server failed to start after enabling `mod_rewrite`, returns “Operation Not Permitted” errors

I am trying to install cakephp ( a php framework) which requires to enable mod_rewrite. For this I followed Enable mod_rewrite answer. But after restarting my server It says: nitish@nitish-G31T-M7:~$ ...
0
votes
1answer
69 views

My question is about read,write and execute permissions of a file in Linux: [duplicate]

I've created a text file and I've assigned read only permission to that file . Now when I copy that file to NTFS partition then its read only permission is vanished and I'am able to modify that file ...
2
votes
1answer
3k views

How to set up group write permissions on new created files on cifs mount point (samba/fstab)

I try to mount a samba share with cifs and set write permission to the group on the default file/directory creation mask. After hours spent searching the web and trying, I can't get this to work, all ...
1
vote
0answers
97 views

Restore permission and ownersip to root/home folders?

I have migrated my system to a new hard disk and backed up my system to an external NTFS volume with rsync- ahv, a oversight and mistake given that NTFS volumes do not support UNIX permissions. ...
1
vote
1answer
297 views

restore permissions of ubuntu 10.04 after running “chmod 700 -R /” as root [closed]

I have run: chmod 700 -R / with root access on ubuntu 10.04. Is there any way for recovering from this situation other than reinstall? Then I again ran: chmod 777 -R / to fix it and now I have ...
0
votes
1answer
368 views

Giving www-data access to files with 750 permissions

I have a situation where I want to prevent users of the system to browse each other's home dirs. So all home dirs have 750 permissions, instead of 755. Some users have www folders where they host ...
1
vote
2answers
10k views

give permission to /var/www [duplicate]

When I write this to give permission to www directory: zeb@zeb-Lenovo-B570:/var$ chmod 251 www/ zeb@zeb-Lenovo-B570:/var/www$ ls Its gives error: ls: cannot open directory .: Permission denied I ...
-1
votes
2answers
21k views

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

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 ...
0
votes
2answers
372 views

Permissions for an apache2 virtual host

I'm usuing Ubuntu 12.04LTS and have created an apache virtual host in my local file system for a site I'm developing. However, when apache tries to access the site, it can't because the ownerships ...
0
votes
1answer
272 views

I can not get 'motion' working… seems to ignore changes to .conf file

I am trying to use 'motion' to setup some simple video surveillance in Ubuntu 12.10. I installed motion and edited the /etc/motion/motion.conf file, but it seems like the program is ignoring the ...
6
votes
2answers
4k views

How to give a normal user access only to the /var/log directory?

I have a non-admin user in Ubuntu 12.04 LTS desktop 32-bit OS to whom I need to give permissions only to access /var/log as he needs to monitor logs and create reports related to it. I do not want to ...
3
votes
1answer
704 views

Add Group Permission to Run chmod Command on Group Owned Files

I've been searching for about an hour now and all google ever returns are hits for how to use chmod. I want to be able to grant users that are part of a unix group permission to run chmod on files ...
2
votes
1answer
295 views

Bash error when trying to execute a file

i am kinda new to linux and in programming so please excuse my lack of knowledge. I'm trying to run a basic program named trial.c with an executable file named trying but when I type ./trying in the ...
1
vote
4answers
19k views

Please change the permissions to 0770 so that the directory

I did everything according to: http://forum.owncloud.org/viewtopic.php?f=17&t=7118 but I get the error: Data directory (/mnt/usbdrive/owncloud/) is readable for other users Please change the ...
2
votes
1answer
1k views

“Can't open” an /opt file

This is my first post. I wanted to ask for any idea so to solve my problem. I am using Ubuntu 12.04 LTS, and my purpose is to use OpenFoam CFD software. I am trying to execute an script called Allrun ...
0
votes
1answer
326 views

cannot write Active Directory Shares mounted with pam_mount

I am using centrifydc to connect an Ubuntu 13.10 desktop to our Active Directory. Login to the Ubuntu computer using the AD Credentials are working fine. I am using pam_mount to mount a share located ...
0
votes
1answer
360 views

run a script as non-root user

I want to run a script say some_script.sh(that requires root permissions, contains some sudo do something in a for loop) as non-root user. I have a script as shown below. I want to run this script as ...
-1
votes
2answers
1k views

How to create a root privilege file for a normal user?

I got a scenario where a customized Ubuntu 12.04 Linux OS has a read only filesystem which doesn't have terminal access. My goal is to create a file with root access using normal users permission. I ...
1
vote
1answer
163 views

do you want to run or display contents ?: Asked after run chmod -R

I was getting a strange Errno::EACCES error permission denied when I tried to upload photos. Then I ran sudo chmod -R 777 /home/user/Projects/myApp/ on a rails project.This command did not solve my ...
0
votes
1answer
205 views

./opt/lampp folder & file editing help

I installed XAMPP but I need to edit folders and files in there. I did the following groupadd lampp usermod -a -G lampp kyle chown -R root:www-pub /var/www chmod 2775 /opt/lampp find /var/www -type ...
0
votes
1answer
44 views

Creating folders on an ext2 unjournaled drive

I'm currently trying to create a writeable folder on a ext2 drive. I took a usb drive and formatted it to ext3 using gparted. Then I went into terminal and wrote in sudo mkfs.ext2 -j -I 128 ...
1
vote
0answers
117 views

Permissions won't change

I opened Nautilus as super user to try and edit permissions. I can open the drop menu and change, but they instantly revert back to their original state before I can even click "apply changes." What ...
2
votes
0answers
163 views

Coordino permission issues?

I have downloaded the Coordino and wanted to run it on Ubuntu, tried to run it but its giving the following errors Warning: require(app/webroot/index.php): failed to open stream: Permission denied in ...
0
votes
1answer
125 views

How to set the superuser bit?

I have a backup script that contains several "sudo" commands. I don't want to have to type my username and password each time I run this script. So, I tried to add the "SUID" bit like this: sudo ...
0
votes
1answer
103 views

I really need to access my files :( from my previous Home directory

I actually messed up with my original administrator account which is . The problem was the unity won't start properly. It's just that, it only shows the background and some few icons on the top bar ...
1
vote
1answer
1k views

Ubuntu 13.10 (Google Account - Google Chrome) Icon Issue

I just installed Ubuntu 13.10. I went to the Google Chrome website using default Firefox, downloaded 64 bit chrome, went through the process of the software center, and opened Chrome. However, every ...
1
vote
2answers
946 views

Testing a php file for school with fopen() function, which does not work because of… permission issues?

I'm using Ubuntu in my laptop. Every time I turn it on, and after Ubuntu initializes, it ask me for my admin password, wich I do provide, in order to be able to use it. I've installed Sublime2, and ...
2
votes
1answer
5k views

403 forbidden error for all local projects after updating php and apache

I have 5 web app projects in my local machine with Ubuntu 12.04 installed on it. Everything was good, but today when I started a new project with symphony, I found that I should upgrade php to 5.4.x, ...
0
votes
3answers
230 views

Permission issues

I'm really struggling to access certain folders. I'm assuming this is something to do with the filesystem. Currently, I'm unable to copy folders into the .config folder. Any suggestions would be ...