Page 1 of 1 [ 10 posts ] 

Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 29
Gender: Male
Posts: 777
Location: In the zone

08 Aug 2011, 7:13 pm

Hey.
Smultron asks permission every time before you save.
This is rather annoying.
Every time I want to test something I have to enter the password.
My password is very long.
Is there a way to give it permission so it does not need a password?



Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 73,316
Location: Over there

08 Aug 2011, 7:47 pm

Probably missing something here - but why would a text editor ask for a password before it lets you save a source file?
Maybe a password is requested because of where you're saving it too, like it's permissions-related or summat?


_________________
Giraffe: a ruminant with a view.


Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 29
Gender: Male
Posts: 777
Location: In the zone

09 Aug 2011, 2:51 am

Cornflake wrote:
Probably missing something here - but why would a text editor ask for a password before it lets you save a source file?
Maybe a password is requested because of where you're saving it too, like it's permissions-related or summat?

:Facepalm: Sorry.
I missed out a huge part of what the problem is.
The problem is, the folder im saving to is a protected folder. Even if I set my permissions for it, it doesnt work.



Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 73,316
Location: Over there

09 Aug 2011, 3:53 am

Ah well, that's more understandable. :lol:

Not being a MAC user - does "protected" mean something other than "has different user permissions"?
If it does, then changing directory permissions (*nix style) may not be the right area - I'm thinking of some MAC GUI-related feature thing, but since my total experience with a MAC amounts to a few hours poking about on a MacBook I'll fade into the background now...


_________________
Giraffe: a ruminant with a view.


Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 29
Gender: Male
Posts: 777
Location: In the zone

09 Aug 2011, 6:16 am

Cornflake wrote:
Ah well, that's more understandable. :lol:

Not being a MAC user - does "protected" mean something other than "has different user permissions"?
If it does, then changing directory permissions (*nix style) may not be the right area - I'm thinking of some MAC GUI-related feature thing, but since my total experience with a MAC amounts to a few hours poking about on a MacBook I'll fade into the background now...

Well there is a option to set permissions for your username, which I did.
This is why I want to use KDE on my Mac.
I might give it a shot actually.



Tom_Kakes
Deinonychus
Deinonychus

User avatar

Joined: 15 Jul 2011
Gender: Male
Posts: 342

09 Aug 2011, 8:14 am

Madbones wrote:
Well there is a option to set permissions for your username, which I did.
This is why I want to use KDE on my Mac.
I might give it a shot actually.


KDE on OSX sucks as much as KDE on NT... lmao!

If you want to try it, best to use macports. Its a package manager not unlike apt on debian. It has a GUI called porticus written in cocoa.

Cornflake wrote:
Ah well, that's more understandable. :lol:

Not being a MAC user - does "protected" mean something other than "has different user permissions"?
If it does, then changing directory permissions (*nix style) may not be the right area - I'm thinking of some MAC GUI-related feature thing, but since my total experience with a MAC amounts to a few hours poking about on a MacBook I'll fade into the background now...


In my experience OSX permissions are inherited from its Unix style base system GNU/darwin. So...

Come back! :D



Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 73,316
Location: Over there

09 Aug 2011, 9:10 am

Tom_Kakes wrote:
In my experience OSX permissions are inherited from its Unix style base system GNU/darwin. So...

Come back! :D
*Self.AltTab*

Yeah, I thought that would be the case but I was puzzled that Madbones would try to save files to an inappropriate directory, plain ol' permissions-wise, so thought it might have been a GUI "feature" that coughed up the prompt for a password.

@Madbones - which directory are you trying to save to? Is something under ~/ not good enough? :wink:


_________________
Giraffe: a ruminant with a view.


Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 29
Gender: Male
Posts: 777
Location: In the zone

09 Aug 2011, 9:15 am

Cornflake wrote:
Tom_Kakes wrote:
In my experience OSX permissions are inherited from its Unix style base system GNU/darwin. So...

Come back! :D
*Self.AltTab*

Yeah, I thought that would be the case but I was puzzled that Madbones would try to save files to an inappropriate directory, plain ol' permissions-wise, so thought it might have been a GUI "feature" that coughed up the prompt for a password.

@Madbones - which directory are you trying to save to? Is something under ~/ not good enough? :wink:

Im saving it in the HTDocs folder.
The htdocs folder is somewhere in the library (or some other folder) I think, which explains why I have problems.
I cannot control where XAMPP reads the htdoc folder from. So It needs to stay where it is (Unless I can unlock the no matter what greyed out preferences button.)



Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 73,316
Location: Over there

09 Aug 2011, 9:35 am

Madbones wrote:
The htdocs folder is somewhere in the library (or some other folder) I think, which explains why I have problems.
Heh, yes indeed. That explains much. :lol: Web server root directories are not accessible by just anyone for good reasons!
You'd better restore those permissions you'd changed and use sudo to copy your file from a working directory off ~/ and into htdocs, as required.

Quote:
I cannot control where XAMPP reads the htdoc folder from. So It needs to stay where it is (Unless I can unlock the no matter what greyed out preferences button.)
You could edit httpd.conf (or XAMPP's equivalent) to change this, but it's probably not a good idea to depart from pretty standard directory layouts and permissions.


_________________
Giraffe: a ruminant with a view.


Tom_Kakes
Deinonychus
Deinonychus

User avatar

Joined: 15 Jul 2011
Gender: Male
Posts: 342

09 Aug 2011, 10:01 am

Madbones wrote:
Cornflake wrote:
Tom_Kakes wrote:
In my experience OSX permissions are inherited from its Unix style base system GNU/darwin. So...

Come back! :D
*Self.AltTab*

Yeah, I thought that would be the case but I was puzzled that Madbones would try to save files to an inappropriate directory, plain ol' permissions-wise, so thought it might have been a GUI "feature" that coughed up the prompt for a password.

@Madbones - which directory are you trying to save to? Is something under ~/ not good enough? :wink:

Im saving it in the HTDocs folder.
The htdocs folder is somewhere in the library (or some other folder) I think, which explains why I have problems.
I cannot control where XAMPP reads the htdoc folder from. So It needs to stay where it is (Unless I can unlock the no matter what greyed out preferences button.)


Could you swap the htdocs folder for a symlink?