Ubuntu :: Permsissions Not Set After Issuing Chmod Command
Jun 15, 2011
Have a look at the image. i hav two users ,one is apoorv(administrator) and other is others(ordinary user). i want to restrict the ordinary user from accessing the files directory as shown in picture. so i tried the chmod command with o-rw option. but its not working ..i hav enabled auto mount for all partitions at boot time.
View 4 Replies
ADVERTISEMENT
Apr 16, 2010
i've mistyped while issuing the command rm -rf and instead of doing rm -rf * i used $.now i have a big problem cause i can't use any commands like ls,cat,...operating system: debian lennyEDIT:weird thing is i have 2 terminals open to my server. On the one i issued the rm command it <<mod edit: "does not work correctly">>but on the other one i can do all commands.
View 11 Replies
View Related
Sep 8, 2010
I just rebuilt my system from cd CentOS5.5
Went to make a dir and got this...
The command took a while to come back. I googled it but nothing came back.
Could this be hadw error? The drive is new. I was able to issue the command again and have it work.
View 2 Replies
View Related
Oct 4, 2010
I have been trying to set up an LDAP server for a development environment as part of an internship for a week now, and I cannot get past this point. I have been following the 10.04 server guide to set up LDAP here: URL...Once I get to the following point in the guide, it just hangs:"As an example of modifying the cn=config tree, add another attribute to the index list using ldapmodify:"I've been working on this for a week and can't understand why this won't work. I am fairly certain that I've followed the guide to a 'T.'Any idea why am I receiving a permission denied error? Is this a permissions issue with one of the config files?
View 9 Replies
View Related
Jan 6, 2010
I'm such a newbie when it comes to Ubuntu, or any Linux varient, period. I was trying to install a driver for an HP All-in-One Printer and was trying all kinds of commands from different Google searches... still unsuccessful in the installation. I downloaded the file to my desktop, but after using a Chmod command someone mentioned, I now have a folder on my desktop named:
hplip-3.9.12
i right-click
select
properties
Basic Tab
Type:folder (inode/directory
Contents:unreadable
Location:/home/mesk/Desktop
Permissions Tab
Owner:root
Group:root
"You are not the owner so you cannot change these permissions". The folder's icon on my desktop has a red box with white circle on the middle right side and a lock symbol above that. I'm the only user so I don't get why the permissions are protected from me, how do i undo this?
View 6 Replies
View Related
Jan 20, 2011
I am just starting to learn to script and I need to know what this doesn't work, here's the error I get:
"chmod: command not found"
The error goes away when I delete the line with "dirname $NAME" in it.
#!/bin/sh
echo "enter file name with extension and path"
read NAME
FULLPATH=`dirname $NAME`
OPENFILE="open "$NAME
OPENPATH="open "$FULLPATH
echo $OPENFILE > /Users/admin/Desktop/tmpLink
echo $OPENPATH >> /Users/admin/Desktop/tmpLink
chmond +x /Users/admin/Desktop/tmpLink
View 2 Replies
View Related
Apr 14, 2011
How can I give execute permission to chmod command from run level 3.Because in GUI mode we have the execute option in the properties of file. E.g. I gave following command
chmod -x chomod
After that I want to give the execute permission (x) to chmod command again but how from command prompt?
View 5 Replies
View Related
May 4, 2011
nfs mounted directory which is mounted rw. I and everyone else are members of a common group. We all have write permissions in the tree: All files and directories in the tree are in the common group. All directories are set to 775 and all files are set to 664 or 775, as appropriate.If a file is owned by someone else, even though the file and the directory are group writable, I get permission denied when I try to chmod the file.
Here's the command synopsis:
997 > ls -l portparms.txt
-rwxrw-r--. 1 bdaugher fc 4091 Sep 5 2003 portparms.txt
[code]...
View 2 Replies
View Related
Jul 14, 2010
I've been searching the web, without finding any sollution to my problem.vsFTPd is acting really weird. I've never seen this problem before, and I've been using vsftpd for some years nowWell.. The thing is, I've made a user that chroots to the folder /var/www on my server. And when I then try to chmod the file /var/www/htdocs/testsite/index.html through my ftp-client, I only get the error "550 SITE CHMOD command failed.", and when I then check in my /var/log/vsftpd.log it says
Code:
FAIL CHMOD: Client "192.168.50.58", "/htdocs/testsite/index.html 777"
Which I think would mean that it tries to chmod the file "/htdocs/testsite/index.html" instead of chmod the
[code]....
View 7 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
Jul 7, 2011
I've just tried to create my first own live-cd using the instructions here: [URL] With the minimal kickstart I get a weird problem though:
...
Installing: libselinux ##################### [ 81/114]
Installing: psmisc ##################### [ 82/114]
Installing: MAKEDEV ##################### [ 83/114]
[code]....
Notice that "chmod" and "touch" are part of the package coreutils which gets installed only after these commands are used. I'm seeing a similar problem with selinux being referenced before the libselinux package is installed. I can boot the resulting image but after the kernel boots it panics because it cannot find /dev/root which might or might not have something to do with the errors above.
View 2 Replies
View Related
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
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
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
Jan 9, 2010
I've scanned my computer (I'm using Ubuntu 8.04 Hardy Heron) and ClamAV has issued it has found a virus called Exploit.PDF-9669. What seems strange to me is that such a warning always happens (or, at least, in the most cases) in the same folder tree "sys" and ClamAV issues the very same virus/malware warning (Exploit.PDF-9669).
An example:
sys/devices/virtual/vtconsole/vtcon0/uevent: Exploit.PDF-9669 FOUND
sys/devices/virtual/net/ppp0/address: Exploit.PDF-9669 FOUND
sys/devices/virtual/net/ppp0/broadcast: Exploit.PDF-9669 FOUND
sys/devices/LNXSYSTM:00/device:00/uevent: Exploit.PDF-9669 FOUND
My ClamAV version is 0.94.2/10275/Fri Jan 8 22:06:46 2010. It has been not updated since I installed Hardy in my computer last year. Is my computer in danger?
View 2 Replies
View Related
Feb 17, 2010
We have a COM Express carrier board with Intel Atom processor.What happens is COM board issues a reset signal every 3 sec.I am not sure whether its entering BIOS or not..I could not hear any beep..It is difficult to probe the POST error codes on port 80 in this board.And there is no way for display also..Is there any fatal errors where BIOS resets the CPU..?..As far as I know it just halts on encoutering a fatal error..
View 1 Replies
View Related
Oct 17, 2010
I am having a weird problem here. The open programs are closing secretly without giving any indication or issuing error. For example I open couple terminal and some minutes later I look at my screen, boom they are not there anymore. This issue is not just limited to terminals, other gui apps suffer from the same thing. Does anyone know if any program or service would do such a thing?. I am scratching my head here to figure out why that is the case It just started happening today.
View 2 Replies
View Related
Nov 18, 2010
We are experiencing problems copying files from a server to server where the machine issuing the copy is a 32-bit lucid and the mount drive is a 64-bit server. I have no other information but the md5's are consistently different after doing a copy. The files are > 8mb.
View 2 Replies
View Related
Dec 11, 2010
Well I did something really stupid:sudo chmod 700 -R /Why? because it's late and I'm tired and somehow thought it was only on my current dir...Is this somehow fixable? I don't get my usual loginscreen so I guess through an tty?
View 9 Replies
View Related
Mar 7, 2010
I just finished setting up my home ubuntu home server. Installed LAMP and it works beautifully. The problem is everytime I upload a file through FTP into the server, the file changes permission even though I did chmod -R 755 www. Si everytime I upload a file to my server i need to run the command chmod -R 755 /var/www
View 1 Replies
View Related
Apr 11, 2010
or at least, it doesn't seem to. for some reason, my .txt, .doc, .rtf, and other files that shouldn't have the execute bit set often seem to (i think i know why, but that's not important). it's my understanding that this command should, for example, remove the execute bit from all .rtf files recursively (that is, from .rtf files in subdirectories too):
Code: chmod -R 666 *.rtf i've read help and the man page for chmod, and it seems that -R switch should make chmod work recursively, but it only alters files in the present working directory. could someone point out what i'm doing wrong?
View 9 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 12, 2011
it seems to me I can't get chmod to function recursively. I have a folder with a couple subdirectories in it and a few in each of those etc. Now, I want to give everyone read-write on all .c files. So, I typed in terminal:
Code: chmod -R 666 *.c However, none of the .c files in any of the subdirectories were touched, i.e. I could have accomplished exactly the same thing by typing
Code: chmod 666 *.c I did RTFM, and it seems that what I did initially should have been the ticket. What am I doing wrong?
View 2 Replies
View Related
Mar 20, 2011
I have been working closely to the Katana boot kit here recently, and this is bugging me. I am trying to use a new program to Katana called Forge. I have it on my flash drive, and I open the properties to make it executable, and when I click something it automatically changes back. I have tried the basic stuff, sudo nautilus.
View 1 Replies
View Related
Jun 18, 2011
I have spent the last 2 hours trying to get this to work and it is driving me crazy, I have a 11.04 box and have setup some zfs filesystems for data storage, I have 2 users and have created a group called media and added both of the users to the group. I have changed the group of the directory to media and have set chmod g+s
root@saturn:/tank/data# ls -l
total 8
drwxrws--- 2 root media 2 2011-06-18 13:59 Backups
drwxrws--- 2 root media 2 2011-06-18 14:26 Music
drwxrws--- 2 root media 2 2011-06-18 12:44 Pictures
[Code]...
View 1 Replies
View Related
Jun 20, 2011
I'm having problems with chmodding a NTFS directory. I'm having problems accessing the directory through samba because of some missing permissions, but when I try to set them, nothing happens.This is what I do:
Code:
root@proliant:/media# ls -l
total 32[code].....
I also tried to replace 'hdd.1' with '/media/hdd.1' and 'hdd.1/'
View 2 Replies
View Related
Dec 19, 2009
I have an external fat32 hard drive. It already has some files on it. Now, I mounted it and it shows the owner to be root. fine. but when I change the permissions, it does not seem to change it. I am not able able to access the directories, even as root !.I was able to create directories, but "luckybackup" wan not able to write to it due to permissions. I take it the lucky backup is executing as root/ but even otherwise, if I do chmod ugo+rwx, why do the permissions dont change ? (no erorr message by chmod).
here is the stuff: (ext drive mounted at /seagate)
rootubuntu--seagate# chmod ugo+rwx *
rootubuntu--seagate# ls -l
total 128
drwxr-xr-x 10 root root 32768 2008-08-11 21:03 HPComputerKeyFolders
drwxr-xr-x 9 root root 32768 2008-08-11 21:02 Other
drwxr-xr-x 2 root root 32768 2007-04-06 18:27 Recycled
code....
View 3 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
Sep 3, 2010
I recently installed Ubuntu 10.4 on an Intel machine. The machine also has Windows 7. So some of the partitions of the hard drive are Windows compatible (NTFS). They are all mounted when system is booted with Ubuntu and all files are accessible. However, when I try to change permission or limit access to a group, CHMOD command does not work. It doesn't return any error and everything seems to work fine but I can't change any permission.
View 8 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