LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2004, 05:41 PM   #1
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
Packaging software: permissions?


Ok, so I have just completed an intensive update/re-write of one of my software packages, and I am ready to throw it up on my website. The package contains five files, the app itself, a manpage, an install script, a README and a copy of the Artistic License, under which it is released.

My question is what is the best user:group to chown these files to...the last few versions I just left as they are...owned by my user, with UID 1000. It seems to me that if someone downloads this package and they are not UID 1000 they may have permission problems with the files. Same as if I released it with root owning all the files. I need users to be able to use this from their home directory if they don't have root access to the box they are using...

So, what is the correct/preferred way of chowning files to be released to the public?
Does it even matter? When I download source files they seem to be automattically owned as the user I downloaded them as, is there a certain way to see that this happens?

TIA
 
Old 09-27-2004, 07:48 PM   #2
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
It doesn't matter because when a user downloads (writes the file to their machine) they are the owner. Make the owner of these files whoever owns the directory they are placed in.
 
Old 09-27-2004, 08:13 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764

Original Poster
Blog Entries: 4

Rep: Reputation: 78
That's what I thought. I'll keep on doing what I was doing then. Thanks for the reply.
 
Old 09-27-2004, 11:11 PM   #4
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
You're welcome. I'm pleased I could be of service.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
guidance for packaging software shanenin Programming 3 08-08-2005 03:01 AM
Packaging ArulPrabhuT Linux - Software 1 09-24-2004 07:57 PM
Internet connection progam permissions? any monitoring software? Mad Malc Linux - Security 4 08-08-2004 04:53 PM
Packaging software with RPM shahzadiub Programming 1 04-21-2004 09:31 PM
Packaging Software crichards Programming 2 03-09-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration