1
vote
0answers
19 views

How to change read-only permission under 501 user?

I have a hard disk that install on it mac osx 10.4.11, so I plugged that to my Ubuntu system and now I can see all of the files, but it's just read only under the 501 user permission I'm root in ...
0
votes
2answers
25 views

Does chown command require login and logout to reflect changes?

Does chown command require login and logout to reflect changes?
0
votes
1answer
39 views

set file permissions

I have a directory, where users can drop their plugins (for a game). The directory permissions work for adding these plugin files. But there is one Problem: When the plugin generates config files, ...
0
votes
2answers
50 views

Revert permission of /usr back to root

I was doing some alterations but in one I messed up. I changed the permissions of almost everything inside the /usr folder to my own user. It didn't change everything because it failed in the middle ...
0
votes
0answers
32 views

chrome does not load

hey there i followed the instructions on this page to change permission of all files in a directory in /var ...
2
votes
1answer
73 views

Can't access home folder

While installing Matlab, I mistakenly typed sudo chmod +x ./java in the home folder. And I got i/o error that you are not allowed to access the home folder. Suddenly everything in my home folder ...
0
votes
1answer
16 views

Restoring rights for /var

I accidentally ran "sudo chown www-data /var -R". Right after I ran "sudo chown root /var -R" to restore the rights. I can however no longer login now. I'm still getting the full disk encryption ...
3
votes
1answer
192 views

How to create directory and change it's owner with the deb package

I need to create deb package that will create directory for logs. I want to create directory /var/logs/my_package and to change it's owner to my_user. In the docs there is information that I can ...
0
votes
1answer
31 views

Chmod crash version 13.10

I was watching a command line reference tutorial and testing out two commands, CHMOD and CHOWN. I ended up changing my root folder's permissions. What should I do? Version 13.10.
1
vote
2answers
345 views

Can't change permissions on extracted files Ubuntu 13.10

I'm trying to install a program from the *.x86_64 file but it seems I don't have the right permissions to do it. Even if I right-click and go in the "Permission" tab, when I try to change anything ...
0
votes
1answer
101 views

Hard drive (hfsplus) will not allow me to chown or chmod

I tried chmod and chown, neither worked and I got a message like this, repeated for every file in the drive. chmod: changing permissions of ‘folder/filename.id’: Read-only file system failed to ...
1
vote
1answer
79 views

Ubuntu, messed up default group ownership

I've setup btsync on my pc and in order for it to access the folder I wanted to sync I had to set it's owner and group to btsync. I did so by running sudo chown -R btsync:btsync ~/sync. Or at least, I ...
3
votes
1answer
229 views

How to give a specific user access only to a specific folder and its contents?

I used adduser <name> and created a new user, andrew. Now I want to give him read/write access only to /var/www/sitename.com and its contents. How am I supposed to do this? I tried sudo ...
0
votes
2answers
54 views

Change ownership of a large group of files

An app (Autokey-qt) installed itself with root as owner. It spans a lot of files and directories. I need to change the ownership to me in order to be able to edit the macros and configuration files. ...
3
votes
2answers
150 views

How can I recover from accidental chown -R

I am an Ubuntu newbie, and I accidentally typed chown www-data:www-data * -R. After a while, I tried to restart, but my computer couldn't even start, saying: # Your screen, graphics cards, and input ...
0
votes
1answer
712 views

Owner of /usr/lib is not root

Virtualbox program error: Failed to open a session for the virtual machine .... Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT). Terminal output: balazs@inspiron:/usr$ ls -l total 164 ...
3
votes
2answers
3k views

Root Owns Home Directory, chown does not work

I am running Ubuntu 12.04 and having various problems. I have traced it back to the fact that my user's home directory (/home/user) is owned by root. The /home directory is actually mounted on ...
1
vote
2answers
1k views

How can I change owner back to root?

So, I did a stupid thing... I was installing some software (Java SE 7, if you must know) from a tarball, and I got tired of using sudo, so I went and changed the owner of my /usr directory to myself. ...
1
vote
1answer
129 views

How can we execute a terminal-command for all the subfolders, at once

I need to change ownership of my Downloads folder from root to my username. Using 'chown' and '*' wildcard I could get around with each folder and it's files but that's tedious. Anything I could do ...
1
vote
0answers
53 views

1 day folder on my webserver lost permissions

I've ubuntu server 12.04. I try to upload image on one of my wp installations on this box, and I get permission error (worked perfectly few days back). I log in and check permissions and I see ...
3
votes
2answers
1k views

chown -R user:user .* changes permissions backwards: is this the correct behaviour?

I got into a lot of trouble when changing the permission of a folder myfolder residing in /. I issued the command sudo chown -R luca:luca /myfolder/.* My intention was to change ownership of all ...
1
vote
2answers
119 views

Wireless driver not loading after changing ownership of /usr/lib. How can I restore default ownership?

I have changed the ownership of /usr/lib by mistake as root:root by running the below command: sudo chown -R root:root /usr/lib/ Now, the wireless drivers are not loading and also I am not able to ...
0
votes
1answer
362 views

Need hdd access from live cd

Something went wrong with the kernels of my current installed Ubuntu, and because of this i can't access my Ubuntu installation, so I'm trying to make a back-up using a LiveCD and copying everything ...
1
vote
0answers
73 views

Windows won't boot after using chown on windows partition

I was following this: Mount NTFS partition at startup, with non-root user as owner to be able to use permissions with my NTFS partitions without having to change owner to "root". I did what the ...
0
votes
2answers
344 views

Set myself as owner of /etc with chown command now getting all kinds of errors

I needed to edit a .config file (which I know for a fact is not creating these problems, just to clear that up) and it wouldn't let me save it, so I took ownership of /etc and all contents with the ...
2
votes
1answer
7k views

