Re: permission denied - can files be locked in linux?

From: Max (nospam_at_notvalid.com)
Date: 11/21/04


Date: Sun, 21 Nov 2004 01:48:55 -0500

I understand permissions, but I don't have shell access. Can you give me
some idea what is causing the lock on the files and ways to remove it? I
think PHP can lock files, but I didn't know it affected the filesystem...

I'm using EZ Web Hosting -- Apache 1.3.33 (Unix) -- I don't know what
filesystem.

Thanks

"Michael Heiming" <michael+USENET@www.heiming.de> wrote in message
news:mnm572-o2v.ln1@news.heiming.de...
> In alt.os.linux Max <nospam@notvalid.com>:
>> I'm having problems deleting and overwriting files on linux. I'm trying
>> to
>> modify templates in a PHP application on the live server. Even when I set
>> to
>> 777, some files still give me permission denied and I cannot overwrite or
>> delete them, even using the app provided by the hosting company. Is it
>> possible the PHP app could be locking them (like Windows does)? How do I
>> get
>> around this without shutting down the app or the server?
>
> Try:
>
> man lsattr
> man chattr
>
> Not uncommon, to prevent people from changing files in a shared
> dir they shouldn't. If not, show us the output of 'mount'
> concerning the file-system in question.
>
> --
> Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
> mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
> #bofh excuse 193: Did you pay the new Support Fee?

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---



Relevant Pages

  • Re: permission denied - can files be locked in linux?
    ... ]think PHP can lock files, but I didn't know it affected the filesystem... ... And I doubt that you do understand permissions. ... even using the app provided by the hosting company. ...
    (alt.os.linux)
  • Re: write with cURL
    ... offers PHP, if they don't allow PHP to open and write ... Check the permissions on the directory the file is ... such as chmod 0666 test.txt ... their server configuration is, too, though. ...
    (alt.php)
  • Re: write with cURL
    ... offers PHP, if they don't allow PHP to open and write ... Check the permissions on the directory the file is ... such as chmod 0666 test.txt ... their server configuration is, too, though. ...
    (alt.php)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • Re: SQL 2000 Windows Authentication - Same User Multiple Groups
    ... functionality using our WinForm app and read-only functionality using ... SQL Server permissions are not application-aware. ... App1 contains CRUD functionality using stored procs (EXEC perms on ...
    (microsoft.public.sqlserver.security)