General :: Chmod: Changing Permissions Of Public_html: Operation Not Permitted
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
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
Mar 15, 2010
I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:
chmod: changing permissions of `whatever': read-only filesystem.
This is my mount table:
[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
[code]....
View 6 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
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
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
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
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
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
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
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
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 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
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
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
Feb 16, 2010
I am using chmod(), function to set permissions for my files/directories.How can I set -R flag for it???
View 4 Replies
View Related
Mar 31, 2010
I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.
View 3 Replies
View Related
Jan 17, 2011
I would like not check first, and if not ok, then to write the permssisions. Means no use to write endessly on disk if not needed. How to check and fix the permissions to avoid writing (chmod o-rwx /home/*) ?
View 3 Replies
View Related
May 15, 2011
I have a Qnap 219p NAS to which I have connected a USB external harddrive. I can access the external harddrive from my windows box using the network share, but at first i couldn't access the folders. The permissions set in the NAS GUI for the external drive is correct and are identical to the permissions set to the 2 internal drives.
I ssh'ed to the nas and used 'chmod -R 770 /share/external/sds1' - this granted me access to the folders, and some files. I can open all files in the root, but if I go just 2 folders 'deeper', i can't open the files in this folder, and in the folders after that.
In ssh, if i navigate to the folder wher I cannot open the files and use 'ls -l', i can see that the permissions (770) hasn't been applied to these files. How can I get chmod to apply the 770 permission to all files, folders, subfolders and files in subfolders etc., without having to chmod every folder one by one?
View 8 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
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