Why don't I have write privileges on my Wordpress theme directory?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Check the attribute set on that particular directory. You can check the attributes by lsattr /directory_location. If there is a immutable attribute set on that directory/file you won't be able to write to it. It will open in read only mode.
This attribute is set to prevent any unintended write operation to that file/directory. You can change the immutable attribute by using following command:
[root@localhost ~]# mount |grep /
/dev/mapper/VolGroup-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
/dev/mapper/VolGroup-lv_home on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/dee/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dee)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
/dev/sdb1 on /media/My Book type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
[root@localhost ~]# mount |grep /dev/sda1
/dev/sda1 on /boot type ext4 (rw)
[root@localhost ~]# mount |grep /dev/sdb1
/dev/sdb1 on /media/My Book type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
[root@localhost ~]#
Alright the partitions seems to be mounted with rw options so there is no reason as to why you are not able to write. We still have one more thing that we can try i.e. to reboot the system and see if you are able to write after that. If not we can try turning off mysqld and then try to write to the file as to see if we are not able to write because files already being locked by the application.
You can still see the files that are in use by mysql by typing the following command:
lsof | grep mysqld
Last edited by T3RM1NVT0R; 05-22-2011 at 12:48 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.