0
votes
1answer
9 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 ...
1
vote
3answers
61 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 ...
1
vote
1answer
41 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
0answers
75 views

Instalation of MySql Cluster problem - Can't change dir (Errcode: 13)

I want to install MySql Cluster on my Ubuntu 12.04(64bit). I am using MySQL Cluster Quick Start Guide – LINUX for instructions. I have changed ownership of $HOME/my_cluster and $HOME/mysqlc to mysql ...
0
votes
2answers
55 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 ...
0
votes
2answers
66 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 ...
2
votes
1answer
82 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
319 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
132 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
217 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
188 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 ...
0
votes
1answer
125 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
266 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
620 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 ...
2
votes
4answers
824 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
277 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
486 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
368 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 ...
4
votes
1answer
644 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 ...
6
votes
4answers
6k 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
176 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 ...