Solaris 10 - A User Can Download File but Cannot Upload


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 - A User Can Download File but Cannot Upload
# 1  
Old 03-25-2013
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 #
Image

---------- 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 12:28 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl , download file with user:pass in bash script

Hello, My question is about curl command. (ubuntu14.04) In terminal, I am able to download my mainfile with: curl -u user1:pass1 http://11.22.33.44/******* When I convert it into bash script like this: #!/bin/bash cd /root/scripts computer_ip=11.22.33.44 curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 Replies

2. UNIX for Dummies Questions & Answers

Retrieve/download SSH key instead of Send/Upload?

Hi, is it possible to download/retrieve a public SSH key when you are logged in to the remote machine rather than sending the key, for example with ssh-copy-id from your local machine to the remote machine? I can only ssh into one direction (from the remote machine into the local machine),... (5 Replies)
Discussion started by: gczychi
5 Replies

3. Solaris

Looking for X.25 Download (Solaris 8)

Hello Forum Folks, I'm hoping to find a trustworthy download of a (Solstice?) X.25 package suitable for Solaris 8. I've been searching the Internet for many weeks (I am subscribed to "UNIX Packages", previously 'sunfreeware' and could not find anything). Would anyone know or have this... (3 Replies)
Discussion started by: ssid61
3 Replies

4. Shell Programming and Scripting

Shell Script for Upload/download files using cURL

hi please help me out here, i want to use curl command in shell script to test web pages, what i have is an opening page, when i click on a button on opening page, the next page comes up and then i have to upload a file n then click another button to submit and then comes the output page,... (2 Replies)
Discussion started by: Olivia
2 Replies

5. Shell Programming and Scripting

Trying to combine upload and download totals from txt file by ip address

I have two files, uploads.txt and downloads.txt. I would like to combine the columns of these files based on the ip address. How can I best do this? Uploads.txt 192.168.0.147 1565369 192.168.0.13 1664855 192.168.0.6 1332868 Downloads.txt 192.168.0.147 9838820 192.168.0.18 12051718... (7 Replies)
Discussion started by: zanyspydude
7 Replies

6. Shell Programming and Scripting

Getting upload and download speeds with the help of script?How?

How can I get the upload and download speed of my pc, provided that my interface is wlan0? I have though something like: #!/bin/sh ups=something downs=somethingelse echo " Your current up speed is $ups Your current down speed is $downs, but I have no idea how to get them?Are... (5 Replies)
Discussion started by: hakermania
5 Replies

7. UNIX for Dummies Questions & Answers

How to Upload a file by log in to anonymous user

Hi everybody,I am facing some problem with ftp server configuration.When I log in by anonymous user, it get logged in but when i want to upload a file in pub directory its showing some error like --- could not create a file ---,Can anybody pls tell me what changes I need to do in vsftpd.conf... (1 Reply)
Discussion started by: kunalpatil09
1 Replies

8. Linux

restrict file download not upload

hi everybody, How cud i stop downloading files from FTP and allow uploading files in FTP. Thanks & reg, (2 Replies)
Discussion started by: utpalsarkar
2 Replies

9. UNIX for Dummies Questions & Answers

How can I download in Solaris?

I'm just trying to get SSH setup on Solaris and I want to download it. For some reason, if I ever goto a site and try to download something, it doesn't work. When I click on the download link it just goes to a blank page and sits there. Can anyone help a Solaris newb out? Thanks. (1 Reply)
Discussion started by: AMDPwred
1 Replies

10. UNIX for Dummies Questions & Answers

Solaris 8 download

Hey doe's anyone know of a direct link to download Solaris 8 for an Intel system? I've been looking all over the Sun site and others and i cant find were to download it, if i click on something like Solaris 8 binaries in the downloads page it just tells me about Solaris. Please help. Thanx (4 Replies)
Discussion started by: Gavan
4 Replies
Login or Register to Ask a Question