0
votes
1answer
43 views

chmod directories and files in one command?

I have a directory "project" that contains a set of subdirectories and files. I want to give 777 permission to the directories and files from my 666 in the same directory with chmod command in my ...
0
votes
1answer
40 views

How to submit a feature request for chmod linux command

Note: I believe this question doesn't fit the SO guidelines for question types, but if you can, please move it to appropriate section of the SE network or please tell me where it would be appropriate ...
0
votes
0answers
52 views

How to get samba serve to follow chmod rules

I am in the process of setting up a samba file serve which I got to work pretty well the only issue that I am now stuck with is the permissions: The set up that I am trying to achieve is to allow one ...
1
vote
1answer
46 views

Default group permissions for /var folder

I accidentally ran sudo chmod -R g+rw /var instead of sudo chmod -R g+rw /var/www. This means that for every file, the group owner now has explicit read-write access. I have already seen an example ...
0
votes
1answer
27 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
1answer
55 views

How to let a user execute a script owned by root? Setuid doesn't seem to work anymore

I have some bash scripts that I use with the user 'root' to manage iptable rules. The problem is that I want these things at the same time: The script must be owned by root Permissions must be 700 ...
1
vote
2answers
180 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
0answers
17 views

Changed all files and folder permissions to 755 and can't log in [duplicate]

I accidentally ran the command sudo chmod -R 755 while trying to run LAMP. I was getting a 403 permission error so I tried to fix the permissions. I'm running ubuntu 13.10 and now I can't log in ...
0
votes
1answer
54 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 ...
0
votes
2answers
80 views

How do I set permissions on a network-shared folder?

I used system-config-samba to expose a folder on the network with no user authentication. But I got permission failures, so I used chmod 666 shared_folder. When I go to \\computername from a ...
0
votes
0answers
87 views

How can I get my ASIC miner to “initialise” on startup/login?

Based on the document from butterfly labs here: https://forums.butterflylabs.com/showwiki.php?title=Tutorials:ASIC+Mining+on+Ubuntu+and+other+Linux+distros I am using my ASIC miner successfully ...
0
votes
3answers
357 views

Permission drwxrwxr -x [duplicate]

I need some help about permission. I had a permission drwxrwxr-x but I try to change the permission with chmod 755 /folder/ and after that I receive permission drwxr-xr-x but I would like to change it ...
0
votes
3answers
63 views

Having trouble with chmod

Before I would write "sudo chmod 777" and then the name of the file or folder but now it doesn't seem to change any permissions. I looked at multiple tutorials on how to use chmod and can't figure ...
1
vote
4answers
199 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
1
vote
2answers
3k 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 ...
1
vote
1answer
101 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 ...
3
votes
1answer
323 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 ...
0
votes
1answer
1k views

Can't change file permissions!

I just can't change any file permissions even when I am logged in as root. I tried changing the permissions from both terminal and i got no errors but the permissions remain the same. And when i try ...
2
votes
2answers
634 views

User www-data in custom group does not give other user write access

This is somewhat confusing for me so i hope someone can quickly explain the run down once and forall. I have a User, "John", and group created named "John". I make john a "Primary group members" of ...
2
votes
1answer
195 views

What are the default permissions for /root?

Not realizing what directory I was in, I did a "chmod 777 ." in /root. Now I would like to set the permissions for /root back to the default. Can someone please tell me the correct default permissions ...
0
votes
1answer
57 views

delete the read permission from a file

So, let's say I have a file named FILE. Whenever someone wants to edit or read it (for example cat FILE in terminal), it should ask for root password. How to do this? I suppose there's a chmod ...
0
votes
1answer
104 views

Unable to change permisions on windows partition disk

I need to change permissions of files in my /media/MAVEN/Projects MAVEN is my windows disk partition. The permissions on the Projects folder are: :/media/MAVEN/Projects$ ls -la \total 340 drwxrwxrwx ...
1
vote
0answers
203 views

Changing permission for 'Public' folder always failed

I have 2 PC using ubuntu(I assume PC 1 and PC 2), and I always share a file or folder for each other. I know that I have to right click first, choose Sharing Options and check Share this folder. ...
0
votes
0answers
256 views

Prevent user from deleting files but allow him to add new ones

I've got the following scenario: A PC with lubuntu 13.04 with one user. This user isn't in the sudo group and doesn't have a password. I've set a root password and changed the permissions of chmod ...
0
votes
2answers
596 views

How to give a program access to make file in root directory

i am running a program which uses log4j.The log4j uses rolling file appender.However its not able to create the file. I guess its because the creation of file need root access. The program is ...
0
votes
2answers
261 views

Please settle a Sticky (bit) argument

I got into a good-natured spat with a fellow worker about the nature of the sticky bit. My contention, working from the chmod man page was the the sticky bit, if set, allows only the owner to delete ...
0
votes
1answer
85 views

User permissions inheritence

If an owner can read and write and the group can read and execute, can the owner execute the file? Do file permissions stack?
0
votes
3answers
4k views

