Solaris 10 - A User Can Download File but Cannot Upload | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris 10 - A User Can Download File but Cannot Upload

Solaris


Tags
download, solaris 10, upload

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-25-2013
byrusber byrusber is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 4 July 2013, 4:41 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris 10 - A User Can Download File but Cannot Upload

Dear all,

I have made a search on the forum, but couldn't find a related topic about this issue.

* I have created a user on Solaris 10 OS with below command and then set password for the user.
Quote:
useradd -g 0 -u 1001 -d /opt/hattesti/ttupload -m hattesti
* Now i can FTP to OS with this user (hattesti). Although i can download files under related directory; i cannot upload files to it.

Could you please help me to solve this issue?


Quote:
root@Server1 # more /etc/passwd
root:x:0:0:Super-User:/:/bin/bash
daemon:x:1:1::/:
.......
hattesti:x:1001:0::/opt/hattesti/ttupload:/bin/sh
root@Server1 #
Quote:
root@Server1 # more /etc/group
root::0:
other::1:root
....
root@Server1 #


---------- Post updated at 05:22 PM ---------- Previous update was at 05:09 PM ----------

Oh, i have solved my problem by changing related directory's rights.

Before it was like below:
Quote:
root@Server1 # ls -l
drwxr-xr-x 2 root root 512 Mar 25 16:36 ttupload
root@Server1 #
I used below command:
Quote:
root@Server1 # chown -R hattesti:root /opt/hattesti/ttupload
After this:
Quote:
root@Server1 # ls -l
drwxr-xr-x 2 hattesti root 512 Mar 25 16:36 ttupload
root@Server1 #
Now "hattesti" user can make upload.

Last edited by byrusber; 03-25-2013 at 11:28 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Script for Upload/download files using cURL Olivia Shell Programming and Scripting 2 01-02-2011 09:15 PM
Trying to combine upload and download totals from txt file by ip address zanyspydude Shell Programming and Scripting 7 09-07-2010 01:44 AM
Getting upload and download speeds with the help of script?How? hakermania Shell Programming and Scripting 5 03-07-2010 03:45 AM
How to Upload a file by log in to anonymous user kunalpatil09 UNIX for Dummies Questions & Answers 1 02-06-2010 11:51 AM
restrict file download not upload utpalsarkar Linux 2 04-08-2009 12:14 AM



All times are GMT -4. The time now is 12:45 PM.