CentOS 5 :: Unable To Edit/delete File - Operation Not Permitted
Mar 31, 2011
I'm having a problem where I'm unable to delete a file, even as root. Any attempts to remove or otherwise modify the file result in 'Operation not permitted'.
# rm d91c6a6e_2a2d7_out.xml
rm: remove regular file `d91c6a6e_2a2d7_out.xml'? y
rm: cannot remove `d91c6a6e_2a2d7_out.xml': Operation not permitted
View 3 Replies
ADVERTISEMENT
Oct 14, 2010
I`ve been given a project to design a program that will interface with a hardware device through the parallel port.And so far it`s not going go. I managed to write the programe an compiled it, but when runing it the compiler says: 'changing ownership of'and then the file name then it continues to say, 'operation not permitted'.
View 9 Replies
View Related
Dec 7, 2009
Fedora 12 gcc 4.4.1 I am doing some programming, and my program gave me a stack dump. However, there is no core file for me to examine.
So I did:
Code:
ulimit -c unlimited
and got this error message:
Code:
bash: ulimit: core file size: cannot modify limit: Operation not permitted I also tried setting ulimit to 50000 and still got the same error. The results of ulimit -a:
Code:
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
[Code]...
View 3 Replies
View Related
Oct 14, 2010
[URL] and i get an error message:
"unable to set CAP_SETFCAP effective capability: Operation not permitted"
anyone know what i should do to get pokerstars working
View 3 Replies
View Related
Oct 4, 2010
I've been trying to remove a folder, but a file residing within this folder is not allowing me to. I've, also, tried removing the file manually to no avail:
[root@ps-dev-app1 mnt]# rm -rf img-mnt
rm: cannot remove `img-mnt/.journal': Operation not permitted
[root@ps-dev-app1 mnt]# cd img-mnt/
[code]....
I've tried changing the permissions/ownership on the file, but same result:
[root@ps-dev-app1 img-mnt]# chmod 777 .journal
chmod: changing permissions of `.journal': Operation not permitted
[root@ps-dev-app1 img-mnt]# chown root:root .journal
chown: changing ownership of `.journal': Operation not permitted
Also, this is not a mounted drive, even though it shows up under the /mnt directory. I've checked and nothing is mounted there.
View 6 Replies
View Related
Feb 26, 2010
I am having a problem when I try to login as su.I type the command SU and then the password as normal and I get su: cannot set groups: Operation not permitted I am not sure what could of caused this error and how to fix it.
View 2 Replies
View Related
Jul 18, 2010
I have a file named password in my home directory. I want to delete it.
Code:
:~$ rm password
rm: cannot remove `password': Operation not permitted
Code:
:~$ ls -l password
-rw-r--r-- 1 adit adit 8 2010-06-29 10:00 password
This is my home directory. I am the owner of this file. Still I can not delete this file.
View 4 Replies
View Related
Dec 16, 2010
I am trying to modify the user and group for a directory on my SD card, but I get an "Operation not permitted" error even when I'm signed in as root. I have the SD card auto mounted using:
Code:
root@ubuntu:/media# cat /etc/fstab
/dev/mmcblk0p1 /media/sd vfat auto,user,dmask=0000,fmask=0111 0 0
View 5 Replies
View Related
Jul 19, 2011
I just setup a server using ubuntu server edition also installed apache, php, mysql and phpmyadmin.. when i try to setup FTP permission via winscp i get the error /var/www/phpinfo.php: Operation not permitted. ans so on for other files present there..
View 3 Replies
View Related
Jul 24, 2011
I'm trying to setup ACL (access control lists) on my /var/www folder so myself and my roommate can work on a site together. I've installed ACL and added the acl option to fstab for the root (/), but whenever I try to setfacl, I still get
Quote:
setfacl: /var/www: Operation not permitted
I can however share folders in my /home directory so I guess it has to be that /var isn't getting the ACL option. Here is my fstab file:
Quote:
proc /proc proc nodev,noexec,nosuid,acl 0 0
/dev/mapper/franklin-root / ext4 errors=remount-ro,acl 0 1
/dev/sda1 /boot ext2 defaults,acl 0 2
/dev/mapper/franklin-swap_1 none
What am I missing?
View 1 Replies
View Related
Feb 16, 2010
I couldn't install everything during setup of my debian server, so I installed post setup through the Add/Remove Programs. My guess is there is so much installed that either DHCP is not setup properly or there is a firewall installed. My computer found an IP address from my router but cannot connect to the DNS service or ping my router. I type: ping 192.168.1.1 computer resp: "ping: sendmsg: Operation not permitted"
View 4 Replies
View Related
Oct 25, 2010
I'm setting up a network backup on a workstation here using Webmin. I'm backing up to a local FTP server. I set everything correctly (FTP credentials, directories, etc) but I get an error saying "Could not create file" and another saying "Cannot write: Operation not permitted"
View 1 Replies
View Related
Aug 17, 2015
After upgrading to Debian 8, I'm having a bit of trouble with systemd, since I'm not used to it (seeing as it was all init when I started). I tried to use a tutorial to create a new service and one step in it was to run
Code: Select allsystemctl enable xxx.service
Unfortunately, every time I run systemctl - even without parameters - I get this error:
Code: Select allFailed to get D-Bus connection: Operation not permitted
View 5 Replies
View Related
Jun 14, 2011
Below is the oneliner that I am using to exclude all of "." hidden directories within the same directory.
Code:
cd find . -depth ( -wholename ./.* ) -prune -o -print | cpio -oav > /media/caca/extract/full$date.cpio
it works fine but when I extract the files from the full$date.cpio archive it appears to have worked but gives me permission errors:
Code:
cd /media/caca/extract
cpio -ivd < full061411.cpio
cpio: Selection_001.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_001.png
cpio: Selection_002.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_002.png
[Code]...
View 4 Replies
View Related
Nov 26, 2008
i have written one backup script in linux workstation.The backup script will do zipping files and moved to the backup directory(i,e /net/ts-bcn/sb_backup/sand). while moving zipped files to the backup directory i am getting some error like this #error:mv:failed to preserve ownership /net/ts-bcn/sb_backup/sand operation not permitted. i am getting the file owner and group owner as nfsnobody for the zipped files.
View 1 Replies
View Related
Feb 26, 2010
I am running Ubuntu 9.10 Karmic Koala, and I am having problems with GDB. When I attempt to debug a C program in kdbg or codeblocks, the output terminal will display this message: "warning: GDB: Failed to set controlling terminal: Operation not permitted" I have searched quite a bit and I have not found a fix that works.
I am running the latest stable versions of all my software supplied by the ubuntu repositories My system meets all the dependencies for KDBG and Codeblocks
I am running gnome, but the KDE files installed by Synaptic are version 3.5.10
I have KDBG version 2.1.1
I have GDB version 7.0-0ubuntu1
I have CodeBlocks 8.02-0ubuntu4
If anybody needs any more information in order to give ideas or knowledge on how to fix this just let me know
View 9 Replies
View Related
Apr 6, 2010
I run a small site and today I've discovered that my site is down. I found that cPanel has flagged the account suspended even though I haven't got any quotas on the account. I don't know what went wrong. I've tried to unsuspend the account in WHM but a certain part of the function failed.
Quote:
safe_userchgid: chown: /home/crocbits/public_html: Operation not permitted at /scripts/cPScript/SafetyBits.pm line 93.
After searching the internet someone mentioned that the problem might lie in the permissions of the public_html folder. I had a look at the permissions and the folder had no permissions d----- When I try to chmod the folder I get this error:
Quote:
chmod: changing permissions of `public_html': Operation not permitted
I have no idea what to do next. All the files in the directory are locked too. I tried to move them but this command isn't allowed either. I ran these commands under the 'root' user in SSH.
View 11 Replies
View Related
Aug 22, 2010
I am running Oracle Enterprise Linux x64 5.5 on an HP Proliant DL380 G6 attached to various SAN's via fibre channel. I have setup multipath, edited multipath.conf, lvm.conf, and after some trial and error, everything behaves and looks as it should in regard to multipath. However, when I try to resize a multipath ext3 lvm filesystem, The operation runs for a while, but then dies and I get the above error. I then see this error in /var/log/messages:
EXT3-fs warning (device dm-9): ext3_group_add: No reserved GDT blocks, can't resize
-I am only using the /dev/mapper/ paths to the filesystem (ie, resize2fs /dev/mapper/testvol-lvol1 128G)
-if I unmount the filesystem, resize2fs works fine
-Have tried removing and re-adding journal file via tune2fs with no luck
-The VG has plenty of room in it and is composed of a 100GB and 200GB partition.
-Inode resize is on in the filesystem
I am wondering if online resize2fs is only for small filesystems or not recommended as a best practice or just not generally done??? As I mentioned, the operation works fine offline if I unmount the filesystem, but this won't be an option once system is in production.
View 3 Replies
View Related
Jun 10, 2010
LDAP authentication problem on debian squeeze? To my knowledge, I have everything setup properly to do ldap authentication + local authentication on a host. I can login as a local user. I can login as an LDAP user.
When I log in as an LDAP user, my primary group is set properly. It is an LDAP group. I can change the group ownership of files to LDAP groups using chgrp. So far so good. This all works as expected. The commands getent passwd and getent group work wondefully, and generate the expected results. I can newgrp to any *local* group, but if I try to newgrp to an ldap group, I get the following error:
setgid: Operation not permitted. I've tried googling and asked on #debian on irc.debian.org. No luck.
View 2 Replies
View Related
Feb 20, 2010
I updated my lucid alpha testing (64 bit)install after which I am unable to boot into any of my Ubuntu installs(sda11 has a dedicated Burg partition and sda10 has the stable karmic (32 bit)install and sda9 has the testing lucid install) Now I am trying to recover (rewrite Burg or at least grub2 on the MBR) my installs
This is what happens
custom@custom:~$ sudo mount /dev/sda10 /mnt
custom@custom:~$ sudo mount -o bind /dev /mnt/dev
custom@custom:~$ chroot/mnt
[code]....
i tried a slightly different code with little success
custom@custom:~$ sudo mount /dev/sda10 /mnt
mount: /dev/sda10 already mounted or /mnt busy
mount: according to mtab, /dev/sda10 is already mounted on /mnt
[code]....
I also ran a whereis for bash and it also is there
View 9 Replies
View Related
Mar 14, 2010
I have a WD MyBook World NAS share mounted with the following options (I tried also other options):Code:cifs nouser,atime,auto,rw,nodev,noexec,nosuid,nodfs,nounix,guest,uid=0,gid=0,file_mode=0777,dir_mode=0777The cp -a, touch, etc. commands can change the file time if the root is executing the command (means NAS supports time setting), but as an user I can't change the file time - with an exception of changing the time to the current time. For an illustration see below:
Code:
.../tmp> ls -la
total 0
[code]....
View 2 Replies
View Related
Jan 13, 2010
I use a wired Dlink Adsl Router GLB502T with its inbuilt dialer configured. Problem is it will not connect while computer is running.When I try to ping the local ip of the modem this is what I get "ping: sendmsg: Operation not permitted" and "/etc/init.d/networking restart" has no effect either.I need to restart my computer every time i want to connect to the Internet.I switch on the modem when the grub bootloader appears and the modem connects without any problem.This problem appeared when i installed Ubuntu 9.04.There was no problem with Ubuntu 8.04.
OS:Ubuntu 9.04
Motherboard: Asus M2N68-AM
NVIDIA Geforce 7025/nForce 630a
RTL8211CL Phy Gigabit LAN
[code]....
View 4 Replies
View Related
Apr 18, 2011
I am trying to create a jailed shell for a user Don($UID '500') using my own method(I don't want to use any ready-made "jailkit"). The user don should get a home directory /jail/don instead of /home/don when he login via SSH (So that he will not able to see any other files/directories on the system)
This is what I have done.
Quote:
Code:
It works without any issue ....Home directory changes to /jail/don when I ssh to the system as user don. ie: #ssh don@192.168.0.66
Then I added a chroot command to this code.
Code:
Unfortunately , now I am getting an error message saying that "chroot: cannot change root directory to /jail: Operation not permitted" .. I am not sure how to rectify this error... Is my approach correct to get a jailed shell using /etc/profile file ?
View 8 Replies
View Related
Jan 4, 2011
i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.
View 2 Replies
View Related
Oct 4, 2010
I've been trying to mount ftp on a directory, using curlftpfs, but when I run:
Code:
curlftpfs user:pass@server /mnt/mount-point
I get the error:
Code:
fuse: device not found, try 'modprobe fuse' first
And when I run it, I get:
Code:
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Could not load /lib/modules/2.6.32-dyomin.1/modules.dep: No such file or directory
Code:
mknod /dev/fuse c 10 229
After that when I run the mount command ) get the error:
Code:
fuse: failed to open /dev/fuse: Operation not permitted
View 4 Replies
View Related
Aug 2, 2010
I am developing a java application that deals with the parallel port I used the parport library, I have the following problem: I am using netbeans 6.9 and linux redhat, when I run the code (java code that controls parallel port) from netbeans I get: "ioperm error: Operation not permitted" I used the "clean and build" function in Netbeans to create the jar file (test.jar) then I changed the permission of the test.jar to root using this command "chmod 4777 test.jar" and the test.jar file worked just fine as a stand alone file, but I still get the same error message when I try to run the program from Netbeans
View 1 Replies
View Related
May 1, 2011
i see this error in system.log
May 1 03:15:01 master cp: error processing extended attributes: Operation not permitted
May 1 03:15:02 master cp: error processing extended attributes: Operation not permitted
May 1 03:15:02 master 700.daily.server.cyrus: Error: /etc/MailServicesOther.plist postfix does not contain a dictionary with key log_rolling_days.
[Code]...
View 1 Replies
View Related
Oct 6, 2010
I am trying to install a third party driver and the provided makefile makes a call to insmod. Whenever I try to install this I run "su", so I am root and should have permissions. However, when I run "make install" I get the following output:
Code:
# make install
Unloading any instances of foo module
Loading new foo into running kernel
insmod: error inserting 'foo.ko': -1 Operation not permitted
make: *** [install] Error 1
Like I said before, I'm doing this as root, so I don't see how this is possible. Additionally, every time I try to do this it seems to cause a lot of damage to whatever kernel I'm currently booted in; USB and ethernet (and hence the Internet) stop working and I have to wipe the kernel and reinstall it.
View 10 Replies
View Related
Jul 26, 2010
have a simple program attached below. I login as root, compiled and ran setgid_test.c as root also. The program simply tries to copy a file "seed_file" to a new "test_file". The new "test_file" should have user id: 40088, group id "40000". When I ran a.out, setuid() worked, but setgid() failed. I have to have this work, because I always login to a root, but will create files with different uids and gids to test a quota system.Please note that both uid and gid I used are valid. I have NIS client setup properly.[root@rtplab101 sunp]# ypcat passwd|grep 40088 |grep 40000dvt_usr40088:aK5r4VXKZIBUo:40088:40000:quota_testing:/:/bin/cshMy Linux client is running RedHat 5, Linux 2.6.18-92.el5PAE
-rwxr-xr-x 1 root root 2406185 Jul 26 10:56 seed_file
-rw-r--r-- 1 root root 632 Jul 26 2010 setgid_test.c
-rwxr-xr-x 1 root root 5928 Jul 26 2010 a.out
[code]....
View 2 Replies
View Related
Dec 12, 2010
I'm running CentOS 5.3 in an openVZ container, and I'm receiving "operation not permitted" errors from Nmap.
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN Nmap done: 1 IP address (0 hosts up) scanned in 3.15 seconds
I have no iptables rules set.
How can I get this working?
View 1 Replies
View Related