Not able to install *.run file in Ubuntu? [duplicate]

I am newbie with Ubuntu and I am using Ubuntu 12.04.3 LTS version inside Windows using WUBI. I have to install few softwares in Ubuntu which are as follow: MPLAB X IDE version 1.90 XC8 Compiler and ...
1
vote
1answer
5k views

File permissions won't change

sorry fresh user. I installed about 9 days ago and had issues with Unity disappearing which took 5 days of headaches to fix. It never did fix, I reinstalled. I set up Plex (media server) and while ...
1
vote
1answer
115 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 ...
2
votes
1answer
126 views

Only 8 days into Ubuntu, and I did some damage

In order to eliminate some of the permissions obstacles I keep finding, I decided to make it easier on myself. I did $ sudo chmod 755 -R /usr If I knew 10 hours ago what I've learned in researching ...
3
votes
1answer
4k views

How can i check the folder permissions in ubuntu server 12.04?

Right now, I know that I can change persmissions for example with : sudo chmod 550 directory I wonder how I can check the actual folder permission.
2
votes
1answer
52 views

Permissions issue [duplicate]

Which would be the right chmod value for a directory where everyone can write on it, but only the owner of the content can delete it? I thought chmod 1755 path_to_directory would be the right one, ...
0
votes
1answer
330 views

how can I recursively run chmod -x?

So I have my music collection living on my 12.04.2 server. This Collection has traveled with me over the years from a Windows machine to a MacBook Pro, and then finally to where it is today on the ...
0
votes
3answers
1k views

CHMOD folder permissions to access by http

I have this ubuntu web server and I want to give permissions to access only by http but I don't want the folder to be visible to the network users. I have a subfolder were users upload some files and ...
3
votes
4answers
197 views

What is “chmod” and its practical aspects?

I am new to Ubuntu and I used to do everything on Windows. As much as I know Windows has "read only" file option for the user. However, in my opinion, Ubuntu allow the user to manipulate file ...
0
votes
1answer
87 views

How do I change the permissions of a system file on every login?

I need to make a system file writable without using sudo so I typed: sudo chmod 646 /path/to/file It worked… …until I rebooted, because the file is recreated on every boot. How do I change the ...
1
vote
1answer
37k views

how to make chmod 777 all /var/www subfolders

im running webserver and ftp server, where my /var/www is binded on my /home/user/www i made both directory at chmod 777 (which is fine since its for testing only) i can upload files inside ...
1
vote
0answers
140 views

how to recover file and folder permission?

I made this mistake at the /usr directory sudo chmod -R 777 bin The next time i used sudo, it gives me this prompt: sudo must be setuid root What I did is copy and replaced this sudo thinking it ...
0
votes
1answer
468 views

Changing directory permissions [duplicate]

Hey I need to change the permissions of the /var/www directory But it won't let me. I've tried the chmod command, I've also tried it with sudo and still nothing. Please HELP!! ...
0
votes
1answer
353 views

Accidentally ran “sudo chmod a+rx ~”

I accidentally ran sudo chmod a+rx ~ on the system root rather than sudo chmod a+rx myfolder... I ran sudo chmod -R a+rX myfolder/public_html then accidentally ran sudo chmod a+rx ~ instead of ...
0
votes
1answer
96 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
1answer
359 views

problems with /etc/sudoers

I am running ubuntu 12.04 on i3 laptop. By mistake I changed the permissions and changed the user(from root) of /etc folder and I am getting a error when trying to use sudo like: sudo: /etc/sudoers ...
0
votes
1answer
981 views

Unable to run compiled files - bash: ./a.out: Permission denied. (I've tried chmod)

First of all, there are many questions like this on AU. Still, none of them solved my problem. I've compiled my C source using cc test.c, and it did generate a.out file. However when I run it I get ...
2
votes
1answer
352 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
1answer
430 views

Unable to make files executable (on ntfs filesystem mounted as rw)

I'm baffled. I've looked around for awhile on this but nobody seems to have quite the issue I do. I have an ntfs partition for all of my stuff, and I want to run some programs off of it. However, I ...
1
vote
2answers
241 views

Peculiar permissions/group trouble

I've tried creating a separate user account for rtorrent and sickbeard (a torrent downloader) so everything isn't running as root but I've bitten off more than I can chew. I've chmodded 2770 (setgid, ...
0
votes
0answers
1k views

What to do after 'chmod -R 777 /'? [duplicate]

I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as ...
1
vote
1answer
298 views

Not able to change permission of a file to add +x [duplicate]

I am not able to understand what is the issue here ? vks@vksTP:~/dropbox/shells$ ll sssh.sh -rw-rw-rw- 1 root root 1218 Mar 17 17:58 sssh.sh vks@vksTP:~/dropbox/shells$ sudo chmod +x sssh.sh ...
5
votes
1answer
432 views

How to change default file/folder permission of specific user?

How can I make any folders or files created by a certain user always be public (accessible by anyone) in Ubuntu?