Tagged Questions

chmod changes the permissions of each given file according to mode, where mode describes the permissions to modify.

learn more… | top users | synonyms

0
votes
0answers
9 views

How to automate CHMOD [duplicate]

How do I make the default value when upload a file via FTP for it to be 777. Like a have a ubuntu server, and one of the users has an application that created files in his folder, how do i make the ...
16
votes
2answers
8k views

Why don't I have a password for “su”? Problems with “sudo”

I have installed Ubuntu using the GUI, giving myself a password and everything. I do not intricately remember the process. However, what worries me is that I don't know the following password: $ su ...
0
votes
2answers
449 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
63 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
260 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 ...
2
votes
1answer
264 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
38 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
202 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
657 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 ...
1
vote
3answers
143 views

How do I unprotect a file which is owned by root?

12.04 LTS and I mistakenly protected a file named set using: chmod 700 /home/jatin/Desktop/set How do I unprotect it?
0
votes
0answers
18 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
0answers
117 views

sudo not working due to incorrect permissions

I broke my ubuntu server by typing the command chmod -R 777. Im trying to get it back to normal. Problems: When I try to use sudo, I get the error: sudo: unable to open /etc/sudoers.d/README: ...
0
votes
1answer
191 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
683 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 ...
1
vote
1answer
40 views

Getting issue with file permissions in Ubuntu 10.04

I've a development desktop having Ubuntu 10.04, Apache2 & PHP 5.3.2 installed. I've given 0777 permissions to my web application root folder and Apache2 is also running under current username. But ...
1
vote
1answer
68 views

In ubuntu matlab execution file cannot be run

I have stored my matlab installation in one of the partitions.But ubuntu doesn't recognize the matlab file as an executable file even after executing chmod +x command. Kindly help me to resolve the ...
0
votes
0answers
155 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
9k 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 ...
1
vote
1answer
318 views

Ubuntu corrupted log files

It seems that all my log folders located in /var/log are turning into files. For example, if I try to tail /var/log/apache2.log it will say "no such file or directory" I can see it in the file ...
0
votes
0answers
38 views

chmod a partition read-add files only

I am looking for a way to chmod an entire drive partition so that you are able to read and add files but not modify or delete them is there an easy way to do that? I have looked arround a bit but ...
0
votes
3answers
80 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 ...
0
votes
1answer
114 views

Why Kate can't edit my tex-file

I tried to edit a file by using Kate. But it said my file is read only (R/O). How can I change that? I tried sudo chmod a+rw kirjeet.tex & kate kirjeet.tex
1
vote
4answers
625 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
2
votes
3answers
14k 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
0answers
67 views

12.04.03 installation error

When trying to install 12.04 from USB, erasing a corrupt version of 10.04 (I had run chmod 777 -R / on it with root access), I get the following error: kernel panic - not syncing : attempted to kill ...
1
vote
1answer
161 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
517 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

changing chmod 755 to 775 on a directory will result in permission denied when connecting with sftp

When I change chmod in my /home/frans from 755 to 775 I get the following error when connecting with ftp fatal: bad ownership or modes for chroot directory "/home/frans" I'm a linux newbie and i'm ...
0
votes
1answer
65 views

Is chmod +x ./expand_lapw correct ?

I'm new user of Ubuntu. I have used redhat, however I wrote : chmod +x ./expand_lapw But there is nothing happen. Please let me know ?
2
votes
2answers
1k 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
557 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
84 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
123 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
337 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
2answers
161 views

Problem oracle installing from windows directory in ubuntu 13.04

I have two OS windows 7 and ubuntu. Oracle installer for linux stored in /media/sonnet/Main/oracle/disk1/ and /media/sonnet/Main/oracle/disk2/ here "Main" is an windows(ntfs) drive. when ...
0
votes
1answer
340 views

Cannot undo sudo chmod 655 /

I've accidentally run 'sudo chmod 655 /', and now I cannot undo this operation again because I cannot access sudo anymore. I'd actually wanted the permission to be set to 755. Is there any way I can ...
3
votes
2answers
2k views

How to make all new files in a directory executable

I want a way by which whenever I create a new file in a particular directory, I want it to be executable by default. Is this even possible, if so how?
0
votes
2answers
1k 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
4answers
6k views

How do I mark a .jar file as executable on Xubuntu 13.04?

I'm trying to get the minecraft.jar file to execute , but the check box won't come up when I go to Properties > Permissions. I don't know much about the terminal and its commands so if someone could ...
-2
votes
2answers
120 views

Is there a vi file editor in ubuntu like in unix?

I was a unix and redhat user, just started to use ubuntu. Is there a vi command to edit files? Is there a change mode command to change a file status to executable?
0
votes
2answers
501 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
94 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?
3
votes
3answers
7k 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 ...
5
votes
1answer
11k 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
1k views

How to fix sudo after “chmod -R 777 /var”?

I executed chmod 777 /var and now Ubuntu won't start, can anyone tell me what I did wrong? And if there is a way of going back?
0
votes
2answers
4k views

Installing XAMPP

I'm new to linux and I'm trying to install XAMPP I downloaded the file and I cant execute it, I followed the Instruction on http://www.apachefriends.org/en/xampp-linux.html#374 but when I'm trying ...
1
vote
1answer
159 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
134 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
12k 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
56 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, ...