How do I make a text file writable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The file listed below is a simple text file containing an integer number
to denote the number of visits to a web page. 

A php script (counter.php) is supposed to increase the number by 1 every
time the page is accessed. It appears that everything happens as it is
supposed except for the incremental number of the visits. I think the
counter.txt file is not writable. 

How do I make it writable? Do I need to change httpd_sys_content_t to
something else?

-----------------------------------------------------------------------------------------------
-rw-rw-r-- web web system_u:object_r:httpd_sys_content_t counter.txt

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux