Red Hat / Fedora :: Getting File Or Dir Modes Before Chmod?
Jan 28, 2011
Does anyone know of a trick or tool that will show me ther directory?Example:neatcmd.bash /dir1/dir2/file1 /dir1/dir2/file1 permissions are 0640Or does anyone know of a tool or command what would convert, for example rwxr-x--- to 0750 suppose it could be scripted, but I was trying to make sure I did not have to re-invent the wheel if something was already out there.
View 3 Replies
ADVERTISEMENT
May 9, 2011
I was trying to install vmware.bundle file, and found a terminal command that helped me install the program.
su
chmod +x VM*.bundle
./VM*.bundle
I was just curious what the command chmod was for? Just trying to understand the terminal a little better.
View 1 Replies
View Related
May 30, 2010
I am running a mainframe emulator on an old HP server in runlevel 3 text only. I have googled a bit but found no information on controlling the text video mode in runlevel 3. When I boot my Fedora 12 system chooses the highest resolution it can meaning my c3270 terminal emulator program (80x25) is in tiny font occupying a fraction of the upper left corner of the screen. I have looked everywhere but can find no mode setting commands for runlevel 3 text only.
View 7 Replies
View Related
Dec 27, 2009
I use 3 computers attached to a kvm switch (not the hypervisor) and this works fine w/ windows xp and ubuntu 9.04 and earlier. However I am having a problem w/ Fedora 12. It seems that it cannot read the EDID block, so I am not able to set the display above 800x600. There is no xorg.conf file, so I had one generated by Xorg -configure :1. I also tried using the modeline instructions, but the Xserver would not start until I removed modeline. I have tried adding to Section "Screen"
Subsection "Display"
Modes "1280x800"
EndSubSection
but it seems that this is ignored. how can I get the Xserver to set display modes above 800x600 when it cannot read EDID (thru a kvm switch) and it seems to be ignoring settings in xorg.conf?
View 6 Replies
View Related
Jul 17, 2010
I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.
-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix
[code]....
View 1 Replies
View Related
Jun 7, 2009
Something keeps changing the mode of ~/Desktop, ~/Music, ~/Pictures and ~/Videos to 0777! Anyone know what's doing this, why it's doing it, and how I can stop it?
View 8 Replies
View Related
Dec 10, 2010
I have installed php, mysql, and apatche. And i need the /var/www/ folder to be able to be read witten, and acsessed by anything. I have tried chmodding 777. But it still doesnt work.
View 5 Replies
View Related
Jan 4, 2011
I had created a file under a directory & set the permissions through chmod command but when I create another file under this directory, I get the default permissions. Is this due to umask or can I set the file permissions through chmod under a directory.
View 5 Replies
View Related
May 31, 2011
I'm trying lo lock a file (not using the chmod). This is the code I generated, but even locking the file I still can read and write the file from another process. (I'm working on a ubuntu 10.10, kernel 2.6.35-22-generic #35-Ubuntu SMP)
[Code].....
View 2 Replies
View Related
Apr 24, 2011
If I am not the file' owner or root, can I use chmod to change the file permission?
Assume I have group/write access to the file, e.g. 775
View 2 Replies
View Related
Feb 10, 2010
What does chmod 000 do?when i create a chmod'd file with the 000 permission what happens?I tried creating a file with 000 permissions, and I was still able to read and write to it. So what what does chmod 000 actually do?
View 6 Replies
View Related
Dec 18, 2010
The software I just bought (Lightroom 2.1) contains instructions to get my serial. I downloaded the sofware on my desktop and installed it. In the terminal, I wrote "chmod +x keagan", pressed enter and wrote "./keagan" and I get this message: No such file or directory. what I am doing wrong? I am working on Mac OS 10.4.
View 6 Replies
View Related
Feb 23, 2011
can chmod make any file executable?
View 4 Replies
View Related
Apr 11, 2011
that works to disallow non-owners from renaming the file, but what I wouldlike to do is disallow EVERYONE ( including the owner of the file ) fromediting, moving, or changing the filename once it is created. the only personwho should be able to make those changes is a special user.
View 13 Replies
View Related
Jun 17, 2011
I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod 777 xxx has been tried to make it work, but the error remains when I opened the applications again.
To be specific, I want to install phpFreeChat on my system, so I put those files in the /var/www/html/freechat directory, cd there and typed chmod 777 data/private, chmod 777 data/public on bash. Here's the result of list -al data:
drwxr-xr-x. 4 root root 4096 Jun 17 15:07 .
drwxr-xr-x. 13 root root 4096 Jun 17 15:22 ..
drwxrwxrwx. 2 root root 4096 Jun 17 15:07 private
drwxrwxrwx. 3 root root 4096 Jun 17 15:07 public
These all seemed all right to me, until I typed http://localhost/freechat in my browser. Here's the result:
phpFreeChat cannot be initialized,
please correct these errors:
/var/www/html/freechat/src/../data/private
is not writeable
[code]....
View 3 Replies
View Related
Jan 26, 2011
I want to have two kind of users in a work machine having ubuntu 10.04,
1) He is the admin, have sudo privilages and install, do all types of work, his username is abhilash
2) A user who is normally a IT administrator, who can just install or remove softwares, but cannot access files of abhilash.
I'm trying to do this and my head is going blank, The problem where i'm stuck is, if IT admin can install softwares, then he can become sudo as sudo su, then he can view my files
So here is a small test i did, first with abhilash.
Code:
Now others and group don't have any permissions! But when IT Administrator becomes root, he can see this file
Code:
View 5 Replies
View Related
Oct 22, 2010
here is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:
cd
chmod 777 ../bin/panel
cd ../bin/panel
[code]....
View 2 Replies
View Related
Mar 14, 2010
I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.
I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.
View 2 Replies
View Related
Nov 4, 2009
I wan to install a .bin file after I logged in as a super user also changing mod of the file doesn't work as proved through file properties I tried also chown but in vain here is a picture of the terminal:Quote:
[aratux@localhost downloads]$ su
Password:
[root@localhost downloads]# AdobeAIRInstaller.bin
[code]....
View 11 Replies
View Related
Feb 25, 2009
I have stipped down the test to the basics and still can't get it to work.I have a file called test.php stored in /usr/share/data/audio (an aliased directory in apache). This file simply contains the code...
Code:
<?php
fopen('play.xml', 'w') or die("can't open file");;
[code]...
View 3 Replies
View Related
Nov 25, 2010
Is there also an chmod GUI for read and write permissions?
View 5 Replies
View Related
Dec 18, 2009
I've got a simple set of c code that I use to talk to the parallel port.I use this to control some electronics. For some reason #chmod u+x /usr/bin/lptout does not work when I do an $lptout 17 (or any other value less than 256. I've run this code on other redora boxes but it does not work on a specific laptop we are testing.
Any ideas on what chmod is use to let a not su - user use./usr/bin/lptout ?
**************************************
Here are the directions I use:
$gcc lptout.c -o lptout
as su -
#cp lptout /usr/bin/
#chmod u+x /usr/bin/lptout
as normal user
$lptout 0-255
code....
View 3 Replies
View Related
Mar 31, 2010
I have a separate data partition on my F12 box with one dir for my children and subdirs for each of them. because they had no rw- rights and because they sometimes use one of the other logins to work for school I changed the permissions for their dir so that anyone has access. I used
Code:
# chmod -R 666 [their directory]
after that Nautilus displayed an empty folder even with 'show hidden files' on.however, with
Code:
ls -lh
on the dir and subdirs all the files seem to be present (luckily).
1. what did I wrong?
2. how do I get the files back using Nautilus?
View 6 Replies
View Related
Aug 30, 2011
I'm trying to make a particular file accessible on my computer ( /dev/uinput ) without having to use sudo or su - I've set up a wiimote to act as a remote for my media player, and it requires access to that file. When I use chmod, chgrp or chown to change the file's settings, it enables access to the file - however, when I reboot my PC, the settings get reset, and I have to change the access rights when I first use it again. I've tried using the following commands to make the changes (substituting my username/groupname as user and group below), as root:
[Code]....
View 2 Replies
View Related
Oct 10, 2010
So I am new to linux and computing in general:I am installing curphoo ( a yahoo chat client). The README file contains the following text:
Code:
You need a Python 2.4 series interpretter starting with Curphoo 0.4.0.
Starting with 0.4.0, Curphoo uses a purely Python implementation of
[code]....
View 14 Replies
View Related
Aug 20, 2010
Chmod has no option to skip lowering execute bit on directories? Now that's something I would consider a serious bug.
View 14 Replies
View Related
May 6, 2009
I did chmod -R g=rwx on /bin , /sbin
now I can not connect to the machine using root through telnet, ssh, scp, rsh or any means.
View 1 Replies
View Related
Dec 23, 2010
I've a pb on a directory...Same pb with others users... fsck -y says fs is clean...Re-apply chmod +r doesn't works...Data are on local HD (not SAN)
View 1 Replies
View Related
Jun 15, 2011
we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?
View 1 Replies
View Related
Nov 26, 2010
how do you enter into different modes of vmstat e.g-disk mode,disk partition mode and slab mode.going through man pages i figured out using "vmstat -p <partition> is for 'disk partition mode'.there is no info regarding diskmode and slab mode
View 1 Replies
View Related