How to restore the default chown permissions on a directory / file? [duplicate]

I am using Ubuntu 13.04 x86_64. I wanted to own whole stuff in my home directory. So I executed these two commands. sudo chown -RcH rootkea ~ sudo chown -RcL rootkea ~ Now due to those symbolic ...
0
votes
1answer
109 views

Can I set a specific group|umask to be the default one for all actions within a certain path?

I would like to override the default umask and owner:group settings within certain directories only, without requiring root privileges, as that kind of defeats the purpose. For example, when I touch ...
2
votes
3answers
351 views

Why can't I set group and ownership of one folder without afffecting the other?

I've upgraded an Ubuntu PC from 10.04 to 12.04. Problem is all the permissions were wrong on the home folders. So, I did the following: sudo chown -R james:james /home/james/* sudo chown -R ...
2
votes
1answer
428 views

Should I install non-repository software as root or as my user?

What is the right way of installing programs that are not available in repositories: should my user own the binaries and keep them in ~/bin/, or should root own the binaries and keep them in, say, ...
0
votes
2answers
243 views

weird change of owner for user home dir when installing vettle

All of a sudden my home dir turned to be owned by user '1016': drwxr-xr-x 96 1016 1016 20480 Apr 2 2010 albert drwxr-xr-x 32 guest guest 4096 Mar 16 13:46 guest I don't understand how that ...
1
vote
0answers
36 views

Logging in loop

I have an error that seems to have been reported before but not solved by previous answers. When I try to log in as my primary account, I get a blackscreen and go back to the login menu. I am very ...
2
votes
2answers
1k views

Is it safe to chown `/usr/local`?

I know what /usr/local is for - installing software for the local machine. By default, root owns the directory. This means that to install there, you need to use sudo. For a single-user or developer ...
1
vote
2answers
65 views

Is it possible to change the group of a file if I am not part of that group?

Is it possible to use chgrp or chown to change a file's group to one that I as the owner am not a part of? I own the file, but I am not part of the group that I want to change it to, so can it be done ...
2
votes
1answer
176 views

Locked out of drive on Ubuntu Server

I was trying to delete some torrents that I had downloaded with transmission-daemon and was unable to from my samba share on windows due to transmission's default file creation permissions. I ...
1
vote
1answer
624 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 ...
3
votes
1answer
188 views

Directory permission

I am running 12.04 x64 server on ext4 disk. There are two user groups 'A' and 'B'. For a specific directory, I would like to give its all permissions to user group 'A'. Also I would like to give only ...
0
votes
1answer
372 views

Writable permission is not writable

I am running Ubuntu 12.04 x64 server on ext4 partition. I set a directory's permission to '766' as below. sudo chmod 766 /archive drwxrw-rw- 3 root root 4096 Sep 27 10:50 archive/ But, when I ...
4
votes
1answer
298 views

Assigning different directory permission for each different groups

I am running Ubuntu 12.04 64bit server on ext4. There are four user groups - marketing, sales, admin and etc. I need to assign different permissions to /archive as follows: rw for the marketing ...
1
vote
1answer
270 views

directory permissions adding user in a group

I added a user using useradd useradd -g upperdevs myuser But when I do an id check I didn't see the upperdevs group. id myuser #uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo) ...
0
votes
1answer
453 views

How to correctly set permisions for all subfolders and files

I am following the guide to install TinyOS on Ubuntu 12.04 I have done up to step 3, But I am not sure if I have done the step 3 correctly. Because by doing the step 4 I get the permission error : ...
1
vote
1answer
893 views

How to provide user permission to read, write on `/dev/sdax`? What is the syntax?

I have two my hard disk divided into two partition (apart from swap). First one is /dev/sda3 on which I have my ubuntu installation. Second one is /dev/sda1. Now, when I try to copy a file to ...
3
votes
4answers
6k views

Permissions for apache webroot folder on dev server?

I am a web developer and have Apache setup on my local system for testing. I keep running into issues with the permissions e.g. unless I chmod any new directories to 777 my IDE cannot write to the ...
1
vote
1answer
497 views

How can I add file create read write and delete for a specific user?

Question: I need to give file create, read, write and delete access to /var/log for user bind only. How can I do that, short of allowing read and write and delete access for everybody ?
1
vote
1answer
875 views

authentication problem at Ubuntu 12.04

I get this error when I try to authenticate using Gnome GUI. I have NO authentication problem when I use terminal. It is suggested here that I need to do sudo chown -R myusername:myusername ...
1
vote
1answer
452 views

changing permissions of `nyccrash.txt': Operation not permitted

I have an assignment to write PHP code, and upload the data to our school student's account. To make sure my script is working, I need to change the permissions on the files. I am not a root because ...
1
vote
2answers
1k views

Unable to Login (Ubuntu 11.10)

I'm having a weird issue. When I put my password using my account (ramiz) on the login screen of GUI, a blink of screen and it take me back to the login screen. I tried with Guest user and it is ...
5
votes
1answer
2k views

Is it possible to change owernship of a file without root access?

If a User A owns file.txt, can User A change the ownership of the file to User B without root access? When i run a chown B file.txt as user A, I get a Operation not permitted error. It seems to me ...
9
votes
4answers
15k views

Permission denied on ~ even though owner listed as me

Somehow, I managed to chmod and chown my ~ into oblivion. When I attempt to login through the shell, I get bash: ~/.bashrc : Permission denied Even after (as root) I've run chown -hR nroach44 ...
0
votes
1answer
219 views

Is it possible for a directory to change permissions of the files that are added to it?

I have a directory and I want all files that are put in it to have the permissions of **5. In other words I want the permissions of the owner and group to stay the same but the permission to be read ...