elprawn |
12-04-2008 10:32 AM |
Quote:
Originally Posted by TB0ne
(Post 3364382)
Not alot of information to go on. Were you root when you tried to change owner/permissions on that directory? And you'll also have to change perms on the files too....
As root, run "chmod -R 777 <directory where your files are>". VERY unsafe, though, and to be used sparingly. I'd do a "chmod -R 755 <directory>", then change owners of the file(s) to be the tomcat user/group, which should let it delete those files.
|
Those are basically the two things I tried, yeah. I opened a terminal as root, tried first doing "chmod 777 directory" (whilst the directory was empty), which didn't report any errors, but didn't actually change the permissions.
Then I tried "chown tomcat directory" and that one gave me an Operation not permitted error, even though I was trying it as root.
I have external windows computers adding files to the folder (it's on a samba share) and the files are automatically owned by root, so it's not really feasible to change the file permissions each time, because I want the files to be immediately accessible by tomcat.
|