*NIX File Permissions

General and specific configuration/INI settings

*NIX File Permissions

Postby regenpfeifer » Thu May 19, 2005 12:52 pm

I run windows but web program on *nix. I mapped a few directories with samba but every time I edit them with UltraEdit and save them, it resets the file permissions. I have a script that sets it back but it is annoying to have to edit->save->run script->test (repeat). Is there a way to fix this or is it a bug? Please let me know or fix it. It would make everything a lot easier.

-Jesse
regenpfeifer
 

Re: *NIX File Permissions

Postby roland » Thu May 19, 2005 6:51 pm

You can't get rid of all of the permissions issues, but the following settings in your smb.conf file should make things more bearable:

map archive = no
create mask = 0640
security mask = 0640
directory mask = 0750
User avatar
roland
Basic User
Basic User
 
Posts: 30
Joined: Sun Aug 15, 2004 11:00 pm

Re: *NIX File Permissions

Postby yemarnn » Tue Jan 03, 2006 6:20 pm

I've been experiencing the same thing, in the exact situation. UE will reset file permissions when I'm editing files via Samba on my Unix server in Windows.

I think this is because it will edit your temporary file (not the file itself), then when you save your changes, it copies the temp file to replace your real file, eliminating your old file permissions and essentially creating a new file.

However, if you turn of UE using a temporary file, then you still cannot execute a perl script (for example) in your web browser, because it is locked by UE and, therefore, busy. I can't find a way to turn off file locking for reading by other applications (the web browser) when it's open for writing in UE.

I am curious, did you ever receive an e-mail back from support, or solve the problem? I'd like to know if you did!
User avatar
yemarnn
Newbie
 
Posts: 1
Joined: Tue Jan 03, 2006 12:00 am

Re: *NIX File Permissions

Postby eric2 » Fri Sep 08, 2006 1:09 pm

Has this ever been solved? It's definitively a deal-breaker.
User avatar
eric2
Newbie
 
Posts: 2
Joined: Thu Sep 07, 2006 11:00 pm

Re: *NIX File Permissions

Postby Mofi » Fri Sep 08, 2006 2:33 pm

According to the help the option Copy file instead of using rename when creating backup file at Configuration - File Handling - Advanced could be helpful. Don't know if it is really helpful in your situation.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: *NIX File Permissions

Postby eric2 » Fri Sep 08, 2006 2:44 pm

Mofi wrote:According to the help the option Copy file instead of using rename when creating backup file at Configuration - File Handling - Advanced could be helpful. Don't know if it is really helpful in your situation.

Yes, that fixed it.

Thank you.
User avatar
eric2
Newbie
 
Posts: 2
Joined: Thu Sep 07, 2006 11:00 pm


Return to Configuration/INI Settings